Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Sievers2014-08-22 10:17:07 -0400
committerJan Sievers2014-08-22 10:17:07 -0400
commitd7a2a1106f7f99cad8eeeb602174f97a904246f4 (patch)
tree92d30674893f0d83e699fc6b8de686d0385ecf3d
parente1e7ad4a8a174e1588c8549751708f4cd526086a (diff)
downloadorg.eclipse.tycho.nexus-d7a2a1106f7f99cad8eeeb602174f97a904246f4.tar.gz
org.eclipse.tycho.nexus-d7a2a1106f7f99cad8eeeb602174f97a904246f4.tar.xz
org.eclipse.tycho.nexus-d7a2a1106f7f99cad8eeeb602174f97a904246f4.zip
442374 enforce maven < 3.1 and JDK >= 1.7
Bug: 442374 Change-Id: Iab4883dad0e8061b799a3ea0ccb3a814b80d3dba Signed-off-by: Jan Sievers <jan.sievers@sap.com>
-rw-r--r--pom.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 97c1a77..85888bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,6 +155,33 @@
</dependencyManagement>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.3.1</version>
+ <executions>
+ <execution>
+ <id>enforce-environment</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <fail>true</fail>
+ <rules>
+ <requireMavenVersion>
+ <!-- TODO remove upper limit with Nexus 3.0 -->
+ <version>[3.0.4,3.1)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.7,)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
<pluginManagement>
<plugins>
<plugin>

Back to the top