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 @@ ...@@ -20,8 +20,10 @@
language: java language: java
jdk: jdk:
- oraclejdk9
- oraclejdk8 - oraclejdk8
- oraclejdk9
- oraclejdk10
- oraclejdk11
addons: addons:
hosts: hosts:
......
...@@ -30,8 +30,10 @@ LICENSE file. ...@@ -30,8 +30,10 @@ LICENSE file.
<properties> <properties>
<!-- This should match up to the one from your Accumulo version --> <!-- This should match up to the one from your Accumulo version -->
<hadoop.version>2.2.0</hadoop.version> <hadoop.version>2.2.0</hadoop.version>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -30,8 +30,10 @@ LICENSE file. ...@@ -30,8 +30,10 @@ LICENSE file.
<properties> <properties>
<!-- This should match up to the one from your Accumulo version --> <!-- This should match up to the one from your Accumulo version -->
<hadoop.version>2.2.0</hadoop.version> <hadoop.version>2.2.0</hadoop.version>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -30,8 +30,10 @@ LICENSE file. ...@@ -30,8 +30,10 @@ LICENSE file.
<properties> <properties>
<!-- This should match up to the one from your Accumulo version --> <!-- This should match up to the one from your Accumulo version -->
<hadoop.version>2.6.4</hadoop.version> <hadoop.version>2.6.4</hadoop.version>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -26,8 +26,9 @@ LICENSE file. ...@@ -26,8 +26,9 @@ LICENSE file.
<name>AsyncHBase Client Binding for Apache HBase</name> <name>AsyncHBase Client Binding for Apache HBase</name>
<properties> <properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
......
...@@ -40,6 +40,8 @@ LICENSE file. ...@@ -40,6 +40,8 @@ LICENSE file.
<properties> <properties>
<!-- See the test-on-jdk9 profile below. Default to 'jdk9 works' --> <!-- See the test-on-jdk9 profile below. Default to 'jdk9 works' -->
<skipJDK9Tests>false</skipJDK9Tests> <skipJDK9Tests>false</skipJDK9Tests>
<skipJDK10Tests>false</skipJDK10Tests>
<skipJDK11Tests>false</skipJDK11Tests>
</properties> </properties>
<build> <build>
...@@ -144,6 +146,30 @@ LICENSE file. ...@@ -144,6 +146,30 @@ LICENSE file.
<skipTests>${skipJDK9Tests}</skipTests> <skipTests>${skipJDK9Tests}</skipTests>
</properties> </properties>
</profile> </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> </profiles>
</project> </project>
...@@ -29,8 +29,9 @@ LICENSE file. ...@@ -29,8 +29,9 @@ LICENSE file.
<name>HBase 1.0 DB Binding</name> <name>HBase 1.0 DB Binding</name>
<properties> <properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -29,8 +29,10 @@ LICENSE file. ...@@ -29,8 +29,10 @@ LICENSE file.
<name>HBase 1.2 DB Binding</name> <name>HBase 1.2 DB Binding</name>
<properties> <properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
<!-- Tests can't run without a shaded hbase testing util. <!-- Tests can't run without a shaded hbase testing util.
See HBASE-15666, which blocks us. See HBASE-15666, which blocks us.
For now, we rely on the HBase 1.0 binding and manual testing. For now, we rely on the HBase 1.0 binding and manual testing.
......
...@@ -41,6 +41,8 @@ LICENSE file. ...@@ -41,6 +41,8 @@ LICENSE file.
<properties> <properties>
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
......
...@@ -36,8 +36,9 @@ LICENSE file. ...@@ -36,8 +36,9 @@ LICENSE file.
</repository> </repository>
</repositories> </repositories>
<properties> <properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -23,8 +23,9 @@ ...@@ -23,8 +23,9 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
<tomcat.version>8.0.28</tomcat.version> <tomcat.version>8.0.28</tomcat.version>
<jersey.version>2.6</jersey.version> <jersey.version>2.6</jersey.version>
......
...@@ -32,8 +32,9 @@ LICENSE file. ...@@ -32,8 +32,9 @@ LICENSE file.
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<!-- Tests do not run on jdk9 -->
<skipJDK9Tests>true</skipJDK9Tests> <skipJDK9Tests>true</skipJDK9Tests>
<skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <dependencies>
......
...@@ -32,8 +32,9 @@ LICENSE file. ...@@ -32,8 +32,9 @@ LICENSE file.
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<!-- Skip tests by default. will be activated by jdk8 profile --> <skipJDK9Tests>true</skipJDK9Tests>
<skipTests>true</skipTests> <skipJDK10Tests>true</skipJDK10Tests>
<skipJDK11Tests>true</skipJDK11Tests>
</properties> </properties>
<dependencies> <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