提交 c84f15e8 authored 作者: Noel Grandin's avatar Noel Grandin

fix maven build under java8+

上级 3e08d0a0
...@@ -222,6 +222,7 @@ ...@@ -222,6 +222,7 @@
</executions> </executions>
</plugin> </plugin>
<!-- Make sure neither we nor one of our dependencies uses anything outside JDK 1.7 --> <!-- Make sure neither we nor one of our dependencies uses anything outside JDK 1.7 -->
<!-- commented out for now because it fails to build under JDK1.8+ because we are manually adding the tools jar
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
...@@ -262,6 +263,7 @@ ...@@ -262,6 +263,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
-->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论