diff options
author | Igor Fedorenko | 2011-01-12 03:53:59 +0000 |
---|---|---|
committer | Igor Fedorenko | 2011-01-12 03:53:59 +0000 |
commit | c022f237d630ae17d8a0691dc21e007c0ff4c095 (patch) | |
tree | 04c1a3cfd93052698157bb10334437d8739b9c39 /org.eclipse.m2e.lifecyclemapping.defaults | |
parent | b37de4a7ce7c96f31b10569c0041d25f5b1ea385 (diff) | |
download | m2e-core-c022f237d630ae17d8a0691dc21e007c0ff4c095.tar.gz m2e-core-c022f237d630ae17d8a0691dc21e007c0ff4c095.tar.xz m2e-core-c022f237d630ae17d8a0691dc21e007c0ff4c095.zip |
separate bundle for default lifecycle mapping metadata
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.lifecyclemapping.defaults')
5 files changed, 297 insertions, 0 deletions
diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/.project b/org.eclipse.m2e.lifecyclemapping.defaults/.project new file mode 100644 index 00000000..c4d629b2 --- /dev/null +++ b/org.eclipse.m2e.lifecyclemapping.defaults/.project @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.m2e.lifecyclemapping.defaults</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/META-INF/MANIFEST.MF b/org.eclipse.m2e.lifecyclemapping.defaults/META-INF/MANIFEST.MF new file mode 100644 index 00000000..39794c09 --- /dev/null +++ b/org.eclipse.m2e.lifecyclemapping.defaults/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.m2e.lifecyclemapping.defaults;singleton:=true +Bundle-Version: 0.13.0.qualifier +Require-Bundle: org.eclipse.m2e.core;bundle-version="0.13.0", + org.eclipse.m2e.jdt;bundle-version="0.13.0" +Bundle-Vendor: %Bundle-Vendor diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/build.properties b/org.eclipse.m2e.lifecyclemapping.defaults/build.properties new file mode 100644 index 00000000..80f53365 --- /dev/null +++ b/org.eclipse.m2e.lifecyclemapping.defaults/build.properties @@ -0,0 +1,2 @@ +bin.includes = META-INF/,\ + lifecycle-mapping-metadata.xml diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml new file mode 100644 index 00000000..87e910c2 --- /dev/null +++ b/org.eclipse.m2e.lifecyclemapping.defaults/lifecycle-mapping-metadata.xml @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="UTF-8"?> +<lifecycleMappingMetadata> + + <lifecycleMappings> + + <lifecycleMapping> + <packagingType>maven-plugin</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> + + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <versionRange>[2.3,)</versionRange> + <goals> + <goal>descriptor</goal> + </goals> + </pluginExecutionFilter> + <action> + <execute runOnIncremental="false"/> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMapping> + + </lifecycleMappings> + + <pluginExecutions> + <!-- standard maven plugins --> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <goals> + <goal>resources</goal> + <goal>testResources</goal> + </goals> + <versionRange>[2.4,)</versionRange> + </pluginExecutionFilter> + <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> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <goals> + <goal>unpack</goal> + </goals> + <versionRange>[2.0,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <goals> + <goal>enforce</goal> + </goals> + <versionRange>[1.0,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <goals> + <goal>install</goal> + </goals> + <versionRange>[1.6-SONATYPE-r940877,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-remote-resources-plugin</artifactId> + <versionRange>[1.0,)</versionRange> + <goals> + <goal>process</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + + + <!-- commonly used codehaus plugins --> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <goals> + <goal>xsd</goal> + </goals> + <versionRange>[1.3,)</versionRange> + </pluginExecutionFilter> + <action> + <execute /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.codehaus.enunciate</groupId> + <artifactId>maven-enunciate-plugin</artifactId> + <goals> + <goal>docs</goal> + </goals> + <versionRange>[1.20-SONATYPE-r919,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <versionRange>[1.0,)</versionRange> + <goals> + <goal>check</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <versionRange>[1.0-beta-1,)</versionRange> + <goals> + <goal>create</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + + + <!-- commonly use sonatype plugins --> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.sonatype.plugins</groupId> + <artifactId>provided-dependencies-maven-plugin</artifactId> + <goals> + <goal>generate</goal> + </goals> + <versionRange>[1.4,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.sonatype.plugins</groupId> + <artifactId>app-lifecycle-maven-plugin</artifactId> + <goals> + <goal>check-dependencies</goal> + </goals> + <versionRange>[1.1,)</versionRange> + </pluginExecutionFilter> + <action> + <execute /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.sonatype.plugins</groupId> + <artifactId>app-lifecycle-maven-plugin</artifactId> + <goals> + <goal>generate-metadata</goal> + <goal>inject-artifact-handler</goal> + </goals> + <versionRange>[1.1,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-test-environment-maven-plugin</artifactId> + <goals> + <goal>setup-environment</goal> + </goals> + <versionRange>[1.6-SNAPSHOT,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>net.sf.alchim</groupId> + <artifactId>yuicompressor-maven-plugin</artifactId> + <goals> + <goal>compress</goal> + </goals> + <versionRange>[0.7.1,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.sonatype.plugins</groupId> + <artifactId>yuicompressor-maven-plugin</artifactId> + <goals> + <goal>aggregate</goal> + </goals> + <versionRange>[0.0.1,)</versionRange> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + + </pluginExecutions> +</lifecycleMappingMetadata> diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/plugin.properties b/org.eclipse.m2e.lifecyclemapping.defaults/plugin.properties new file mode 100644 index 00000000..ba291939 --- /dev/null +++ b/org.eclipse.m2e.lifecyclemapping.defaults/plugin.properties @@ -0,0 +1,10 @@ +# +# Copyright (c) 2007, 2008 Sonatype, Inc. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# + +Bundle-Vendor = Sonatype, Inc. +Bundle-Name = Default Build Lifecycle Mapping Metadata |