You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2022/01/27 14:22:19 UTC
[maven-apache-parent] 01/02: [MPOM-287] - Disable m2e warning for m-remote-resource-p:process
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git
commit dbca245d0c27a7cc098c43951dc643181093fb2a
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Jan 19 08:45:20 2022 +0100
[MPOM-287] - Disable m2e warning for m-remote-resource-p:process
---
pom.xml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/pom.xml b/pom.xml
index 56510a6..bc80aba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -310,6 +310,32 @@ under the License.
<artifactId>apache-rat-plugin</artifactId>
<version>0.13</version>
</plugin>
+ <!-- Disable execution of some plugins in m2e (https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html) -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <!-- no native m2e support yet (https://issues.apache.org/jira/browse/MRRESOURCES-85) -->
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <versionRange>[1.7.0,1.8.0)</versionRange>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore/>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>