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/29 07:59:09 UTC

[uima-uimaj] branch UIMA-6181-Fix-complaints-about-maven-plugin-plugin-in-Eclipse created (now 897c5e8)

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

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


      at 897c5e8  [UIMA-6181] Fix complaints about maven-plugin-plugin in Eclipse

This branch includes the following new commits:

     new 897c5e8  [UIMA-6181] Fix complaints about maven-plugin-plugin in Eclipse

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by re...@apache.org.
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-uimaj.git

commit 897c5e80a853663901666d2eb6db23a70558876a
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Wed Jan 29 08:59:01 2020 +0100

    [UIMA-6181] Fix complaints about maven-plugin-plugin in Eclipse
    
    - Added a profile which activate for m2e builds and tells Eclipse to ignore the maven-plugin-plugin goals
---
 uimaj-parent/pom.xml | 41 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/uimaj-parent/pom.xml b/uimaj-parent/pom.xml
index cc21d3e..87e51e5 100644
--- a/uimaj-parent/pom.xml
+++ b/uimaj-parent/pom.xml
@@ -396,10 +396,49 @@
                 </configuration>
               </execution>
             </executions>
-            
           </plugin>
         </plugins>
       </build>
     </profile>
+    <profile>
+    <!-- ********** Configure execution of Maven Plugins in Eclipse m2e ************** -->
+      <id>m2e</id>
+      <activation>
+        <property>
+          <name>m2e.version</name>
+        </property>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.eclipse.m2e</groupId>
+              <artifactId>lifecycle-mapping</artifactId>
+              <version>1.0.0</version>
+              <configuration>
+                <lifecycleMappingMetadata>
+                  <pluginExecutions>
+                    <pluginExecution>
+                      <pluginExecutionFilter>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-plugin-plugin</artifactId>
+                        <versionRange>[3.5.2,)</versionRange>
+                        <goals>
+                          <goal>descriptor</goal>
+                          <goal>helpmojo</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <ignore />
+                      </action>
+                    </pluginExecution>
+                  </pluginExecutions>
+                </lifecycleMappingMetadata>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>