mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 14:34:42 +01:00
138 lines
5.3 KiB
Diff
138 lines
5.3 KiB
Diff
--- pom.xml 2025-04-13 20:50:15.000000000 +0100
|
|
+++ pom2.xml 2025-04-13 22:25:50.815491147 +0100
|
|
@@ -47,19 +47,6 @@
|
|
<artifactId>download-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
- <id>download-jre-windows</id>
|
|
- <phase>package</phase>
|
|
- <goals>
|
|
- <goal>wget</goal>
|
|
- </goals>
|
|
- <configuration>
|
|
- <url>https://github.com/nbauma109/jre-builder/releases/download/${jre.builder.version}/jre-${jre.builder.version}-${jre.version}-windows.zip</url>
|
|
- <unpack>true</unpack>
|
|
- <outputDirectory>${project.build.directory}/windows/jre</outputDirectory>
|
|
- <sha512>1df09e495aa76e55928d93f17f6128b0b05d8de817404d71b71ffc3c70f1c7d044a74d38b046bc69e8d71b49fa066336f4f43bbc2d9cbd907e34a881b19e0a05</sha512>
|
|
- </configuration>
|
|
- </execution>
|
|
- <execution>
|
|
<id>download-jre-linux</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
@@ -72,19 +59,6 @@
|
|
<sha512>07cf8d488c3ab7febe1f046a745cc6d5ecf62ddbe323ddac533278c2b5bc2abbb9407de330d4fa4380c1cdd0617d02a83b7935fbd19f18e11c8be3f31ac77598</sha512>
|
|
</configuration>
|
|
</execution>
|
|
- <execution>
|
|
- <id>download-jre-macos</id>
|
|
- <phase>package</phase>
|
|
- <goals>
|
|
- <goal>wget</goal>
|
|
- </goals>
|
|
- <configuration>
|
|
- <url>https://github.com/nbauma109/jre-builder/releases/download/${jre.builder.version}/jre-${jre.builder.version}-${jre.version}-macos.zip</url>
|
|
- <unpack>true</unpack>
|
|
- <outputDirectory>${project.build.directory}/macos/jre</outputDirectory>
|
|
- <sha512>8100c651e49263f8e4fed00f8823f962dcaadf93840671edec59539ee399526cf5bdc358cc6f34901d5f86d20ce40071d6707ee098a00e350d3ae5c828652bcc</sha512>
|
|
- </configuration>
|
|
- </execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
@@ -111,20 +85,6 @@
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
- <id>assemble-windows</id>
|
|
- <phase>package</phase>
|
|
- <goals>
|
|
- <goal>single</goal>
|
|
- </goals>
|
|
- <configuration>
|
|
- <appendAssemblyId>false</appendAssemblyId>
|
|
- <finalName>jd-gui-duo-windows</finalName>
|
|
- <descriptors>
|
|
- <descriptor>assembly-windows.xml</descriptor>
|
|
- </descriptors>
|
|
- </configuration>
|
|
- </execution>
|
|
- <execution>
|
|
<id>assemble-linux</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
@@ -138,74 +98,11 @@
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
- <execution>
|
|
- <id>assemble-macos</id>
|
|
- <phase>package</phase>
|
|
- <goals>
|
|
- <goal>single</goal>
|
|
- </goals>
|
|
- <configuration>
|
|
- <appendAssemblyId>false</appendAssemblyId>
|
|
- <finalName>jd-gui-duo-macos</finalName>
|
|
- <descriptors>
|
|
- <descriptor>assembly-macos.xml</descriptor>
|
|
- </descriptors>
|
|
- </configuration>
|
|
- </execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
- <profiles>
|
|
- <profile>
|
|
- <id>windows</id>
|
|
- <activation>
|
|
- <os>
|
|
- <family>Windows</family>
|
|
- </os>
|
|
- </activation>
|
|
- <build>
|
|
- <plugins>
|
|
- <plugin>
|
|
- <groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
- <artifactId>launch4j-maven-plugin</artifactId>
|
|
- <executions>
|
|
- <execution>
|
|
- <id>l4j-clui</id>
|
|
- <phase>prepare-package</phase>
|
|
- <goals>
|
|
- <goal>launch4j</goal>
|
|
- </goals>
|
|
- <configuration>
|
|
- <headerType>gui</headerType>
|
|
- <outfile>${project.build.directory}/windows/jd-gui-duo-${project.version}.exe</outfile>
|
|
- <jar>${project.build.directory}/lib/jd-gui-duo-app-${project.version}.jar</jar>
|
|
- <classPath>
|
|
- <mainClass>${main.class}</mainClass>
|
|
- <addDependencies>false</addDependencies>
|
|
- </classPath>
|
|
- <jre>
|
|
- <path>jre</path>
|
|
- <opts>
|
|
- <opt>-ea</opt>
|
|
- <opt>--add-opens java.base/java.net=ALL-UNNAMED</opt>
|
|
- <opt>--add-opens java.desktop/javax.swing.text=ALL-UNNAMED</opt>
|
|
- <opt>--add-opens java.desktop/javax.swing.plaf.basic=ALL-UNNAMED</opt>
|
|
- <opt>--add-opens java.prefs/java.util.prefs=ALL-UNNAMED</opt>
|
|
- <opt>--add-opens java.base/java.lang.ref=ALL-UNNAMED</opt>
|
|
- </opts>
|
|
- </jre>
|
|
- <icon>${project.parent.basedir}/src/launch4j/resources/images/jd-gui.ico</icon>
|
|
- </configuration>
|
|
- </execution>
|
|
- </executions>
|
|
- </plugin>
|
|
- </plugins>
|
|
- </build>
|
|
- </profile>
|
|
- </profiles>
|
|
-
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.nbauma109</groupId>
|