Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-01-25 22:00:47 +0000
committervladt2011-01-25 22:00:47 +0000
commit03be46541b51a2ea086814a18f8b40f1fcdbbe6e (patch)
tree3da3f5baef5dcf78c877f0802b5c16cb10f5d3ce /org.eclipse.m2e.lifecyclemapping.defaults
parent7bc60d0a57ad1d77b729024b9e7f9ccf6037c7aa (diff)
downloadm2e-core-03be46541b51a2ea086814a18f8b40f1fcdbbe6e.tar.gz
m2e-core-03be46541b51a2ea086814a18f8b40f1fcdbbe6e.tar.xz
m2e-core-03be46541b51a2ea086814a18f8b40f1fcdbbe6e.zip
335330 - Add messages for plugin executions in the default lifecycle mapping metadata
Diffstat (limited to 'org.eclipse.m2e.lifecyclemapping.defaults')
-rw-r--r--org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml36
1 files changed, 28 insertions, 8 deletions
diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
index 60f45866..4e392d31 100644
--- a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
+++ b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
-
<lifecycleMappings>
-
<lifecycleMapping>
<packagingType>maven-plugin</packagingType>
<lifecycleMappingId>org.eclipse.m2e.jdt.JarLifecycleMapping</lifecycleMappingId>
@@ -62,6 +60,22 @@
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <goals>
+ <goal>resources</goal>
+ <goal>testResources</goal>
+ </goals>
+ <versionRange>[0.0.1,2.4)</versionRange>
+ </pluginExecutionFilter>
+ <action>
+ <error>
+ <message>maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-resources-plugin version 2.4 or later.</message>
+ </error>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<goals>
<goal>unpack</goal>
@@ -69,7 +83,9 @@
<versionRange>[2.0,)</versionRange>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore>
+ <message>maven-dependency-plugin (goal "unpack") is ignored by m2e.</message>
+ </ignore>
</action>
</pluginExecution>
<pluginExecution>
@@ -82,7 +98,9 @@
<versionRange>[1.0-alpha-1,)</versionRange>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore>
+ <message>maven-enforcer-plugin (goal "enforce") is ignored by m2e.</message>
+ </ignore>
</action>
</pluginExecution>
<pluginExecution>
@@ -95,7 +113,9 @@
<versionRange>[1.6-SONATYPE-r940877,)</versionRange>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore>
+ <message>maven-invoker-plugin (goal "install") is ignored by m2e.</message>
+ </ignore>
</action>
</pluginExecution>
<pluginExecution>
@@ -108,11 +128,12 @@
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore>
+ <message>maven-remote-resources-plugin (goal "process") is ignored by m2e.</message>
+ </ignore>
</action>
</pluginExecution>
-
<!-- commonly used codehaus plugins -->
<pluginExecution>
<pluginExecutionFilter>
@@ -261,6 +282,5 @@
<execute />
</action>
</pluginExecution>
-
</pluginExecutions>
</lifecycleMappingMetadata>

Back to the top