geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1800748 - /geronimo/components/config/trunk/pom.xml
Date Tue, 04 Jul 2017 10:11:27 GMT
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>



Mime
View raw message