You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2017/08/28 20:51:57 UTC
[4/4] maven-surefire git commit: enforcer:3.0.0-M1@enforce-java
enforcer:3.0.0-M1@enforce-java
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/50780920
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/50780920
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/50780920
Branch: refs/heads/junit5
Commit: 507809204929751b57c3cc053bc76d85dd98458b
Parents: 05b4286
Author: Tibor17 <ti...@apache.org>
Authored: Mon Aug 28 22:47:37 2017 +0200
Committer: Tibor17 <ti...@apache.org>
Committed: Mon Aug 28 22:47:37 2017 +0200
----------------------------------------------------------------------
pom.xml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/50780920/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 77c0385..0f9cc12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -344,6 +344,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M1</version>
<executions>
<execution>
<id>enforce-java</id>
@@ -353,7 +354,9 @@
<configuration>
<rules>
<requireJavaVersion>
- <version>[1.6.0, 1.9.0)</version>
+ <!-- We use JDK 1.8 to check -Xdoclint:all at compile time but with javac -source 1.6 -target 1.6 -->
+ <!-- enforcer:1.3.1 fails on jdk9. 3.0.0-M1 does not but surefire:12.2.4 crashes later. -->
+ <version>[1.8, 1.9)</version>
</requireJavaVersion>
</rules>
</configuration>
@@ -366,7 +369,7 @@
<configuration>
<rules>
<requireMavenVersion>
- <version>[3.0.5,)</version>
+ <version>[3.1.0,)</version>
</requireMavenVersion>
</rules>
</configuration>