You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2013/06/20 16:03:20 UTC
svn commit: r1495008 - /uima/build/trunk/parent-pom/pom.xml
Author: schor
Date: Thu Jun 20 14:03:19 2013
New Revision: 1495008
URL: http://svn.apache.org/r1495008
Log:
[UIMA-2086] Require maven 3, Java 5 using enforcer plugin (prereq element doesn't enforce)
Modified:
uima/build/trunk/parent-pom/pom.xml
Modified: uima/build/trunk/parent-pom/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-pom/pom.xml?rev=1495008&r1=1495007&r2=1495008&view=diff
==============================================================================
--- uima/build/trunk/parent-pom/pom.xml (original)
+++ uima/build/trunk/parent-pom/pom.xml Thu Jun 20 14:03:19 2013
@@ -628,6 +628,30 @@ Copyright (c) 2003, 2006 IBM Corporation
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>enforce-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.0</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>1.5</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- sets the following properties:
parsedVersion.majorVersion
parsedVersion.minorVersion