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
f5c0d2eb56
commit
6de098bae8
7
pom.xml
7
pom.xml
@ -79,6 +79,8 @@
|
||||
</activation>
|
||||
<properties>
|
||||
<skipNativeImageTestsuite>false</skipNativeImageTestsuite>
|
||||
<forbiddenapis.skip>true</forbiddenapis.skip>
|
||||
<testJvm/>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- JDK13 -->
|
||||
@ -301,7 +303,8 @@
|
||||
<logging.logLevel>debug</logging.logLevel>
|
||||
<log4j2.version>2.6.2</log4j2.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>
|
||||
<skipAutobahnTestsuite>false</skipAutobahnTestsuite>
|
||||
<skipHttp2Testsuite>false</skipHttp2Testsuite>
|
||||
@ -911,7 +914,7 @@
|
||||
<value>io.netty.build.junit.TimedOutTestsListener</value>
|
||||
</property>
|
||||
</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 -->
|
||||
<trimStackTrace>false</trimStackTrace>
|
||||
</configuration>
|
||||
|
Loading…
Reference in New Issue
Block a user