diff options
author | Fred Bricon | 2012-03-09 22:50:31 +0000 |
---|---|---|
committer | Fred Bricon | 2012-03-09 22:50:31 +0000 |
commit | 07c3e257e365ea67f201637ea995bae65a6214d7 (patch) | |
tree | 9b3758d6948c502e319abd5269be463e46bb739c /org.eclipse.m2e.editor.xml | |
parent | a110d90acc856de4057c8e7f4447ef2921c85472 (diff) | |
download | m2e-core-07c3e257e365ea67f201637ea995bae65a6214d7.tar.gz m2e-core-07c3e257e365ea67f201637ea995bae65a6214d7.tar.xz m2e-core-07c3e257e365ea67f201637ea995bae65a6214d7.zip |
373738 Update the plugin templates in the XML editor
Signed-off-by: Fred Bricon <fbricon@gmail.com>
Diffstat (limited to 'org.eclipse.m2e.editor.xml')
-rw-r--r-- | org.eclipse.m2e.editor.xml/plugin.xml | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/org.eclipse.m2e.editor.xml/plugin.xml b/org.eclipse.m2e.editor.xml/plugin.xml index 3c4fb0cf..04e71c8d 100644 --- a/org.eclipse.m2e.editor.xml/plugin.xml +++ b/org.eclipse.m2e.editor.xml/plugin.xml @@ -180,10 +180,11 @@ <pattern><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> <configuration> <!-- http://maven.apache.org/plugins/maven-compiler-plugin/ --> - <source>${cursor}1.5</source> - <target>1.5</target> + <source>${cursor}1.6</source> + <target>1.6</target> </configuration> </plugin></pattern> </template> @@ -195,6 +196,7 @@ <pattern><plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> + <version>1.4</version> <!-- http://mojo.codehaus.org/aspectj-maven-plugin/ --> <executions> <execution> @@ -213,15 +215,17 @@ <pattern><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> - <version>2.1-beta-1</version> + <version>2.2</version> <configuration> - <!-- http://maven.apache.org/plugins/maven-war-plugin/ --> - <warSourceDirectory>src/main/webapp</warSourceDirectory> + <!-- web.xml is not mandatory since JavaEE 5 --> + <failOnMissingWebXml>true</failOnMissingWebXml> <!-- + <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors> + <warSourceDirectory>WebContent</warSourceDirectory> <webResources> <resource> <directory>src/main/webapp2</directory> - <filtering>false</filtering> + <filtering>true</filtering> </resource> </webResources> --> @@ -236,7 +240,7 @@ <pattern><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> - <version>2.2</version> + <version>2.3</version> <configuration> <!-- http://maven.apache.org/plugins/maven-ejb-plugin/ --> <ejbVersion>3.0</ejbVersion> @@ -251,23 +255,26 @@ <pattern><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> - <version>2.4.1</version> + <version>2.7</version> <configuration> <!-- http://maven.apache.org/plugins/maven-ear-plugin/ --> <version>5</version> + <defaultLibBundleDir>lib</defaultLibBundleDir> <!-- + <generateApplicationXml>false</generateApplicationXml> <earSourceDirectory>EarContent</earSourceDirectory> <applicationXml>EarContent/META-INF/application.xml</applicationXml> - <generateApplicationXml>true</generateApplicationXml> <modules> - <ejbModule> - <groupId>org.foo2</groupId> - <artifactId>test-ejb</artifactId> - </ejbModule> <webModule> <groupId>org.foo2</groupId> <artifactId>test-war</artifactId> + <contextRoot>/custom-context-root</contextRoot> </webModule> + <ejbModule> + <groupId>org.foo2</groupId> + <artifactId>test-ejb</artifactId> + <bundleFileName>anothername.jar</bundleFileName> + </ejbModule> <jarModule> <groupId>org.foo2</groupId> <artifactId>test-jar</artifactId> |