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

ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 138bf1c924 Fix m2e warning for maven-dependency-plugin
138bf1c924 is described below

commit 138bf1c92485ad8399298a0dcd6184e66dc7a0e3
Author: Christopher Tubbs <ctubb...@apache.org>
AuthorDate: Tue Mar 7 17:41:04 2023 -0500

    Fix m2e warning for maven-dependency-plugin
    
    Instruct m2e to ignore the maven-dependency-plugin:analyze-only goal
    when loading the project into Eclipse, since it can't execute that goal,
    and that's fine.
---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index 3f34cd652a..0fdef29dfe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1326,6 +1326,19 @@
               <configuration>
                 <lifecycleMappingMetadata>
                   <pluginExecutions>
+                    <pluginExecution>
+                      <pluginExecutionFilter>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <versionRange>[0,)</versionRange>
+                        <goals>
+                          <goal>analyze-only</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <ignore />
+                      </action>
+                    </pluginExecution>
                     <pluginExecution>
                       <pluginExecutionFilter>
                         <groupId>org.codehaus.mojo</groupId>

Reply via email to