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/04/09 11:24:48 UTC

[uima-uimafit] 01/01: [UIMA-6181]b Fix complaints about maven-plugin-plugin in Eclipse

This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch UIMA-6181-Fix-complaints-about-maven-plugin-plugin-in-Eclipse
in repository https://gitbox.apache.org/repos/asf/uima-uimafit.git

commit a75179145389f8bf381ef0c613c1e6aac502b532
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Thu Apr 9 13:24:36 2020 +0200

    [UIMA-6181]b Fix complaints about maven-plugin-plugin in Eclipse
    
    - Add m2e config for maven-plugin-plugin to uimaFIT parent POM so we do not have to wait for a release of the UIMA-wide parent-pom-14 before the next uimaFIT v3 release
---
 uimafit-parent/pom.xml | 38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/uimafit-parent/pom.xml b/uimafit-parent/pom.xml
index bef803f..70be74c 100644
--- a/uimafit-parent/pom.xml
+++ b/uimafit-parent/pom.xml
@@ -23,7 +23,7 @@
     <groupId>org.apache.uima</groupId>
     <artifactId>parent-pom</artifactId>
     <relativePath />
-    <version>14-SNAPSHOT</version>
+    <version>13</version>
   </parent>
   <artifactId>uimafit-parent</artifactId>
   <version>3.0.1-SNAPSHOT</version>
@@ -331,6 +331,42 @@
                     <ignore />
                   </action>
                 </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>