Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-01-26 11:33:22 -0500
committervladt2011-01-26 11:33:22 -0500
commit31b231137bdda44c73eb892e3495dc63bb4c228a (patch)
treeef67dad7f678b05e4cbb92652faa66fe1bcf813c /org.eclipse.m2e.lifecyclemapping.defaults
parent30f4c81b320ebec8efe155eec3aa1e0a8094f4ee (diff)
downloadm2e-core-31b231137bdda44c73eb892e3495dc63bb4c228a.tar.gz
m2e-core-31b231137bdda44c73eb892e3495dc63bb4c228a.tar.xz
m2e-core-31b231137bdda44c73eb892e3495dc63bb4c228a.zip
Mapped war packaging type to org.eclipse.m2e.jdt.JarLifecycleMapping
Diffstat (limited to 'org.eclipse.m2e.lifecyclemapping.defaults')
-rw-r--r--org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml23
1 files changed, 23 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 86f8c27a..a8388ea5 100644
--- a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
+++ b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml
@@ -63,6 +63,29 @@
</pluginExecution>
</pluginExecutions>
</lifecycleMapping>
+
+ <lifecycleMapping>
+ <packagingType>war</packagingType>
+ <lifecycleMappingId>org.eclipse.m2e.jdt.JarLifecycleMapping</lifecycleMappingId>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <versionRange>[2.0,)</versionRange>
+ <goals>
+ <goal>compile</goal>
+ <goal>testCompile</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <configurator>
+ <id>org.eclipse.m2e.jdt.javaConfigurator</id>
+ </configurator>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMapping>
</lifecycleMappings>
<pluginExecutions>

Back to the top