diff options
author | Alexander Kurtakov | 2015-03-13 07:49:06 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2015-03-13 07:49:06 +0000 |
commit | 24b5d9d702ab65f5e870818fdbb5d6ea4905af5e (patch) | |
tree | 893ed6b2a585d38d6b5395c997f386f6d1da3643 /eclipse-platform-parent/pom.xml | |
parent | 13fcd5df5f7be86686cdef7d2c6dea5fa0d02a9f (diff) | |
download | eclipse.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.xml | 21 |
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> |