[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
git-svn-id: https://svn.apache.org/repos/asf/uima/build/trunk/parent-pom@1873383 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index ed744d0..c8c1c66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2718,9 +2718,7 @@
<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 @@
<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 @@
<action>
<execute />
</action>
- </pluginExecution>
-
+ </pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
@@ -2838,7 +2833,44 @@
<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>