|
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> |
|
219 | 220 | <icon>windows/VitamIcon.ico</icon> |
220 | 221 | <outfile>windows/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> |
|
265 | 266 | <icon>windows/VitamIcon.ico</icon> |
266 | 267 | <outfile>${project.build.directory}/Resip.exe</outfile> |
267 | 268 | <stayAlive>true</stayAlive> |
268 | | - <downloadUrl>http://java.com/download</downloadUrl> |
| 269 | + <downloadUrl>https://adoptium.net/temurin/releases/?version=11</downloadUrl> |
269 | 270 | <classPath> |
270 | 271 | <mainClass>fr.gouv.vitam.tools.resip.app.ResipApp</mainClass> |
271 | 272 | </classPath> |
272 | 273 | <!-- Specify the JRE to include --> |
273 | 274 | <jre> |
274 | | - <path>jdk-11</path> |
| 275 | + <path>./jdk-11.0.29+7-jre</path> |
275 | 276 | <minVersion>11</minVersion> |
276 | 277 | <requires64Bit/> |
277 | 278 | <requiresJdk/> |
|
0 commit comments