Adjust pom.xml to be able to build with graalvm (#9107)
Motivation: When trying to use graalvm and build netty we currently fail because our build configuration is not compatible with it. Modification: - Skip plugins that are not supported when graal is used - Correctly configure surefire plugin for graal so it not produces a NPE Result: We can build and test with graalvm.
This commit is contained in:
parent
f1495e1945
commit
97617b254b
7
pom.xml
7
pom.xml
@ -79,6 +79,8 @@
|
|||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<skipNativeImageTestsuite>false</skipNativeImageTestsuite>
|
<skipNativeImageTestsuite>false</skipNativeImageTestsuite>
|
||||||
|
<forbiddenapis.skip>true</forbiddenapis.skip>
|
||||||
|
<testJvm/>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
<!-- JDK13 -->
|
<!-- JDK13 -->
|
||||||
@ -307,7 +309,8 @@
|
|||||||
<logging.logLevel>debug</logging.logLevel>
|
<logging.logLevel>debug</logging.logLevel>
|
||||||
<log4j2.version>2.6.2</log4j2.version>
|
<log4j2.version>2.6.2</log4j2.version>
|
||||||
<enforcer.plugin.version>1.4.1</enforcer.plugin.version>
|
<enforcer.plugin.version>1.4.1</enforcer.plugin.version>
|
||||||
<testJavaHome>${env.JAVA_HOME}</testJavaHome>
|
<testJavaHome>${java.home}</testJavaHome>
|
||||||
|
<testJvm>${testJavaHome}/bin/java</testJvm>
|
||||||
<skipOsgiTestsuite>false</skipOsgiTestsuite>
|
<skipOsgiTestsuite>false</skipOsgiTestsuite>
|
||||||
<skipAutobahnTestsuite>false</skipAutobahnTestsuite>
|
<skipAutobahnTestsuite>false</skipAutobahnTestsuite>
|
||||||
<skipHttp2Testsuite>false</skipHttp2Testsuite>
|
<skipHttp2Testsuite>false</skipHttp2Testsuite>
|
||||||
@ -986,7 +989,7 @@
|
|||||||
<value>io.netty.build.junit.TimedOutTestsListener</value>
|
<value>io.netty.build.junit.TimedOutTestsListener</value>
|
||||||
</property>
|
</property>
|
||||||
</properties>
|
</properties>
|
||||||
<jvm>${testJavaHome}/bin/java</jvm>
|
<jvm>${testJvm}</jvm>
|
||||||
<!-- Ensure the whole stacktrace is preserved when an exception is thrown. See https://issues.apache.org/jira/browse/SUREFIRE-1457 -->
|
<!-- Ensure the whole stacktrace is preserved when an exception is thrown. See https://issues.apache.org/jira/browse/SUREFIRE-1457 -->
|
||||||
<trimStackTrace>false</trimStackTrace>
|
<trimStackTrace>false</trimStackTrace>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Loading…
Reference in New Issue
Block a user