You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2020/01/30 21:03:06 UTC

svn commit: r1873383 - /uima/build/trunk/parent-pom/pom.xml

Author: rec
Date: Thu Jan 30 21:03:06 2020
New Revision: 1873383

URL: http://svn.apache.org/viewvc?rev=1873383&view=rev
Log:
[UIMA-6181] Fix complaints about maven-plugin-plugin in Eclipse

- Added m2e lifecycle configuration for maven-plugin-plugin since mavendev m2e connector is no longer maintained
- Minor formatting

Modified:
    uima/build/trunk/parent-pom/pom.xml

Modified: uima/build/trunk/parent-pom/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-pom/pom.xml?rev=1873383&r1=1873382&r2=1873383&view=diff
==============================================================================
--- uima/build/trunk/parent-pom/pom.xml (original)
+++ uima/build/trunk/parent-pom/pom.xml Thu Jan 30 21:03:06 2020
@@ -2718,9 +2718,7 @@ Copyright (c) 2003, 2006 IBM Corporation
 		                <pluginExecution>
 		                  <pluginExecutionFilter>
 		                    <groupId>org.apache.maven.plugins</groupId>
-		                    <artifactId>
-		                      maven-remote-resources-plugin
-		                    </artifactId>
+		                    <artifactId>maven-remote-resources-plugin</artifactId>
 		                    <versionRange>[1,)</versionRange>
 		                    <goals>
 		                      <goal>process</goal>
@@ -2738,9 +2736,7 @@ Copyright (c) 2003, 2006 IBM Corporation
 		                <pluginExecution>
 		                  <pluginExecutionFilter>
 		                    <groupId>org.apache.uima</groupId>
-		                    <artifactId>
-		                      uima-build-helper-maven-plugin
-		                    </artifactId>
+		                    <artifactId>uima-build-helper-maven-plugin</artifactId>
 		                    <versionRange>[2,)</versionRange>
 		                    <goals>
 		                      <goal>parse-date-time</goal>
@@ -2824,8 +2820,7 @@ Copyright (c) 2003, 2006 IBM Corporation
                       <action>
                         <execute />
                       </action>
-                    </pluginExecution>                    
-
+                    </pluginExecution>
                     <pluginExecution>
                       <pluginExecutionFilter>
                         <groupId>org.codehaus.mojo</groupId>
@@ -2838,7 +2833,44 @@ Copyright (c) 2003, 2006 IBM Corporation
                       <action>
                         <ignore />
                       </action>
-                    </pluginExecution>                    
+                    </pluginExecution>
+                    
+                    <!-- *********************************************** -->
+                    <!-- The Maven Dev Connector for Eclipse m2e is no   -->
+                    <!-- longer maintained. We copy the relevant part    --> 
+                    <!-- of the lifecycle mapping for the                -->
+                    <!-- maven-plugin-plugin here.                       -->
+                    <!--                                                 -->
+                    <!-- See https://github.com/ifedorenko/com.ifedorenko.m2e.mavendev/blob/master/com.ifedorenko.m2e.mavendev/lifecycle-mapping-metadata.xml -->
+                    <!-- *********************************************** -->
+                    <pluginExecution>
+                      <pluginExecutionFilter>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-plugin-plugin</artifactId>
+                        <versionRange>[3.5.2,)</versionRange>
+                        <goals>
+                          <goal>descriptor</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <execute>
+                          <runOnIncremental>false</runOnIncremental>
+                        </execute>
+                      </action>
+                    </pluginExecution>
+                    <pluginExecution>
+                      <pluginExecutionFilter>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-plugin-plugin</artifactId>
+                        <versionRange>[3.5.2,)</versionRange>
+                        <goals>
+                          <goal>helpmojo</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <ignore />
+                      </action>
+                    </pluginExecution>
 		              </pluginExecutions>
 		            </lifecycleMappingMetadata>
 		          </configuration>