mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
Upgrade GraalVM to 19.3.0
This commit is contained in:
committed by
Stuart Douglas
parent
3ab024e38f
commit
8e20d02f90
@@ -74,7 +74,7 @@
|
||||
<maven-plugin-annotations.version>3.5.2</maven-plugin-annotations.version>
|
||||
<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>19.2.1</graal-sdk.version>
|
||||
<graal-sdk.version>19.3.0</graal-sdk.version>
|
||||
<gizmo.version>1.0.0.Final</gizmo.version>
|
||||
<jackson.version>2.9.10.20191020</jackson.version>
|
||||
<commons-logging-jboss-logging.version>1.0.0.Final</commons-logging-jboss-logging.version>
|
||||
@@ -791,7 +791,7 @@
|
||||
<version>${jboss-logmanager.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
@@ -1541,7 +1541,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
<version>${graal-sdk.version}</version>
|
||||
<scope>provided</scope>
|
||||
|
||||
@@ -32,7 +32,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>19.2.1</graal-sdk.version-for-documentation>
|
||||
<graal-sdk.version-for-documentation>19.3.0</graal-sdk.version-for-documentation>
|
||||
<rest-assured.version>4.1.1</rest-assured.version>
|
||||
<axle-client.version>0.0.9</axle-client.version>
|
||||
<vertx.version>3.8.4</vertx.version>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
package io.quarkus.deployment;
|
||||
|
||||
import java.util.concurrent.ThreadLocalRandom;
|
||||
|
||||
import io.quarkus.deployment.annotations.BuildStep;
|
||||
import io.quarkus.deployment.builditem.nativeimage.RuntimeReinitializedClassBuildItem;
|
||||
|
||||
public class ThreadLocalRandomProcessor {
|
||||
@BuildStep
|
||||
RuntimeReinitializedClassBuildItem registerThreadLocalRandomReinitialize() {
|
||||
// ThreadLocalRandom is bugged currently and doesn't reset the seeder
|
||||
// See https://github.com/oracle/graal/issues/1614 for more details
|
||||
return new RuntimeReinitializedClassBuildItem(ThreadLocalRandom.class.getName());
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ public class NativeConfig {
|
||||
/**
|
||||
* If JNI should be enabled
|
||||
*/
|
||||
@ConfigItem(defaultValue = "false")
|
||||
@ConfigItem(defaultValue = "true")
|
||||
public boolean enableJni;
|
||||
|
||||
/**
|
||||
@@ -132,7 +132,7 @@ public class NativeConfig {
|
||||
/**
|
||||
* The docker image to use to do the image build
|
||||
*/
|
||||
@ConfigItem(defaultValue = "quay.io/quarkus/ubi-quarkus-native-image:19.2.1")
|
||||
@ConfigItem(defaultValue = "quay.io/quarkus/ubi-quarkus-native-image:19.3.0-java8")
|
||||
public String builderImage;
|
||||
|
||||
/**
|
||||
|
||||
@@ -73,7 +73,7 @@ public class NativeImageBuildStep {
|
||||
|
||||
final String runnerJarName = runnerJar.getFileName().toString();
|
||||
|
||||
boolean vmVersionOutOfDate = isThisGraalVMVersionObsolete();
|
||||
isThisGraalVMVersionObsolete();
|
||||
|
||||
HashMap<String, String> env = new HashMap<>(System.getenv());
|
||||
List<String> nativeImage;
|
||||
@@ -178,8 +178,6 @@ public class NativeImageBuildStep {
|
||||
command.add("-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime"); //the default collection policy results in full GC's 50% of the time
|
||||
command.add("-jar");
|
||||
command.add(runnerJarName);
|
||||
//https://github.com/oracle/graal/issues/660
|
||||
command.add("-J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1");
|
||||
if (nativeConfig.enableFallbackImages) {
|
||||
command.add("-H:FallbackThreshold=5");
|
||||
} else {
|
||||
@@ -296,16 +294,14 @@ public class NativeImageBuildStep {
|
||||
}
|
||||
|
||||
//FIXME remove after transition period
|
||||
private boolean isThisGraalVMVersionObsolete() {
|
||||
private void isThisGraalVMVersionObsolete() {
|
||||
final String vmName = System.getProperty("java.vm.name");
|
||||
log.info("Running Quarkus native-image plugin on " + vmName);
|
||||
final List<String> obsoleteGraalVmVersions = Arrays.asList("1.0.0", "19.0.", "19.1.", "19.2.0");
|
||||
final List<String> obsoleteGraalVmVersions = Arrays.asList("1.0.0", "19.0.", "19.1.", "19.2.");
|
||||
final boolean vmVersionIsObsolete = obsoleteGraalVmVersions.stream().anyMatch(vmName::contains);
|
||||
if (vmVersionIsObsolete) {
|
||||
log.error("Out of date build of GraalVM detected! Please upgrade to GraalVM 19.2.1.");
|
||||
return true;
|
||||
log.error("Out of date build of GraalVM detected! Please upgrade to GraalVM 19.3.0.");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static File getNativeImageExecutable(Optional<String> graalVmHome, File javaHome, Map<String, String> env) {
|
||||
|
||||
@@ -65,7 +65,7 @@ public class NativeImageAutoFeatureStep {
|
||||
static final String RUNTIME_REFLECTION = RuntimeReflection.class.getName();
|
||||
static final String BEFORE_ANALYSIS_ACCESS = Feature.BeforeAnalysisAccess.class.getName();
|
||||
static final String DYNAMIC_PROXY_REGISTRY = "com.oracle.svm.core.jdk.proxy.DynamicProxyRegistry";
|
||||
static final String LOCALIZATION_SUPPORT = "com.oracle.svm.core.jdk.LocalizationSupport";
|
||||
static final String LOCALIZATION_FEATURE = "com.oracle.svm.core.jdk.LocalizationFeature";
|
||||
|
||||
@BuildStep
|
||||
List<NativeImageResourceBuildItem> registerPackageResources(
|
||||
@@ -205,7 +205,7 @@ public class NativeImageAutoFeatureStep {
|
||||
}
|
||||
|
||||
if (!resourceBundles.isEmpty()) {
|
||||
ResultHandle locClass = overallCatch.loadClass(LOCALIZATION_SUPPORT);
|
||||
ResultHandle locClass = overallCatch.loadClass(LOCALIZATION_FEATURE);
|
||||
|
||||
ResultHandle params = overallCatch.marshalAsArray(Class.class, overallCatch.loadClass(String.class));
|
||||
ResultHandle registerMethod = overallCatch.invokeVirtualMethod(
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<artifactId>graal-sdk</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
package io.quarkus.runtime.graal;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.Map;
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
||||
import org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess;
|
||||
|
||||
import com.oracle.svm.core.annotate.Substitute;
|
||||
import com.oracle.svm.core.annotate.TargetClass;
|
||||
import com.oracle.svm.core.util.VMError;
|
||||
import com.oracle.svm.hosted.SecurityServicesFeature;
|
||||
|
||||
/**
|
||||
* @deprecated This class contains a workaround for a NPE that is thrown when a third-party security provider (meaning not one
|
||||
* from the JDK) is used in Quarkus. A GraalVM issue has been created for it, the fix should be part of GraalVM
|
||||
* 19.3.1. This class should be removed as soon as we integrate a GraalVM release that includes the fix.<br>
|
||||
* See https://github.com/oracle/graal/issues/1883 for more details about the bug and the fix.
|
||||
*/
|
||||
@Deprecated
|
||||
@TargetClass(value = SecurityServicesFeature.class, onlyWith = GraalVersion19_3_0.class)
|
||||
final class Target_com_oracle_svm_hosted_SecurityServicesFeature {
|
||||
|
||||
@Substitute
|
||||
private static Class<?> lambda$getConsParamClassAccessor$0(Map<String, Object> knownEngines, Field consParamClassNameField,
|
||||
BeforeAnalysisAccess access, java.lang.String serviceType) {
|
||||
try {
|
||||
/*
|
||||
* Access the Provider.knownEngines map and extract the EngineDescription
|
||||
* corresponding to the serviceType. Note that the map holds EngineDescription(s) of
|
||||
* only those service types that are shipped in the JDK. From the EngineDescription
|
||||
* object extract the value of the constructorParameterClassName field then, if the
|
||||
* class name is not null, get the corresponding Class<?> object and return it.
|
||||
*/
|
||||
/* EngineDescription */Object engineDescription = knownEngines.get(serviceType);
|
||||
/*
|
||||
* This isn't an engine known to the Provider (which actually means that it isn't
|
||||
* one that's shipped in the JDK), so we don't have the predetermined knowledge of
|
||||
* the constructor param class.
|
||||
*/
|
||||
if (engineDescription == null) {
|
||||
return null;
|
||||
}
|
||||
String constrParamClassName = (String) consParamClassNameField.get(engineDescription);
|
||||
if (constrParamClassName != null) {
|
||||
return access.findClassByName(constrParamClassName);
|
||||
}
|
||||
} catch (IllegalAccessException e) {
|
||||
VMError.shouldNotReachHere(e);
|
||||
}
|
||||
return null;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
final class GraalVersion19_3_0 implements BooleanSupplier {
|
||||
public boolean getAsBoolean() {
|
||||
final String version = System.getProperty("org.graalvm.version");
|
||||
return version.startsWith("19.3.");
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@
|
||||
<artifactId>quarkus-arc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -49,7 +49,7 @@ public class QuarkusNative extends QuarkusTask {
|
||||
|
||||
private boolean enableServer = false;
|
||||
|
||||
private boolean enableJni = false;
|
||||
private boolean enableJni = true;
|
||||
|
||||
private boolean autoServiceLoaderRegistration = false;
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ public class NativeImageMojo extends AbstractMojo {
|
||||
@Parameter(defaultValue = "false")
|
||||
private Boolean enableServer;
|
||||
|
||||
@Parameter(defaultValue = "false")
|
||||
@Parameter(defaultValue = "true")
|
||||
private Boolean enableJni;
|
||||
|
||||
@Parameter(defaultValue = "false")
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>true</enableJni>
|
||||
<enableAllSecurityServices>true</enableAllSecurityServices>
|
||||
<enableReports>false</enableReports>
|
||||
</configuration>
|
||||
|
||||
@@ -125,7 +125,7 @@ And build again:
|
||||
|
||||
If you check carefully the native executable build options, you can see that the SSL related options are gone:
|
||||
```
|
||||
[INFO] [io.quarkus.creator.phase.nativeimage.NativeImagePhase] /opt/graalvm/bin/native-image -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dcom.sun.xml.internal.bind.v2.bytecode.ClassTailor.noOptimize=true -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -jar rest-client-1.0-SNAPSHOT-runner.jar -J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -H:+PrintAnalysisCallTree -H:EnableURLProtocols=http -H:-SpawnIsolates -H:-JNI --no-server -H:-UseServiceLoaderFeature -H:+StackTrace
|
||||
[INFO] [io.quarkus.creator.phase.nativeimage.NativeImagePhase] /opt/graalvm/bin/native-image -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dcom.sun.xml.internal.bind.v2.bytecode.ClassTailor.noOptimize=true -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -jar rest-client-1.0-SNAPSHOT-runner.jar -J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -H:+PrintAnalysisCallTree -H:EnableURLProtocols=http -H:-SpawnIsolates -H:+JNI --no-server -H:-UseServiceLoaderFeature -H:+StackTrace
|
||||
```
|
||||
|
||||
And we end up with:
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<artifactId>quarkus-narayana-jta</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<artifactId>quarkus-amazon-lambda-http</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<artifactId>quarkus-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
@@ -54,4 +54,4 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
</project>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<artifactId>quarkus-vertx-http-deployment</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<artifactId>quarkus-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<artifactId>caffeine</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<artifactId>quarkus-elytron-security</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<artifactId>quarkus-vertx-http</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<artifactId>quarkus-narayana-jta</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<artifactId>jakarta.transaction-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<artifactId>hibernate-search-mapper-orm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<artifactId>protostream-processor</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<artifactId>jaeger-thrift</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<description>XML serialization support</description>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<artifactId>derbyclient</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
-->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<artifactId>mariadb-java-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<artifactId>postgresql</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
package io.quarkus.jgit.runtime.deployment;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import io.quarkus.deployment.annotations.BuildStep;
|
||||
import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
|
||||
import io.quarkus.deployment.builditem.FeatureBuildItem;
|
||||
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBundleBuildItem;
|
||||
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
|
||||
import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
|
||||
import io.quarkus.jgit.runtime.PortWatcherRunTime;
|
||||
|
||||
class JGitProcessor {
|
||||
|
||||
@@ -84,8 +88,10 @@ class JGitProcessor {
|
||||
}
|
||||
|
||||
@BuildStep
|
||||
RuntimeInitializedClassBuildItem lazyDigest() {
|
||||
return new RuntimeInitializedClassBuildItem("org.eclipse.jgit.transport.HttpAuthMethod$Digest");
|
||||
List<RuntimeInitializedClassBuildItem> runtimeInitializedClasses() {
|
||||
return Arrays.asList(
|
||||
new RuntimeInitializedClassBuildItem("org.eclipse.jgit.transport.HttpAuthMethod$Digest"),
|
||||
new RuntimeInitializedClassBuildItem(PortWatcherRunTime.class.getName()));
|
||||
}
|
||||
|
||||
@BuildStep
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<description>Access your Git repositories</description>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package io.quarkus.jgit.runtime;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
public class PortWatcherRunTime {
|
||||
|
||||
public static InetAddress anyLocalAddress;
|
||||
|
||||
static {
|
||||
try {
|
||||
anyLocalAddress = InetAddress.getByName("0.0.0.0");
|
||||
} catch (UnknownHostException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package io.quarkus.jgit.runtime;
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
||||
import com.oracle.svm.core.annotate.Alias;
|
||||
import com.oracle.svm.core.annotate.InjectAccessors;
|
||||
import com.oracle.svm.core.annotate.TargetClass;
|
||||
|
||||
/*
|
||||
* The following substitution is required because of a new restriction in GraalVM 19.3.0 that prohibits the presence of
|
||||
* java.net.Inet4Address in the image heap. Each field annotated with @InjectAccessors is lazily recomputed at runtime on first
|
||||
* access while PortWatcher.class can still be initialized during the native image build.
|
||||
*/
|
||||
@TargetClass(className = "com.jcraft.jsch.PortWatcher")
|
||||
final class Target_com_jcraft_jsch_PortWatcher {
|
||||
|
||||
@Alias
|
||||
@InjectAccessors(AnyLocalAddressAccessor.class)
|
||||
private static InetAddress anyLocalAddress;
|
||||
}
|
||||
|
||||
final class AnyLocalAddressAccessor {
|
||||
|
||||
static InetAddress get() {
|
||||
return PortWatcherRunTime.anyLocalAddress;
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<artifactId>kafka-streams</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -31,7 +31,9 @@ import org.keycloak.representations.idm.authorization.ScopeRepresentation;
|
||||
import io.quarkus.deployment.annotations.BuildProducer;
|
||||
import io.quarkus.deployment.annotations.BuildStep;
|
||||
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
|
||||
import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
|
||||
import io.quarkus.deployment.builditem.nativeimage.ServiceProviderBuildItem;
|
||||
import io.quarkus.keycloak.pep.runtime.PortWatcherRunTime;
|
||||
|
||||
public class KeycloakReflectionBuildStep {
|
||||
|
||||
@@ -74,4 +76,9 @@ public class KeycloakReflectionBuildStep {
|
||||
ClaimsInformationPointProviderFactory.class.getName()));
|
||||
|
||||
}
|
||||
|
||||
@BuildStep
|
||||
RuntimeInitializedClassBuildItem runtimeInitializedClass() {
|
||||
return new RuntimeInitializedClassBuildItem(PortWatcherRunTime.class.getName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +44,10 @@
|
||||
<dependency>
|
||||
<groupId>org.jboss.logging</groupId>
|
||||
<artifactId>commons-logging-jboss-logging</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package io.quarkus.keycloak.pep.runtime;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
public class PortWatcherRunTime {
|
||||
|
||||
public static InetAddress anyLocalAddress;
|
||||
|
||||
static {
|
||||
try {
|
||||
anyLocalAddress = InetAddress.getByName("0.0.0.0");
|
||||
} catch (UnknownHostException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package io.quarkus.keycloak.pep.runtime;
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
||||
import com.oracle.svm.core.annotate.Alias;
|
||||
import com.oracle.svm.core.annotate.InjectAccessors;
|
||||
import com.oracle.svm.core.annotate.TargetClass;
|
||||
|
||||
/*
|
||||
* The following substitution is required because of a new restriction in GraalVM 19.3.0 that prohibits the presence of
|
||||
* java.net.Inet4Address in the image heap. Each field annotated with @InjectAccessors is lazily recomputed at runtime on first
|
||||
* access while PortWatcher.class can still be initialized during the native image build.
|
||||
*/
|
||||
@TargetClass(className = "com.jcraft.jsch.PortWatcher")
|
||||
final class Target_com_jcraft_jsch_PortWatcher {
|
||||
|
||||
@Alias
|
||||
@InjectAccessors(AnyLocalAddressAccessor.class)
|
||||
private static InetAddress anyLocalAddress;
|
||||
}
|
||||
|
||||
final class AnyLocalAddressAccessor {
|
||||
|
||||
static InetAddress get() {
|
||||
return PortWatcherRunTime.anyLocalAddress;
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
<artifactId>quarkus-jackson</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<artifactId>smallrye-reactive-converter-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<artifactId>quarkus-arc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<artifactId>quarkus-scheduler</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<artifactId>commons-logging-jboss-logging</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<artifactId>quarkus-arc-deployment</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<description>REST framework implementing JAX-RS and more</description>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<artifactId>quarkus-security-spi</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<artifactId>jakarta.interceptor-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<artifactId>quarkus-smallrye-fault-tolerance</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<artifactId>commons-logging-jboss-logging</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<artifactId>jakarta.servlet-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<artifactId>jakarta.enterprise.cdi-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.substratevm</groupId>
|
||||
<groupId>org.graalvm.nativeimage</groupId>
|
||||
<artifactId>svm</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -109,7 +109,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -98,7 +98,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>true</enableJni>
|
||||
<enableAllSecurityServices>true</enableAllSecurityServices>
|
||||
<enableReports>false</enableReports>
|
||||
</configuration>
|
||||
|
||||
@@ -116,7 +116,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -137,7 +137,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
@@ -185,7 +185,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
@@ -121,7 +121,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -144,7 +144,6 @@
|
||||
<additionalBuildArg>-H:ResourceConfigurationFiles=${project.basedir}/src/main/resources/resources-config.json</additionalBuildArg>
|
||||
</additionalBuildArgs>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>true</enableJni>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -148,7 +148,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -156,7 +156,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -148,7 +148,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -143,7 +143,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
<cleanupServer>true</cleanupServer>
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
<debugBuildProcess>false</debugBuildProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@@ -99,7 +99,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>true</enableJni>
|
||||
<enableAllSecurityServices>true</enableAllSecurityServices>
|
||||
<enableReports>false</enableReports>
|
||||
</configuration>
|
||||
|
||||
@@ -54,7 +54,6 @@ The Quarkus maven plugin must be configured like this:
|
||||
<enableHttpUrlHandler>true</enableHttpUrlHandler>
|
||||
<enableHttpsUrlHandler>true</enableHttpsUrlHandler>
|
||||
<enableAllSecurityServices>true</enableAllSecurityServices>
|
||||
<enableJni>true</enableJni>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
@@ -172,7 +172,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>false</enableJni>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
@@ -91,7 +91,6 @@
|
||||
<enableServer>false</enableServer>
|
||||
<dumpProxies>false</dumpProxies>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>true</enableJni>
|
||||
<enableAllSecurityServices>true</enableAllSecurityServices>
|
||||
<enableReports>false</enableReports>
|
||||
</configuration>
|
||||
|
||||
@@ -103,7 +103,6 @@
|
||||
<additionalBuildArg>-H:EnableURLProtocols=http,https</additionalBuildArg>
|
||||
</additionalBuildArgs>
|
||||
<graalvmHome>${graalvmHome}</graalvmHome>
|
||||
<enableJni>true</enableJni>
|
||||
<enableAllSecurityServices>true</enableAllSecurityServices>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
Reference in New Issue
Block a user