Skip to content

Commit e5a890e

Browse files
committed
Story #15510: Delivering JRE instead of JDK for Pastis Standalone.
1 parent a92c0cd commit e5a890e

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

api/api-pastis/pastis-standalone/pom.xml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,36 +228,35 @@
228228
<executions>
229229
<!-- download openjdk -->
230230
<execution>
231-
<id>download-jdk</id>
231+
<id>download-jre</id>
232232
<phase>initialize</phase>
233233
<goals>
234234
<goal>run</goal>
235235
</goals>
236236
<configuration>
237237
<target>
238238
<get
239-
src="https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.7%2B6/OpenJDK21U-jdk_x64_windows_hotspot_21.0.7_6.zip"
240-
dest="${project.build.directory}/jdk21.zip"
241-
verbose="false"
242-
usetimestamp="true"/>
239+
src="https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.9+10/OpenJDK21U-jre_x64_windows_hotspot_21.0.9_10.zip"
240+
dest="${project.build.directory}/jre21.zip"
241+
verbose="false"
242+
usetimestamp="true"/>
243243
</target>
244244
</configuration>
245245
</execution>
246-
247246
<!-- unzip jdk -->
248247
<execution>
249-
<id>unzip-jdk</id>
248+
<id>unzip-jre</id>
250249
<phase>package</phase>
250+
<goals>
251+
<goal>run</goal>
252+
</goals>
251253
<configuration>
252254
<target>
253255
<echo message="unzipping file"/>
254-
<unzip src="${project.build.directory}/jdk21.zip"
255-
dest="${project.build.directory}/jdk21/"/>
256+
<unzip src="${project.build.directory}/jre21.zip"
257+
dest="${project.build.directory}/"/>
256258
</target>
257259
</configuration>
258-
<goals>
259-
<goal>run</goal>
260-
</goals>
261260
</execution>
262261
</executions>
263262
</plugin>
@@ -283,9 +282,8 @@
283282
<errTitle>Erreur</errTitle>
284283
<jre>
285284
<minVersion>21</minVersion>
286-
<path>./jdk21/jdk-21.0.7+6</path>
285+
<path>./jdk-21.0.9+10-jre</path>
287286
<requires64Bit/>
288-
<requiresJdk/>
289287
</jre>
290288
<versionInfo>
291289
<fileVersion>1.0.0.0</fileVersion>

api/api-pastis/pastis-standalone/src/main/assembly/packaging-zip.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<outputDirectory>/</outputDirectory>
1313
<includes>
1414
<include>*.exe</include>
15-
<include>jdk21/jdk-21.0.7+6/**</include>
15+
<include>jdk-21.0.9+10-jre/**</include>
1616
</includes>
1717
</fileSet>
1818
<fileSet>

0 commit comments

Comments
 (0)