|
71 | 71 | <remoteBase>${snakeRemote}</remoteBase>
|
72 | 72 | <mainClass>uk.co.bithatch.snake.app.linux/uk.co.bithatch.snake.app.linux.App</mainClass>
|
73 | 73 | <remotesFromOriginalSource>false</remotesFromOriginalSource>
|
| 74 | + <splash>${basedir}/src/main/images/splash.png</splash> |
74 | 75 | <image>true</image>
|
75 | 76 | <vmArgs>
|
76 | 77 | <vmArg>-Xmx64m</vmArg>
|
|
82 | 83 | <forkerArg>jvmarg -Djava.system.class.loader=uk.co.bithatch.snake.ui.DynamicClassLoader</forkerArg>
|
83 | 84 | <forkerArg>restart-on 90</forkerArg>
|
84 | 85 | <forkerArg>single-instance-per-user</forkerArg>
|
| 86 | + <forkerArg>run-on-install</forkerArg> |
85 | 87 | <forkerArg>install-location ${installer.home}/snake-razer</forkerArg>
|
86 | 88 | <forkerArg>jvmarg --add-modules</forkerArg>
|
87 | 89 | <forkerArg>jvmarg themes.awhitelight,themes.agreenfuture,themes.aredsky,themes.abluelife,themes.ayellowdwarf,themes.anorangetwist,themes.apinkburst,themes.apurplehaze</forkerArg>
|
|
114 | 116 | <bootstrapArtifacts>
|
115 | 117 | <bootstrapArtifact>snake-updater</bootstrapArtifact>
|
116 | 118 | </bootstrapArtifacts>
|
117 |
| - <classpathArtifacts> |
118 |
| - <classpathArtifact>asm</classpathArtifact> |
119 |
| - </classpathArtifacts> |
120 | 119 | <automaticArtifacts>
|
| 120 | + <automaticArtifact>asm</automaticArtifact> |
121 | 121 | <automaticArtifact>java-utils</automaticArtifact>
|
122 | 122 | <automaticArtifact>svgSalamander</automaticArtifact>
|
| 123 | + <automaticArtifact>kotlin-stdlib</automaticArtifact> |
| 124 | + <automaticArtifact>kotlin-stdlib-common</automaticArtifact> |
| 125 | + <automaticArtifact>jffi</automaticArtifact> |
| 126 | + <automaticArtifact>jnr-a64asm</automaticArtifact> |
| 127 | + <automaticArtifact>jnr-x86asm</automaticArtifact> |
| 128 | + <automaticArtifact>annotations</automaticArtifact> |
| 129 | + <automaticArtifact>kotlinx-coroutines-core-jvm</automaticArtifact> |
| 130 | + <automaticArtifact>kotlin-logging-jvm</automaticArtifact> |
| 131 | + <automaticArtifact>javassist</automaticArtifact> |
123 | 132 | </automaticArtifacts>
|
124 | 133 | <systemModules>
|
125 | 134 | <systemModule>java.prefs</systemModule>
|
|
129 | 138 | <systemModule>jdk.zipfs</systemModule>
|
130 | 139 |
|
131 | 140 | <systemModule>java.instrument</systemModule>
|
132 |
| - <systemModule>java.management</systemModule> |
133 |
| - <systemModule>jdk.attach</systemModule> |
134 |
| - <systemModule>jdk.management.agent</systemModule> |
135 | 141 | <systemModule>jdk.xml.dom</systemModule>
|
136 | 142 | <systemModule>jdk.jsobject</systemModule>
|
137 | 143 | <systemModule>java.net.http</systemModule>
|
138 | 144 | <systemModule>java.scripting</systemModule>
|
| 145 | + <systemModule>jdk.management.agent</systemModule> |
| 146 | + <systemModule>java.management</systemModule> |
139 | 147 |
|
140 | 148 | <!-- TODO separate this in forker? -->
|
141 | 149 | <systemModule>java.desktop</systemModule>
|
142 | 150 |
|
143 |
| - <!-- TODO separate this in forker? --> |
144 |
| - <systemModule>java.management</systemModule> |
145 |
| - |
146 | 151 | <!-- TODO Because of Gson, consider finding a library that doesnt
|
147 | 152 | link to SQL -->
|
148 | 153 | <systemModule>java.sql</systemModule>
|
|
164 | 169 | <mainClass>uk.co.bithatch.snake.app.linux/uk.co.bithatch.snake.app.linux.App</mainClass>
|
165 | 170 | <remotesFromOriginalSource>false</remotesFromOriginalSource>
|
166 | 171 | <imageDirectory>${project.build.directory}/image-noruntime</imageDirectory>
|
| 172 | + <splash>${basedir}/src/main/images/splash.png</splash> |
167 | 173 | <image>true</image>
|
168 | 174 | <link>false</link>
|
169 | 175 | <vmArgs>
|
|
175 | 181 | <forkerArg>jvmarg -Dforker.betaChannel=${snakeRemoteNoRuntimeSnapshot}</forkerArg>
|
176 | 182 | <forkerArg>jvmarg -Djava.system.class.loader=uk.co.bithatch.snake.ui.DynamicClassLoader</forkerArg>
|
177 | 183 | <forkerArg>restart-on 90</forkerArg>
|
| 184 | + <forkerArg>run-on-install</forkerArg> |
178 | 185 | <forkerArg>single-instance-per-user</forkerArg>
|
179 | 186 | <forkerArg>install-location ${installer.home}/snake-razer</forkerArg>
|
180 | 187 | <forkerArg>jvmarg --add-modules</forkerArg>
|
|
208 | 215 | <bootstrapArtifacts>
|
209 | 216 | <bootstrapArtifact>snake-updater</bootstrapArtifact>
|
210 | 217 | </bootstrapArtifacts>
|
211 |
| - <classpathArtifacts> |
212 |
| - <classpathArtifact>asm</classpathArtifact> |
213 |
| - </classpathArtifacts> |
214 | 218 | <automaticArtifacts>
|
| 219 | + <automaticArtifact>asm</automaticArtifact> |
215 | 220 | <automaticArtifact>java-utils</automaticArtifact>
|
216 | 221 | <automaticArtifact>svgSalamander</automaticArtifact>
|
| 222 | + <automaticArtifact>kotlin-stdlib</automaticArtifact> |
| 223 | + <automaticArtifact>kotlin-stdlib-common</automaticArtifact> |
| 224 | + <automaticArtifact>jffi</automaticArtifact> |
| 225 | + <automaticArtifact>jnr-a64asm</automaticArtifact> |
| 226 | + <automaticArtifact>jnr-x86asm</automaticArtifact> |
| 227 | + <automaticArtifact>annotations</automaticArtifact> |
| 228 | + <automaticArtifact>kotlinx-coroutines-core-jvm</automaticArtifact> |
| 229 | + <automaticArtifact>kotlin-logging-jvm</automaticArtifact> |
| 230 | + <automaticArtifact>javassist</automaticArtifact> |
217 | 231 | </automaticArtifacts>
|
218 | 232 | <systemModules>
|
219 | 233 | <systemModule>java.prefs</systemModule>
|
|
223 | 237 |
|
224 | 238 | <systemModule>java.instrument</systemModule>
|
225 | 239 | <systemModule>java.management</systemModule>
|
226 |
| - <systemModule>jdk.attach</systemModule> |
227 |
| - <systemModule>jdk.management.agent</systemModule> |
228 | 240 | <systemModule>jdk.xml.dom</systemModule>
|
229 | 241 | <systemModule>jdk.jsobject</systemModule>
|
230 | 242 | <systemModule>java.net.http</systemModule>
|
231 | 243 | <systemModule>java.scripting</systemModule>
|
| 244 | + <systemModule>jdk.management.agent</systemModule> |
232 | 245 |
|
233 | 246 | <!-- TODO separate this in forker? -->
|
234 | 247 | <systemModule>java.desktop</systemModule>
|
235 | 248 |
|
236 |
| - <!-- TODO separate this in forker? --> |
237 |
| - <systemModule>java.management</systemModule> |
238 |
| - |
239 | 249 | <!-- TODO Because of Gson, consider finding a library that doesnt
|
240 | 250 | link to SQL -->
|
241 | 251 | <systemModule>java.sql</systemModule>
|
|
787 | 797 | <build>
|
788 | 798 | <finalName>snake</finalName>
|
789 | 799 | <plugins>
|
| 800 | + <plugin> |
| 801 | + <groupId>org.codehaus.mojo</groupId> |
| 802 | + <artifactId>buildnumber-maven-plugin</artifactId> |
| 803 | + <executions> |
| 804 | + <execution> |
| 805 | + <id>buildnumber</id> |
| 806 | + <phase>prepare-package</phase> |
| 807 | + <goals> |
| 808 | + <goal>create</goal> |
| 809 | + </goals> |
| 810 | + </execution> |
| 811 | + </executions> |
| 812 | + <configuration> |
| 813 | + <skip>false</skip> |
| 814 | + <getRevisionOnlyOnce>true</getRevisionOnlyOnce> |
| 815 | + <format>{0,number}</format> |
| 816 | + <items> |
| 817 | + <item>buildNumber</item> |
| 818 | + </items> |
| 819 | + <doCheck>false</doCheck> |
| 820 | + <doUpdate>false</doUpdate> |
| 821 | + <revisionOnScmFailure>unknownbuild</revisionOnScmFailure> |
| 822 | + </configuration> |
| 823 | + </plugin> |
790 | 824 | <plugin>
|
791 | 825 | <groupId>org.apache.maven.plugins</groupId>
|
792 | 826 | <artifactId>maven-deploy-plugin</artifactId>
|
|
0 commit comments