Skip to content
Snippets Groups Projects
Unverified Commit dab5f20b authored by Kevin Risden's avatar Kevin Risden Committed by GitHub
Browse files

Test against JDK 9, 10, 11 (#1186)

parent a9ad5b6f
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,10 @@
language: java
jdk:
- oraclejdk9
- oraclejdk8
- oraclejdk9
- oraclejdk10
- oraclejdk11
addons:
hosts:
......
......@@ -30,8 +30,10 @@ LICENSE file.
<properties>
<!-- This should match up to the one from your Accumulo version -->
<hadoop.version>2.2.0</hadoop.version>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
<dependency>
......
......@@ -30,8 +30,10 @@ LICENSE file.
<properties>
<!-- This should match up to the one from your Accumulo version -->
<hadoop.version>2.2.0</hadoop.version>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
<dependency>
......
......@@ -30,8 +30,10 @@ LICENSE file.
<properties>
<!-- This should match up to the one from your Accumulo version -->
<hadoop.version>2.6.4</hadoop.version>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
<dependency>
......
......@@ -26,8 +26,9 @@ LICENSE file.
<name>AsyncHBase Client Binding for Apache HBase</name>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
......
......@@ -40,6 +40,8 @@ LICENSE file.
<properties>
<!-- See the test-on-jdk9 profile below. Default to 'jdk9 works' -->
<skipJDK9Tests>false</skipJDK9Tests>
<skipJDK10Tests>false</skipJDK10Tests>
<skipJDK11Tests>false</skipJDK11Tests>
</properties>
<build>
......@@ -144,6 +146,30 @@ LICENSE file.
<skipTests>${skipJDK9Tests}</skipTests>
</properties>
</profile>
<!-- If the binding doesn't work with jdk10, it should redefine the
skipJDK10 property
-->
<profile>
<id>tests-on-jdk10</id>
<activation>
<jdk>10</jdk>
</activation>
<properties>
<skipTests>${skipJDK10Tests}</skipTests>
</properties>
</profile>
<!-- If the binding doesn't work with jdk11, it should redefine the
skipJDK11 property
-->
<profile>
<id>tests-on-jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<properties>
<skipTests>${skipJDK11Tests}</skipTests>
</properties>
</profile>
</profiles>
</project>
......@@ -29,8 +29,9 @@ LICENSE file.
<name>HBase 1.0 DB Binding</name>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
<dependency>
......
......@@ -29,8 +29,10 @@ LICENSE file.
<name>HBase 1.2 DB Binding</name>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
<!-- Tests can't run without a shaded hbase testing util.
See HBASE-15666, which blocks us.
For now, we rely on the HBase 1.0 binding and manual testing.
......
......@@ -41,6 +41,8 @@ LICENSE file.
<properties>
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
......
......@@ -36,8 +36,9 @@ LICENSE file.
</repository>
</repositories>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
<dependency>
......
......@@ -23,8 +23,9 @@
<packaging>jar</packaging>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
<tomcat.version>8.0.28</tomcat.version>
<jersey.version>2.6</jersey.version>
......
......@@ -32,8 +32,9 @@ LICENSE file.
<packaging>jar</packaging>
<properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
......
......@@ -32,8 +32,9 @@ LICENSE file.
<packaging>jar</packaging>
<properties>
<!-- Skip tests by default. will be activated by jdk8 profile -->
<skipTests>true</skipTests>
<skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties>
<dependencies>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment