Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update graalvm version to 1.0.0-rc14 (#1566) #1602

Merged
merged 1 commit into from
Mar 21, 2019
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<plexus-component-annotations.version>1.7.1</plexus-component-annotations.version>
<!-- What we actually depend on for the annotations, as latest Graal
is not available in Maven fast enough: -->
<graal-sdk.version>1.0.0-rc13</graal-sdk.version>
<graal-sdk.version>1.0.0-rc14</graal-sdk.version>
<gizmo.version>1.0.0.Alpha2</gizmo.version>
<jackson.version>2.9.8</jackson.version>
<commons-beanutils-core.version>1.8.3</commons-beanutils-core.version>
Expand Down
2 changes: 1 addition & 1 deletion build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- These properties are needed in order for them to be resolvable by the documentation -->
<!-- The Graal version we suggest using in documentation - as that's
what we work with by self downloading it: -->
<graal-sdk.version-for-documentation>1.0.0-rc13</graal-sdk.version-for-documentation>
<graal-sdk.version-for-documentation>1.0.0-rc14</graal-sdk.version-for-documentation>
<rest-assured.version>3.3.0</rest-assured.version>

<!-- Enable APT by default for Eclipse -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public void provideOutcome(AppCreator ctx) throws AppCreatorException {
//TODO: use an 'official' image
String image;
if (dockerBuild.toLowerCase().equals("true")) {
image = "quay.io/quarkus/centos-quarkus-native-image:graalvm-1.0.0-rc13";
image = "quay.io/quarkus/centos-quarkus-native-image:graalvm-1.0.0-rc14";
} else {
//allow the use of a custom image
image = dockerBuild;
Expand Down Expand Up @@ -466,8 +466,10 @@ public void provideOutcome(AppCreator ctx) throws AppCreatorException {
private boolean isThisGraalVMRCObsolete() {
machi1990 marked this conversation as resolved.
Show resolved Hide resolved
final String vmName = System.getProperty("java.vm.name");
log.info("Running Quarkus native-image plugin on " + vmName);
if (vmName.contains("-rc9") || vmName.contains("-rc10") || vmName.contains("-rc11") || vmName.contains("-rc12")) {
log.error("Out of date RC build of GraalVM detected! Please upgrade to RC13");
final List<String> obsoleteGraalVmVersions = Arrays.asList("-rc9", "-rc10", "-rc11", "-rc12", "-rc13");
final boolean vmVersionIsObsolete = obsoleteGraalVmVersions.stream().anyMatch(vmName::contains);
if (vmVersionIsObsolete) {
log.error("Out of date RC build of GraalVM detected! Please upgrade to RC14");
return true;
}
return false;
Expand Down