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 2015/10/13 23:45:54 UTC

[2/4] maven-surefire git commit: [SUREFIRE] enforce-java 1.6 or higher

[SUREFIRE] enforce-java 1.6 or higher


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/48833449
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/48833449
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/48833449

Branch: refs/heads/master
Commit: 488334495da143e38fd373ad62c36710bf5d2435
Parents: 0471a2e
Author: Tibor17 <ti...@lycos.com>
Authored: Tue Oct 13 21:35:17 2015 +0200
Committer: Tibor17 <ti...@lycos.com>
Committed: Tue Oct 13 21:35:17 2015 +0200

----------------------------------------------------------------------
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/48833449/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e49fd1d..281d098 100644
--- a/pom.xml
+++ b/pom.xml
@@ -311,6 +311,25 @@
     </pluginManagement>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-java</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <version>[1.6.0, 1.9.0)</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>animal-sniffer-maven-plugin</artifactId>
       </plugin>