Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes c89b56c22 -> 6110435d7


CXF-7305: replaced prerequisites as this is only intended for maven-plugin 
projects but not for non maven-plugin projects. see also MNG-6092
This closes #250

# Conflicts:
#       pom.xml


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/2f22341b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/2f22341b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/2f22341b

Branch: refs/heads/3.1.x-fixes
Commit: 2f22341b6d3372bd0f98e3894db917d55eef7e06
Parents: c89b56c
Author: Dennis Kieselhorst <d...@apache.org>
Authored: Thu Mar 30 09:18:14 2017 +0200
Committer: Daniel Kulp <dk...@apache.org>
Committed: Thu Mar 30 12:02:48 2017 -0400

----------------------------------------------------------------------
 pom.xml | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/2f22341b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index db7824e..5778e0a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,9 +38,6 @@
         <system>jira</system>
         <url>https://issues.apache.org/jira/browse/CXF</url>
     </issueManagement>
-    <prerequisites>
-        <maven>3.0</maven>
-    </prerequisites>
     <properties>
         <cxf.compiler.fork>false</cxf.compiler.fork>
         <cxf.build-utils.version>3.2.1</cxf.build-utils.version>
@@ -650,8 +647,34 @@
                         </lifecycleMappingMetadata>
                     </configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <version>1.4.1</version>
+                </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce-versions</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireMavenVersion>
+                                    <version>3.1</version>
+                                </requireMavenVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
     <reporting>
         <plugins>

Reply via email to