You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by je...@apache.org on 2013/07/21 00:28:38 UTC

git commit: Add Maven enforcer plugin in parent POM to check against minimum 1.7 JDK

Updated Branches:
  refs/heads/trunk a1a702ada -> 381bab7f0


Add Maven enforcer plugin in parent POM to check against minimum 1.7 JDK


Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/381bab7f
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/381bab7f
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/381bab7f

Branch: refs/heads/trunk
Commit: 381bab7f04f51dab92e0be14eb631628bd3a70dd
Parents: a1a702a
Author: Jeff MAURY <je...@apache.org>
Authored: Sun Jul 21 00:28:31 2013 +0200
Committer: Jeff MAURY <je...@apache.org>
Committed: Sun Jul 21 00:28:31 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/mina/blob/381bab7f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d35f0b6..787febf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -570,6 +570,25 @@
               <xmlOutput>true</xmlOutput>
            </configuration>
       </plugin>
+
+      <plugin>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-java</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <version>1.7.0</version>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>