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 18:42:36 UTC
[2/2] git commit: SM-2362: Require JDK 7 for build
SM-2362: Require JDK 7 for build
Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/86ca1c54
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/86ca1c54
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/86ca1c54
Branch: refs/heads/master
Commit: 86ca1c54a58f545e0dd9d389c158b8f0a54ed453
Parents: 5ea4412
Author: Krzysztof Sobkowiak <kr...@gmail.com>
Authored: Thu Aug 7 18:40:00 2014 +0200
Committer: Krzysztof Sobkowiak <kr...@gmail.com>
Committed: Thu Aug 7 18:40:00 2014 +0200
----------------------------------------------------------------------
pom.xml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix/blob/86ca1c54/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2e248d9..4970a4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,6 +108,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>
@@ -266,6 +267,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>
@@ -436,6 +442,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.7,1.9)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>