cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r534368 - /cocoon/trunk/pom.xml
Date Wed, 02 May 2007 09:49:24 GMT
Author: gkossakowski
Date: Wed May  2 02:49:23 2007
New Revision: 534368

URL: http://svn.apache.org/viewvc?view=rev&rev=534368
Log:
Enforcing 2.0.6+ as minimal Maven version using enforcer plugin.

Modified:
    cocoon/trunk/pom.xml

Modified: cocoon/trunk/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/pom.xml?view=diff&rev=534368&r1=534367&r2=534368
==============================================================================
--- cocoon/trunk/pom.xml (original)
+++ cocoon/trunk/pom.xml Wed May  2 02:49:23 2007
@@ -35,10 +35,6 @@
   <name>Apache Cocoon</name>
   <url>http://cocoon.apache.org</url>
   <inceptionYear>1999</inceptionYear>
-  
-  <!--prerequisites>
-    <maven>2.0.6</maven>
-  </prerequisites-->
 
   <modules>
     <module>blocks</module>
@@ -2381,7 +2377,26 @@
           <outputDirectory>target</outputDirectory>
           <workDirectory>target/assembly</workDirectory>
         </configuration>
-      </plugin> 
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-maven</id>
+            <goals>
+              <goal>enforce-once</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <version>[2.0.6,)</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 



Mime
View raw message