diff options
author | Liam Miller-Cushon <cushon@google.com> | 2018-09-09 16:56:59 -0700 |
---|---|---|
committer | Liam Miller-Cushon <cushon@google.com> | 2018-09-09 16:56:59 -0700 |
commit | b594e4bf91260c72cac0f68fef37972e168674fa (patch) | |
tree | ccbc4c4afff71f3fe658d2b60fecae599ff55ced /pom.xml | |
parent | b5ca7dbddc8d13bfaf4f5e7330f525841b00aa4f (diff) | |
download | turbine-b594e4bf91260c72cac0f68fef37972e168674fa.tar.gz |
Re-enable JDK 8 build
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -16,6 +16,7 @@ <properties> <asm.version>6.2.1</asm.version> + <javac.version>9+181-r4173-1</javac.version> </properties> <dependencies> @@ -59,6 +60,12 @@ <scope>test</scope> </dependency> <dependency> + <groupId>com.google.errorprone</groupId> + <artifactId>javac</artifactId> + <version>${javac.version}</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> @@ -144,4 +151,24 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <id>java-8</id> + <activation> + <jdk>1.8</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- put javac.jar on bootclasspath when executing tests --> + <argLine>-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</argLine> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |