You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ks...@apache.org on 2014/08/07 19:45:47 UTC

git commit: SM-2363: Require JDK 6 for build

Repository: servicemix
Updated Branches:
  refs/heads/servicemix-5.1.x 0e378d12b -> 4c2a88a62


SM-2363: Require JDK 6 for build


Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/4c2a88a6
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/4c2a88a6
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/4c2a88a6

Branch: refs/heads/servicemix-5.1.x
Commit: 4c2a88a62e2eaea1793f419edacd1c2bd5adbc20
Parents: 0e378d1
Author: Krzysztof Sobkowiak <kr...@gmail.com>
Authored: Thu Aug 7 19:45:19 2014 +0200
Committer: Krzysztof Sobkowiak <kr...@gmail.com>
Committed: Thu Aug 7 19:45:19 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/servicemix/blob/4c2a88a6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index af4684d..c36570a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,6 +109,7 @@
         <lifecycle-mapping-plugin.version>1.0.0</lifecycle-mapping-plugin.version>
         <maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
         <cobertura-maven-plugin.version>2.2</cobertura-maven-plugin.version>
+        <maven-enforcer-plugin.version>1.3.1</maven-enforcer-plugin.version>
         <exec-maven-plugin.version>1.1.1</exec-maven-plugin.version>
         <build-helper-maven-plugin.version>1.8</build-helper-maven-plugin.version>
         <maven-jxr-plugin.version>2.4</maven-jxr-plugin.version>
@@ -267,6 +268,11 @@
                     <version>${depends-maven-plugin.version}</version>
                 </plugin>
                 <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <version>${maven-enforcer-plugin.version}</version>
+                </plugin>
+                <plugin>
                     <groupId>org.apache.felix</groupId>
                     <artifactId>maven-bundle-plugin</artifactId>
                     <version>${maven-bundle-plugin.version}</version>
@@ -437,6 +443,28 @@
                 </executions>
             </plugin>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce-maven</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireMavenVersion>
+                                    <version>[3,4)</version>
+                                </requireMavenVersion>
+                                <requireJavaVersion>
+                                    <version>[1.6,1.9)</version>
+                                </requireJavaVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <artifactId>maven-remote-resources-plugin</artifactId>
                 <executions>
                     <execution>