Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions projects/openjdk.org/package.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
distributable:
# TODO: more majors
# TODO: add jdk11 and jdk8
- url: https://github.com/openjdk/jdk21u/archive/{{version.tag}}.tar.gz
strip-components: 1
- url: https://github.com/openjdk/jdk20u/archive/{{version.tag}}.tar.gz
strip-components: 1
- url: https://github.com/openjdk/jdk17u/archive/{{version.tag}}.tar.gz
strip-components: 1

versions:
# TODO: more majors
# each repo contains all the prior repo tags at the time of the fork,
# as well as tags like 21+10, which should be 21.0.0.10, but parses to
# 21.10.0.
- github: openjdk/jdk21u/tags
transform: 'v => v.match(/jdk-21\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
- github: openjdk/jdk20u/tags
# each repo contains all the prior repo tags at the time of the fork,
# as well as tags like 20+10, which should be 20.0.0.10, but parses to
# 20.10.0.
transform: 'v => v.match(/jdk-20\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
- github: openjdk/jdk17u/tags
transform: 'v => v.match(/jdk-17\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
Expand Down Expand Up @@ -96,8 +99,13 @@ build:
JDK_ARCH: linux-aarch64
linux/x86-64:
JDK_ARCH: linux-x64

# from https://jdk.java.net/archive/
# the boot jdk should point to the last version of the previous major version
# or the last previous version of the current major version
BOOT_JDK17: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2
BOOT_JDK20: https://download.java.net/java/GA/jdk19.0.1/afdd2e245b014143b62ccb916125e3ce/10/GPL/openjdk-19.0.1
BOOT_JDK20: https://download.java.net/java/GA/jdk20.0.2/6e380f22cbe7469fa75fb448bd903d8e/9/GPL/openjdk-20.0.2
BOOT_JDK21: https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1

ARGS:
- --disable-warnings-as-errors
Expand Down Expand Up @@ -144,6 +152,8 @@ provides:
- bin/jstack
- bin/jstat
- bin/jstatd
# TODO: if: {{version.major}} >= 21
# - bin/jwebserver
- bin/keytool
- bin/rmiregistry
- bin/serialver
Expand Down