JAMES-2130 prerequisite is only for plugins

Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c271756a
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c271756a
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c271756a

Branch: refs/heads/master
Commit: c271756ae1709a444ce1cb85f0da93cdef535abe
Parents: 33c0a26
Author: Matthieu Baechler <[email protected]>
Authored: Fri Aug 25 15:41:00 2017 +0200
Committer: benwa <[email protected]>
Committed: Wed Aug 30 09:12:22 2017 +0700

----------------------------------------------------------------------
 pom.xml | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c271756a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7ab89e9..2c8156c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -523,10 +523,6 @@
         </mailingList>
     </mailingLists>
 
-    <prerequisites>
-        <maven>3.0.2</maven>
-    </prerequisites>
-
     <modules>
         <module>backends-common</module>
         <module>mailbox</module>
@@ -2680,6 +2676,26 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <version>1.4.1</version>
+                <executions>
+                    <execution>
+                        <id>enforce-maven</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireMavenVersion>
+                                    <version>3.3.9</version>
+                                </requireMavenVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
                 <configuration>
                     <archive>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to