You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by rm...@apache.org on 2017/07/04 10:11:27 UTC

svn commit: r1800748 - /geronimo/components/config/trunk/pom.xml

Author: rmannibucau
Date: Tue Jul  4 10:11:27 2017
New Revision: 1800748

URL: http://svn.apache.org/viewvc?rev=1800748&view=rev
Log:
maven-enforcer-plugin usage instead of prerequiristes

Modified:
    geronimo/components/config/trunk/pom.xml

Modified: geronimo/components/config/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/components/config/trunk/pom.xml?rev=1800748&r1=1800747&r2=1800748&view=diff
==============================================================================
--- geronimo/components/config/trunk/pom.xml (original)
+++ geronimo/components/config/trunk/pom.xml Tue Jul  4 10:11:27 2017
@@ -41,10 +41,6 @@
         </license>
     </licenses>
 
-    <prerequisites>
-        <maven>3.1.0</maven>
-    </prerequisites>
-
     <properties>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
@@ -84,6 +80,26 @@
                     </excludes>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <version>1.4.1</version>
+                <executions>
+                    <execution>
+                        <id>enforce-versions</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireMavenVersion>
+                                    <version>3.1.0</version>
+                                </requireMavenVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>