Skip to content
Permalink
Browse files
Make sure build, tests and TCK run with JDK11
  • Loading branch information
jeanouii committed Sep 28, 2020
1 parent 29e2905 commit 26b43f8167905b511f8340c1bb1f8fb4ade34238
Showing 4 changed files with 38 additions and 18 deletions.
@@ -57,9 +57,9 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -83,16 +83,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -31,8 +31,8 @@ under the License.
<description>Aggregates dependencies and runs the JSR-380 TCK</description>

<properties>
<tck.version>2.0.4.Final</tck.version>
<owb.version>2.0.4</owb.version>
<tck.version>2.0.5</tck.version>
<owb.version>2.0.18</owb.version>
<arquillian.version>1.1.11.Final</arquillian.version>
<validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider>
</properties>
@@ -148,6 +148,38 @@ under the License.
</dependencies>

<profiles>
<profile>
<id>java11</id>
<activation>
<jdk>11</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-activation_1.1_spec</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>11</version>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>tck</id>
<activation>
@@ -572,7 +572,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<version>2.22.2</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
</configuration>

0 comments on commit 26b43f8

Please sign in to comment.