1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>com.threerings.getdown</groupId>
6 <artifactId>getdown</artifactId>
7 <version>1.8.3-1.2.14_FJVL</version>
10 <artifactId>getdown-launcher</artifactId>
11 <packaging>jar</packaging>
12 <name>Getdown Launcher</name>
13 <description>The Getdown app updater/launcher</description>
18 <url>file://${basedir}/../lib</url>
24 <groupId>com.threerings.getdown</groupId>
25 <artifactId>getdown-core</artifactId>
26 <version>${project.version}</version>
29 <groupId>com.samskivert</groupId>
30 <artifactId>samskivert</artifactId>
31 <version>1.2</version>
34 <groupId>jregistrykey</groupId>
35 <artifactId>jregistrykey</artifactId>
36 <version>1.0</version>
37 <optional>true</optional>
45 <groupId>com.github.wvengen</groupId>
46 <artifactId>proguard-maven-plugin</artifactId>
47 <version>2.0.14</version>
50 <phase>package</phase>
58 <groupId>net.sf.proguard</groupId>
59 <artifactId>proguard-base</artifactId>
60 <version>6.0.3</version>
61 <scope>runtime</scope>
65 <proguardVersion>6.0.3</proguardVersion>
66 <outputDirectory>${project.build.directory}</outputDirectory>
67 <outjar>${project.build.finalName}.jar</outjar>
68 <injar>${project.build.finalName}.jar</injar>
72 <groupId>com.threerings.getdown</groupId>
73 <artifactId>getdown-core</artifactId>
76 <groupId>com.samskivert</groupId>
77 <artifactId>samskivert</artifactId>
80 !**/swing/RuntimeAdjust*,
81 !**/swing/util/ButtonUtil*,
82 !**/util/CalendarUtil*,
84 !**/util/Log4JLogger*,
85 !**/util/PrefsConfig*,
87 com/samskivert/Log.class,
89 **/samskivert/swing/**,
90 **/samskivert/text/**,
95 <groupId>jregistrykey</groupId>
96 <artifactId>jregistrykey</artifactId>
100 <obfuscate>true</obfuscate>
102 <option>-keep public class com.threerings.getdown.** { *; }</option>
103 <option>-keep public class ca.beq.util.win32.registry.** { *; }</option>
104 <option>-keepattributes Exceptions, InnerClasses, Signature</option>
107 <lib>${rt.jar.path}</lib>
109 <addMavenDescriptor>false</addMavenDescriptor>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-jar-plugin</artifactId>
116 <version>3.1.0</version>
120 <mainClass>com.threerings.getdown.launcher.GetdownApp</mainClass>
121 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
124 <Permissions>all-permissions</Permissions>
125 <Application-Name>Getdown</Application-Name>
126 <Codebase>*</Codebase>
127 <Application-Library-Allowable-Codebase>*</Application-Library-Allowable-Codebase>
128 <Caller-Allowable-Codebase>*</Caller-Allowable-Codebase>
129 <Trusted-Library>true</Trusted-Library>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-shade-plugin</artifactId>
138 <version>3.2.1</version>
140 <!-- put your configurations here -->
144 <phase>package</phase>
150 <minimizeJar>true</minimizeJar>
153 <artifact>install4j-runtime</artifact>
155 <include>**</include>
172 <!-- finagling to find rt.jar -->
176 <file><exists>${java.home}/../lib/rt.jar</exists></file>
179 <rt.jar.path>${java.home}/../lib/rt.jar</rt.jar.path>
185 <file><exists>${java.home}/lib/rt.jar</exists></file>
188 <rt.jar.path>${java.home}/lib/rt.jar</rt.jar.path>
194 <file><exists>${java.home}/jmods/java.base.jmod</exists></file>
199 <groupId>com.github.wvengen</groupId>
200 <artifactId>proguard-maven-plugin</artifactId>
203 <lib>${java.home}/jmods/java.base.jmod</lib>
204 <lib>${java.home}/jmods/java.desktop.jmod</lib>
205 <lib>${java.home}/jmods/java.logging.jmod</lib>
206 <lib>${java.home}/jmods/jdk.jsobject.jmod</lib>