Skip to content

Commit

Permalink
HV-1607 Make the build work with JDK 10
Browse files Browse the repository at this point in the history
We need prevent the OSGi integration tests from running on JDK 10 for
now as pax-exam does not support JDK 10.

It will be fixed in the not yet released pax-exam 4.12.
  • Loading branch information
gsmet committed May 3, 2018
1 parent 961e94d commit 7b7e679
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions pom.xml
Expand Up @@ -92,7 +92,6 @@
<module>annotation-processor</module>
<module>integration</module>
<module>performance</module>
<module>osgi</module>
</modules>

<properties>
Expand Down Expand Up @@ -573,7 +572,7 @@
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<version>2.4.1</version>
<version>2.5</version>
<configuration>
<!-- if the Java version used is too new, don't fail, just do nothing -->
<failOnUnsupportedJava>false</failOnUnsupportedJava>
Expand Down Expand Up @@ -1130,7 +1129,16 @@
</build>
</profile>
<profile>
<id>jdk9</id>
<id>jdk9-</id>
<activation>
<jdk>(,9]</jdk>
</activation>
<modules>
<module>osgi</module>
</modules>
</profile>
<profile>
<id>jdk9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
Expand Down

0 comments on commit 7b7e679

Please sign in to comment.