blob: f5c44856c92af1923a73bdfe1808a5e2c672a46f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
--- 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>
|