This is an automated email from the ASF dual-hosted git repository. ctubbsii pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
commit 2b7b28f73cac698e1724ad60311d2002fb4e02ae Author: Christopher Tubbs <ctubb...@apache.org> AuthorDate: Tue Jul 30 16:25:46 2019 -0400 Revert to Java 8 for accumulo-testing Allow accumulo-testing to build and run with Java 8, but support the release flag on JDK9 and later. --- pom.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1c02093..79463d0 100644 --- a/pom.xml +++ b/pom.xml @@ -31,9 +31,8 @@ <accumulo.version>2.0.0-SNAPSHOT</accumulo.version> <eclipseFormatterStyle>${project.basedir}/contrib/Eclipse-Accumulo-Codestyle.xml</eclipseFormatterStyle> <hadoop.version>3.2.0</hadoop.version> - <maven.compiler.release>11</maven.compiler.release> - <maven.compiler.source>11</maven.compiler.source> - <maven.compiler.target>11</maven.compiler.target> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> <slf4j.version>1.7.25</slf4j.version> <spotbugs.version>3.1.7</spotbugs.version> <zookeeper.version>3.4.14</zookeeper.version> @@ -351,5 +350,14 @@ </plugins> </build> </profile> + <profile> + <id>jdk-release-flag</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <properties> + <maven.compiler.release>8</maven.compiler.release> + </properties> + </profile> </profiles> </project>