|
169 | 169 | <executions> |
170 | 170 | <!-- download openjdk --> |
171 | 171 | <execution> |
172 | | - <id>download-jdk</id> |
| 172 | + <id>download-jre</id> |
173 | 173 | <phase>package</phase> |
174 | 174 | <goals> |
175 | 175 | <goal>run</goal> |
176 | 176 | </goals> |
177 | 177 | <configuration> |
178 | 178 | <target> |
179 | 179 | <get |
180 | | - src="https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_windows-x64_bin.zip" |
181 | | - dest="${project.build.directory}/openjdk-11+28_windows-x64_bin.zip" |
182 | | - verbose="false" |
183 | | - ignoreerrors="false" |
184 | | - usetimestamp="true"/> |
| 180 | + src="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.29+7/OpenJDK11U-jre_x64_windows_hotspot_11.0.29_7.zip" |
| 181 | + dest="${project.build.directory}/jre11.zip" |
| 182 | + verbose="false" |
| 183 | + ignoreerrors="false" |
| 184 | + usetimestamp="true"/> |
185 | 185 | </target> |
186 | 186 | </configuration> |
187 | 187 | </execution> |
188 | 188 | <execution> |
189 | | - <id>unzip-jdk</id> |
| 189 | + <id>unzip-jre</id> |
190 | 190 | <phase>package</phase> |
| 191 | + <goals> |
| 192 | + <goal>run</goal> |
| 193 | + </goals> |
191 | 194 | <configuration> |
192 | 195 | <target> |
193 | 196 | <echo message="unzipping file"/> |
194 | | - <unzip src="${project.build.directory}/openjdk-11+28_windows-x64_bin.zip" |
195 | | - dest="${project.build.directory}/"/> |
| 197 | + <unzip |
| 198 | + src="${project.build.directory}/jre11.zip" |
| 199 | + dest="${project.build.directory}/"/> |
196 | 200 | </target> |
197 | 201 | </configuration> |
198 | | - <goals> |
199 | | - <goal>run</goal> |
200 | | - </goals> |
201 | 202 | </execution> |
202 | 203 | </executions> |
203 | 204 | </plugin> |
|
215 | 216 | </goals> |
216 | 217 | <configuration> |
217 | 218 | <headerType>gui</headerType> |
218 | | - <jar>target/${project.artifactId}-${project.version}-shaded.jar</jar> |
| 219 | + <jar>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</jar> |
219 | 220 | <icon>windows/VitamIcon.ico</icon> |
220 | | - <outfile>windows/Resip.exe</outfile> |
| 221 | + <outfile>${project.build.directory}/Resip.exe</outfile> |
221 | 222 | <stayAlive>true</stayAlive> |
222 | | - <downloadUrl>http://java.com/download</downloadUrl> |
| 223 | + <downloadUrl>https://adoptium.net/temurin/releases/?version=11</downloadUrl> |
223 | 224 | <classPath> |
224 | 225 | <mainClass>fr.gouv.vitam.tools.resip.app.ResipApp</mainClass> |
225 | 226 | </classPath> |
226 | 227 | <jre> |
227 | | - <path>.\jre</path> |
| 228 | + <path>./jdk-11.0.29+7-jre</path> |
228 | 229 | <minVersion>11</minVersion> |
229 | 230 | <requires64Bit/> |
230 | 231 | <opts> |
|
241 | 242 | </txtFileVersion> |
242 | 243 | <fileDescription>${project.name}</fileDescription> |
243 | 244 | <copyright>Programme Vitam</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>${project.name}</productName> |
251 | | - <internalName>${project.name}</internalName> |
252 | | - <originalFilename>Resip.exe</originalFilename> |
253 | | - </versionInfo> |
254 | | - </configuration> |
255 | | - </execution> |
256 | | - <execution> |
257 | | - <id>l4j-generate-x64</id> |
258 | | - <phase>package</phase> |
259 | | - <goals> |
260 | | - <goal>launch4j</goal> |
261 | | - </goals> |
262 | | - <configuration> |
263 | | - <headerType>gui</headerType> |
264 | | - <jar>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</jar> |
265 | | - <icon>windows/VitamIcon.ico</icon> |
266 | | - <outfile>${project.build.directory}/Resip.exe</outfile> |
267 | | - <stayAlive>true</stayAlive> |
268 | | - <downloadUrl>http://java.com/download</downloadUrl> |
269 | | - <classPath> |
270 | | - <mainClass>fr.gouv.vitam.tools.resip.app.ResipApp</mainClass> |
271 | | - </classPath> |
272 | | - <!-- Specify the JRE to include --> |
273 | | - <jre> |
274 | | - <path>jdk-11</path> |
275 | | - <minVersion>11</minVersion> |
276 | | - <requires64Bit/> |
277 | | - <requiresJdk/> |
278 | | - </jre> |
279 | | - <versionInfo> |
280 | | - <fileVersion> |
281 | | - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0 |
282 | | - </fileVersion> |
283 | | - <txtFileVersion> |
284 | | - ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0 |
285 | | - </txtFileVersion> |
286 | | - <fileDescription>${project.name}</fileDescription> |
287 | | - <copyright>Programme Vitam</copyright> |
| 245 | + <companyName>Programme Vitam</companyName> |
288 | 246 | <productVersion> |
289 | 247 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0 |
290 | 248 | </productVersion> |
|
322 | 280 | </configuration> |
323 | 281 | </execution> |
324 | 282 | <execution> |
325 | | - <id>tar.gz-with-jdk-11-assembly</id> |
| 283 | + <id>zip-with-jdk-11-assembly</id> |
326 | 284 | <phase>package</phase> |
327 | 285 | <goals> |
328 | 286 | <goal>single</goal> |
|
0 commit comments