cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [1/4] cxf git commit: 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
Date Thu, 30 Mar 2017 15:38:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/master fe55813cc -> aa0de494b


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


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

Branch: refs/heads/master
Commit: ff9e62a46c4491d6c5fc8d07b2813fa0224e61c3
Parents: fe55813
Author: Dennis Kieselhorst <deki@apache.org>
Authored: Thu Mar 30 09:18:14 2017 +0200
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Mar 30 09:33:49 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/ff9e62a4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 63218c9..0bb74d7 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.1</maven>
-    </prerequisites>
     <properties>
         <cxf.compiler.fork>false</cxf.compiler.fork>
         <cxf.build-utils.version>3.2.2-SNAPSHOT</cxf.build-utils.version>
@@ -651,8 +648,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>


Mime
View raw message