Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-04-12 13:06:15 -0400
committerIgor Fedorenko2011-04-12 13:06:22 -0400
commit82f98e04fecbff44ddda2d95c76a8cb14569a254 (patch)
treedfd0f788db6c9dd22a5b47692ef39ff004141b3c /org.eclipse.m2e.lifecyclemapping.defaults
parentfb4e41a5a1801aed779885935d8e950614588aa8 (diff)
downloadm2e-core-82f98e04fecbff44ddda2d95c76a8cb14569a254.tar.gz
m2e-core-82f98e04fecbff44ddda2d95c76a8cb14569a254.tar.xz
m2e-core-82f98e04fecbff44ddda2d95c76a8cb14569a254.zip
ignore all maven-source-plugin goals by default
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.lifecyclemapping.defaults')
-rw-r--r--org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
index db3d711c..c2fdd655 100644
--- a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
+++ b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
@@ -157,6 +157,24 @@
</error>
</action>
</pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <versionRange>[2.0,)</versionRange>
+ <goals>
+ <goal>jar-no-fork</goal>
+ <goal>test-jar-no-fork</goal>
+ <!-- theoretically, the following goals should not be bound to lifecycle, but ignore them just in case -->
+ <goal>jar</goal>
+ <goal>aggregate</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore/>
+ </action>
+ </pluginExecution>
<!-- commonly used codehaus plugins -->
<pluginExecution>

Back to the top