You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2009/10/22 21:52:05 UTC
svn commit: r828834 - /openjpa/branches/1.3.x/pom.xml
Author: dwoods
Date: Thu Oct 22 19:52:04 2009
New Revision: 828834
URL: http://svn.apache.org/viewvc?rev=828834&view=rev
Log:
OPENJPA-1356 Use maven-enforcer-plugin to verify proper Java and Maven levels
Modified:
openjpa/branches/1.3.x/pom.xml
Modified: openjpa/branches/1.3.x/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.3.x/pom.xml?rev=828834&r1=828833&r2=828834&view=diff
==============================================================================
--- openjpa/branches/1.3.x/pom.xml (original)
+++ openjpa/branches/1.3.x/pom.xml Thu Oct 22 19:52:04 2009
@@ -766,6 +766,11 @@
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.3</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -811,6 +816,28 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>[2.0.5,)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.5,1.6)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<reporting>