diff options
author | vladt | 2010-12-14 23:04:34 +0000 |
---|---|---|
committer | vladt | 2010-12-14 23:05:05 +0000 |
commit | 55d285f37094796395b3801b56405b25d6603824 (patch) | |
tree | 03bb70e173316ae7bb2234dc210d8d8cae154019 /default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml | |
parent | fe7a7aaa3dce6cb9eb19a1e9618a82a0f24ae942 (diff) | |
download | m2e-core-55d285f37094796395b3801b56405b25d6603824.tar.gz m2e-core-55d285f37094796395b3801b56405b25d6603824.tar.xz m2e-core-55d285f37094796395b3801b56405b25d6603824.zip |
MNGECLIPSE-2626: Integrated the lifecycle mapping (by packaging type) metadata lookup into lifecycle mapping configuration
Diffstat (limited to 'default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml')
-rw-r--r-- | default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml | 90 |
1 files changed, 49 insertions, 41 deletions
diff --git a/default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml b/default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml index 9894c676..0ac84c10 100644 --- a/default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml +++ b/default-lifecycle-mapping-metadata/default-lifecycle-mapping-metadata.xml @@ -1,45 +1,53 @@ <?xml version="1.0" encoding="UTF-8"?> <lifecycleMappingMetadata> - <lifecycleMappings> - <lifecycleMapping> - <!-- The id matches the id declared in the eclipse extension for the lifecycle mapping --> - <id>jar</id> - <packaging-type>jar</packaging-type> - </lifecycleMapping> - </lifecycleMappings> + <lifecycleMappings> + <lifecycleMapping> + <!-- The id matches the id declared in the eclipse extension for the + lifecycle mapping --> + <id>org.eclipse.m2e.jdt.JarLifecycleMapping</id> + <packagingType>war</packagingType> + </lifecycleMapping> + <lifecycleMapping> + <!-- The id matches the id declared in the eclipse extension for the + lifecycle mapping --> + <id>org.eclipse.m2e.jdt.JarLifecycleMapping</id> + <packagingType>nexus-plugin</packagingType> + </lifecycleMapping> + </lifecycleMappings> - <mojos> - <mojo> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <goals> - <goal>compile</goal> - <goal>testCompile</goal> - </goals> - <versionRange>[2.0,)</versionRange> - <configurator> - <!-- The id matches the id declared in the eclipse extension for the project configurator --> - <id>org.eclipse.m2e.jdt.javaConfigurator</id> - </configurator> - </mojo> - <mojo> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <goals> - <goal>jar</goal> - </goals> - <versionRange>[2.0,)</versionRange> - <ignore /> - </mojo> - <mojo> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <goals> - <goal>resources</goal> - <goal>testResources</goal> - </goals> - <versionRange>[2.0,)</versionRange> - <execute /> - </mojo> - </mojos> + <mojos> + <mojo> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <goals> + <goal>compile</goal> + <goal>testCompile</goal> + </goals> + <versionRange>[2.0,)</versionRange> + <action> + <configurator> + <!-- The id matches the id declared in the eclipse extension for + the project configurator --> + <id>org.eclipse.m2e.jdt.javaConfigurator</id> + </configurator> + </action> + </mojo> + <mojo> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <goals> + <goal>resources</goal> + <goal>testResources</goal> + </goals> + <versionRange>[2.4,)</versionRange> + <action> + <configurator> + <!-- The id matches the id declared in the eclipse extension for + the project configurator --> + <id>org.eclipse.m2e.core.project.configurator.MavenResourcesProjectConfigurator + </id> + </configurator> + </action> + </mojo> + </mojos> </lifecycleMappingMetadata> |