Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / forge-mtg / no-launch4j.patch
blob7e9d9f4790a0e8a76f3a1721b3da907816ecfa07
1 diff --git a/forge-adventure/pom.xml b/forge-adventure/pom.xml
2 index b35356ea76..b7ab1c775b 100644
3 --- a/forge-adventure/pom.xml
4 +++ b/forge-adventure/pom.xml
5 @@ -47,131 +47,6 @@
6 </configuration>
7 </plugin>
9 - <plugin>
10 - <groupId>com.akathist.maven.plugins.launch4j</groupId>
11 - <artifactId>launch4j-maven-plugin</artifactId>
12 - <version>1.7.25</version>
13 - <executions>
14 - <execution>
15 - <id>l4j-adv</id>
16 - <phase>package</phase>
17 - <goals>
18 - <goal>launch4j</goal>
19 - </goals>
20 - <configuration>
21 - <headerType>gui</headerType>
22 - <outfile>${project.build.directory}/forge-adventure-editor-java8.exe</outfile>
23 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
24 - <dontWrapJar>true</dontWrapJar>
25 - <errTitle>forge</errTitle>
26 - <icon>src/main/config/forge-adventure-editor.ico</icon>
27 - <classPath>
28 - <mainClass>forge.adventure.Main</mainClass>
29 - <addDependencies>false</addDependencies>
30 - <preCp>anything</preCp>
31 - </classPath>
32 - <jre>
33 - <minVersion>1.8.0</minVersion>
34 - <maxHeapSize>4096</maxHeapSize>
35 - <opts>
36 - <opt>-Dfile.encoding=UTF-8</opt>
37 - </opts>
38 - </jre>
39 - <versionInfo>
40 - <fileVersion>
41 - 1.0.0.0
42 - </fileVersion>
43 - <txtFileVersion>
44 - 1.0.0.0
45 - </txtFileVersion>
46 - <fileDescription>Forge</fileDescription>
47 - <copyright>Forge</copyright>
48 - <productVersion>
49 - 1.0.0.0
50 - </productVersion>
51 - <txtProductVersion>
52 - 1.0.0.0
53 - </txtProductVersion>
54 - <productName>forge-adventure-editor</productName>
55 - <internalName>forge-adventure-editor</internalName>
56 - <originalFilename>forge-adventure-editor-java8.exe</originalFilename>
57 - </versionInfo>
58 - </configuration>
59 - </execution>
60 - <!--extra-->
61 - <execution>
62 - <id>l4j-adv2</id>
63 - <phase>package</phase>
64 - <goals>
65 - <goal>launch4j</goal>
66 - </goals>
67 - <configuration>
68 - <headerType>gui</headerType>
69 - <outfile>${project.build.directory}/forge-adventure-editor.exe</outfile>
70 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
71 - <dontWrapJar>true</dontWrapJar>
72 - <errTitle>forge</errTitle>
73 - <downloadUrl>https://www.oracle.com/java/technologies/downloads/</downloadUrl>
74 - <icon>src/main/config/forge-adventure-editor.ico</icon>
75 - <classPath>
76 - <mainClass>forge.adventure.Main</mainClass>
77 - <addDependencies>false</addDependencies>
78 - <preCp>anything</preCp>
79 - </classPath>
80 - <jre>
81 - <minVersion>11.0.1</minVersion>
82 - <jdkPreference>jdkOnly</jdkPreference>
83 - <maxHeapSize>4096</maxHeapSize>
84 - <opts>
85 - <opt>-Dfile.encoding=UTF-8</opt>
86 - <opt>--add-opens java.base/java.lang=ALL-UNNAMED</opt>
87 - <opt>--add-opens java.base/java.math=ALL-UNNAMED</opt>
88 - <opt>--add-opens java.base/jdk.internal.misc=ALL-UNNAMED</opt>
89 - <opt>--add-opens java.base/java.nio=ALL-UNNAMED</opt>
90 - <opt>--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</opt>
91 - <opt>--add-opens java.base/java.util=ALL-UNNAMED</opt>
92 - <opt>--add-opens java.base/java.lang.reflect=ALL-UNNAMED</opt>
93 - <opt>--add-opens java.base/java.text=ALL-UNNAMED</opt>
94 - <opt>--add-opens java.desktop/java.awt=ALL-UNNAMED</opt>
95 - <opt>--add-opens java.desktop/java.awt.font=ALL-UNNAMED</opt>
96 - <opt>--add-opens java.desktop/java.awt.image=ALL-UNNAMED</opt>
97 - <opt>--add-opens java.desktop/java.awt.color=ALL-UNNAMED</opt>
98 - <opt>--add-opens java.desktop/sun.awt.image=ALL-UNNAMED</opt>
99 - <opt>--add-opens java.desktop/javax.swing=ALL-UNNAMED</opt>
100 - <opt>--add-opens java.desktop/javax.swing.border=ALL-UNNAMED</opt>
101 - <opt>--add-opens java.desktop/javax.swing.event=ALL-UNNAMED</opt>
102 - <opt>--add-opens java.desktop/sun.swing=ALL-UNNAMED</opt>
103 - <opt>--add-opens java.desktop/java.beans=ALL-UNNAMED</opt>
104 - <opt>--add-opens java.base/java.util.concurrent=ALL-UNNAMED</opt>
105 - <opt>--add-opens java.base/java.net=ALL-UNNAMED</opt>
106 - <opt>-Dio.netty.tryReflectionSetAccessible=true</opt>
107 - </opts>
108 - </jre>
109 - <versionInfo>
110 - <fileVersion>
111 - 1.0.0.0
112 - </fileVersion>
113 - <txtFileVersion>
114 - 1.0.0.0
115 - </txtFileVersion>
116 - <fileDescription>Forge</fileDescription>
117 - <copyright>Forge</copyright>
118 - <productVersion>
119 - 1.0.0.0
120 - </productVersion>
121 - <txtProductVersion>
122 - 1.0.0.0
123 - </txtProductVersion>
124 - <productName>forge-adventure-editor</productName>
125 - <internalName>forge-adventure-editor</internalName>
126 - <originalFilename>forge-adventure-editor.exe</originalFilename>
127 - </versionInfo>
128 - </configuration>
129 - </execution>
130 - <!--extra-->
131 - </executions>
132 - </plugin>
134 <plugin>
135 <groupId>com.google.code.maven-replacer-plugin</groupId>
136 <artifactId>replacer</artifactId>
137 diff --git a/forge-gui-desktop/pom.xml b/forge-gui-desktop/pom.xml
138 index 3b74663b04..f0e324b69c 100644
139 --- a/forge-gui-desktop/pom.xml
140 +++ b/forge-gui-desktop/pom.xml
141 @@ -282,59 +282,6 @@
142 <id>windows-linux-release</id>
143 <build>
144 <plugins>
145 - <plugin>
146 - <groupId>com.akathist.maven.plugins.launch4j</groupId>
147 - <artifactId>launch4j-maven-plugin</artifactId>
148 - <version>2.1.2</version>
149 - <executions>
150 - <execution>
151 - <id>l4j-gui</id>
152 - <phase>package</phase>
153 - <goals>
154 - <goal>launch4j</goal>
155 - </goals>
156 - <configuration>
157 - <headerType>gui</headerType>
158 - <outfile>${project.build.directory}/forge-java8.exe</outfile>
159 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
160 - <dontWrapJar>true</dontWrapJar>
161 - <errTitle>forge</errTitle>
162 - <icon>src/main/config/forge.ico</icon>
163 - <classPath>
164 - <mainClass>forge.view.Main</mainClass>
165 - <addDependencies>false</addDependencies>
166 - <preCp>anything</preCp>
167 - </classPath>
168 - <jre>
169 - <minVersion>1.8.0</minVersion>
170 - <maxHeapSize>4096</maxHeapSize>
171 - <opts>
172 - <opt>-Dfile.encoding=UTF-8</opt>
173 - </opts>
174 - </jre>
175 - <versionInfo>
176 - <fileVersion>
177 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
178 - </fileVersion>
179 - <txtFileVersion>
180 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
181 - </txtFileVersion>
182 - <fileDescription>Forge</fileDescription>
183 - <copyright>Forge</copyright>
184 - <productVersion>
185 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
186 - </productVersion>
187 - <txtProductVersion>
188 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
189 - </txtProductVersion>
190 - <productName>Forge</productName>
191 - <internalName>forge</internalName>
192 - <originalFilename>forge-java8.exe</originalFilename>
193 - </versionInfo>
194 - </configuration>
195 - </execution>
196 - </executions>
197 - </plugin>
199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 @@ -447,130 +394,6 @@
202 <id>windows-linux</id>
203 <build>
204 <plugins>
205 - <plugin>
206 - <groupId>com.akathist.maven.plugins.launch4j</groupId>
207 - <artifactId>launch4j-maven-plugin</artifactId>
208 - <version>2.1.2</version>
209 - <executions>
210 - <execution>
211 - <id>l4j-gui</id>
212 - <phase>package</phase>
213 - <goals>
214 - <goal>launch4j</goal>
215 - </goals>
216 - <configuration>
217 - <headerType>gui</headerType>
218 - <outfile>${project.build.directory}/forge-java8.exe</outfile>
219 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
220 - <dontWrapJar>true</dontWrapJar>
221 - <errTitle>forge</errTitle>
222 - <icon>src/main/config/forge.ico</icon>
223 - <classPath>
224 - <mainClass>forge.view.Main</mainClass>
225 - <addDependencies>false</addDependencies>
226 - <preCp>anything</preCp>
227 - </classPath>
228 - <jre>
229 - <minVersion>1.8.0</minVersion>
230 - <maxHeapSize>4096</maxHeapSize>
231 - <opts>
232 - <opt>-Dfile.encoding=UTF-8</opt>
233 - </opts>
234 - </jre>
235 - <versionInfo>
236 - <fileVersion>
237 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
238 - </fileVersion>
239 - <txtFileVersion>
240 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
241 - </txtFileVersion>
242 - <fileDescription>Forge</fileDescription>
243 - <copyright>Forge</copyright>
244 - <productVersion>
245 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
246 - </productVersion>
247 - <txtProductVersion>
248 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
249 - </txtProductVersion>
250 - <productName>Forge</productName>
251 - <internalName>forge</internalName>
252 - <originalFilename>forge-java8.exe</originalFilename>
253 - </versionInfo>
254 - </configuration>
255 - </execution>
256 - <!--extra-->
257 - <execution>
258 - <id>l4j-gui2</id>
259 - <phase>package</phase>
260 - <goals>
261 - <goal>launch4j</goal>
262 - </goals>
263 - <configuration>
264 - <headerType>gui</headerType>
265 - <outfile>${project.build.directory}/forge.exe</outfile>
266 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
267 - <dontWrapJar>true</dontWrapJar>
268 - <errTitle>forge</errTitle>
269 - <downloadUrl>https://www.oracle.com/java/technologies/downloads/</downloadUrl>
270 - <icon>src/main/config/forge.ico</icon>
271 - <classPath>
272 - <mainClass>forge.view.Main</mainClass>
273 - <addDependencies>false</addDependencies>
274 - <preCp>anything</preCp>
275 - </classPath>
276 - <jre>
277 - <minVersion>11.0.1</minVersion>
278 - <jdkPreference>jdkOnly</jdkPreference>
279 - <maxHeapSize>4096</maxHeapSize>
280 - <opts>
281 - <opt>-Dfile.encoding=UTF-8</opt>
282 - <opt>--add-opens java.base/java.lang=ALL-UNNAMED</opt>
283 - <opt>--add-opens java.base/java.math=ALL-UNNAMED</opt>
284 - <opt>--add-opens java.base/jdk.internal.misc=ALL-UNNAMED</opt>
285 - <opt>--add-opens java.base/java.nio=ALL-UNNAMED</opt>
286 - <opt>--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</opt>
287 - <opt>--add-opens java.base/java.util=ALL-UNNAMED</opt>
288 - <opt>--add-opens java.base/java.lang.reflect=ALL-UNNAMED</opt>
289 - <opt>--add-opens java.base/java.text=ALL-UNNAMED</opt>
290 - <opt>--add-opens java.desktop/java.awt=ALL-UNNAMED</opt>
291 - <opt>--add-opens java.desktop/java.awt.font=ALL-UNNAMED</opt>
292 - <opt>--add-opens java.desktop/java.awt.image=ALL-UNNAMED</opt>
293 - <opt>--add-opens java.desktop/java.awt.color=ALL-UNNAMED</opt>
294 - <opt>--add-opens java.desktop/sun.awt.image=ALL-UNNAMED</opt>
295 - <opt>--add-opens java.desktop/javax.swing=ALL-UNNAMED</opt>
296 - <opt>--add-opens java.desktop/javax.swing.border=ALL-UNNAMED</opt>
297 - <opt>--add-opens java.desktop/javax.swing.event=ALL-UNNAMED</opt>
298 - <opt>--add-opens java.desktop/sun.swing=ALL-UNNAMED</opt>
299 - <opt>--add-opens java.desktop/java.beans=ALL-UNNAMED</opt>
300 - <opt>--add-opens java.base/java.util.concurrent=ALL-UNNAMED</opt>
301 - <opt>--add-opens java.base/java.net=ALL-UNNAMED</opt>
302 - <opt>-Dio.netty.tryReflectionSetAccessible=true</opt>
303 - </opts>
304 - </jre>
305 - <versionInfo>
306 - <fileVersion>
307 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
308 - </fileVersion>
309 - <txtFileVersion>
310 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
311 - </txtFileVersion>
312 - <fileDescription>Forge</fileDescription>
313 - <copyright>Forge</copyright>
314 - <productVersion>
315 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
316 - </productVersion>
317 - <txtProductVersion>
318 - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0
319 - </txtProductVersion>
320 - <productName>Forge</productName>
321 - <internalName>forge</internalName>
322 - <originalFilename>forge.exe</originalFilename>
323 - </versionInfo>
324 - </configuration>
325 - </execution>
326 - <!--extra-->
327 - </executions>
328 - </plugin>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 diff --git a/forge-gui-mobile-dev/pom.xml b/forge-gui-mobile-dev/pom.xml
333 index e7439c1e3a..de0cbc16a1 100644
334 --- a/forge-gui-mobile-dev/pom.xml
335 +++ b/forge-gui-mobile-dev/pom.xml
336 @@ -64,130 +64,6 @@
337 </replacements>
338 </configuration>
339 </plugin>
340 - <plugin>
341 - <groupId>com.akathist.maven.plugins.launch4j</groupId>
342 - <artifactId>launch4j-maven-plugin</artifactId>
343 - <version>1.7.25</version>
344 - <executions>
345 - <execution>
346 - <id>l4j-adv</id>
347 - <phase>package</phase>
348 - <goals>
349 - <goal>launch4j</goal>
350 - </goals>
351 - <configuration>
352 - <headerType>gui</headerType>
353 - <outfile>${project.build.directory}/forge-adventure-java8.exe</outfile>
354 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
355 - <dontWrapJar>true</dontWrapJar>
356 - <errTitle>forge</errTitle>
357 - <icon>src/main/config/forge-adventure.ico</icon>
358 - <classPath>
359 - <mainClass>forge.app.Main</mainClass>
360 - <addDependencies>false</addDependencies>
361 - <preCp>anything</preCp>
362 - </classPath>
363 - <jre>
364 - <minVersion>1.8.0</minVersion>
365 - <maxHeapSize>4096</maxHeapSize>
366 - <opts>
367 - <opt>-Dfile.encoding=UTF-8</opt>
368 - </opts>
369 - </jre>
370 - <versionInfo>
371 - <fileVersion>
372 - 1.0.0.0
373 - </fileVersion>
374 - <txtFileVersion>
375 - 1.0.0.0
376 - </txtFileVersion>
377 - <fileDescription>Forge</fileDescription>
378 - <copyright>Forge</copyright>
379 - <productVersion>
380 - 1.0.0.0
381 - </productVersion>
382 - <txtProductVersion>
383 - 1.0.0.0
384 - </txtProductVersion>
385 - <productName>forge-adventure</productName>
386 - <internalName>forge-adventure</internalName>
387 - <originalFilename>forge-adventure-java8.exe</originalFilename>
388 - </versionInfo>
389 - </configuration>
390 - </execution>
391 - <!--extra-->
392 - <execution>
393 - <id>l4j-adv2</id>
394 - <phase>package</phase>
395 - <goals>
396 - <goal>launch4j</goal>
397 - </goals>
398 - <configuration>
399 - <headerType>gui</headerType>
400 - <outfile>${project.build.directory}/forge-adventure.exe</outfile>
401 - <jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
402 - <dontWrapJar>true</dontWrapJar>
403 - <errTitle>forge</errTitle>
404 - <downloadUrl>https://www.oracle.com/java/technologies/downloads/</downloadUrl>
405 - <icon>src/main/config/forge-adventure.ico</icon>
406 - <classPath>
407 - <mainClass>forge.app.Main</mainClass>
408 - <addDependencies>false</addDependencies>
409 - <preCp>anything</preCp>
410 - </classPath>
411 - <jre>
412 - <minVersion>11.0.1</minVersion>
413 - <jdkPreference>jdkOnly</jdkPreference>
414 - <maxHeapSize>4096</maxHeapSize>
415 - <opts>
416 - <opt>-Dfile.encoding=UTF-8</opt>
417 - <opt>--add-opens java.base/java.lang=ALL-UNNAMED</opt>
418 - <opt>--add-opens java.base/java.math=ALL-UNNAMED</opt>
419 - <opt>--add-opens java.base/jdk.internal.misc=ALL-UNNAMED</opt>
420 - <opt>--add-opens java.base/java.nio=ALL-UNNAMED</opt>
421 - <opt>--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</opt>
422 - <opt>--add-opens java.base/java.util=ALL-UNNAMED</opt>
423 - <opt>--add-opens java.base/java.lang.reflect=ALL-UNNAMED</opt>
424 - <opt>--add-opens java.base/java.text=ALL-UNNAMED</opt>
425 - <opt>--add-opens java.desktop/java.awt=ALL-UNNAMED</opt>
426 - <opt>--add-opens java.desktop/java.awt.font=ALL-UNNAMED</opt>
427 - <opt>--add-opens java.desktop/java.awt.image=ALL-UNNAMED</opt>
428 - <opt>--add-opens java.desktop/java.awt.color=ALL-UNNAMED</opt>
429 - <opt>--add-opens java.desktop/sun.awt.image=ALL-UNNAMED</opt>
430 - <opt>--add-opens java.desktop/javax.swing=ALL-UNNAMED</opt>
431 - <opt>--add-opens java.desktop/javax.swing.border=ALL-UNNAMED</opt>
432 - <opt>--add-opens java.desktop/javax.swing.event=ALL-UNNAMED</opt>
433 - <opt>--add-opens java.desktop/sun.swing=ALL-UNNAMED</opt>
434 - <opt>--add-opens java.desktop/java.beans=ALL-UNNAMED</opt>
435 - <opt>--add-opens java.base/java.util.concurrent=ALL-UNNAMED</opt>
436 - <opt>--add-opens java.base/java.net=ALL-UNNAMED</opt>
437 - <opt>-Dio.netty.tryReflectionSetAccessible=true</opt>
438 - </opts>
439 - </jre>
440 - <versionInfo>
441 - <fileVersion>
442 - 1.0.0.0
443 - </fileVersion>
444 - <txtFileVersion>
445 - 1.0.0.0
446 - </txtFileVersion>
447 - <fileDescription>Forge</fileDescription>
448 - <copyright>Forge</copyright>
449 - <productVersion>
450 - 1.0.0.0
451 - </productVersion>
452 - <txtProductVersion>
453 - 1.0.0.0
454 - </txtProductVersion>
455 - <productName>forge-adventure</productName>
456 - <internalName>forge-adventure</internalName>
457 - <originalFilename>forge-adventure.exe</originalFilename>
458 - </versionInfo>
459 - </configuration>
460 - </execution>
461 - <!--extra-->
462 - </executions>
463 - </plugin>
464 <plugin>
465 <artifactId>maven-assembly-plugin</artifactId>
466 <configuration>