Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-03-13 07:49:06 +0000
committerAlexander Kurtakov2015-03-13 07:49:06 +0000
commit24b5d9d702ab65f5e870818fdbb5d6ea4905af5e (patch)
tree893ed6b2a585d38d6b5395c997f386f6d1da3643 /eclipse-platform-parent/pom.xml
parent13fcd5df5f7be86686cdef7d2c6dea5fa0d02a9f (diff)
downloadeclipse.platform.releng.aggregator-24b5d9d702ab65f5e870818fdbb5d6ea4905af5e.tar.gz
eclipse.platform.releng.aggregator-24b5d9d702ab65f5e870818fdbb5d6ea4905af5e.tar.xz
eclipse.platform.releng.aggregator-24b5d9d702ab65f5e870818fdbb5d6ea4905af5e.zip
Bug 423105 - Add prereq section and use properties for maven plugin
versions Add maven-enforcer-plugin configuration to actually break the build if run with older maven. Prereq section is kept for now as even if it doesn't break the build, it is used by other plugins like versions-maven-plugin which check and warn for using plugins with older than they require Maven version. Change-Id: Iedca873141d4c86bfaa82a367128c79a1c636b71 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'eclipse-platform-parent/pom.xml')
-rw-r--r--eclipse-platform-parent/pom.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index 7ecb90b4f..a57c260a9 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -324,7 +324,26 @@
</execution>
</executions>
</plugin>
-
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.1.1</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>

Back to the top