mirror of https://github.com/apache/maven.git
|MNG-5370] moved plugin bindings to default lifecycle configuration to default-bindings.xml to let only artifact handlers configuration in artifact-handlers.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3bab630d58
commit
6c032edddb
|
@ -21,13 +21,7 @@ under the License.
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
Artifact handlers are required by the dependency resolution mechanism and therefore needed by the core.
|
Artifact handlers are required by the dependency resolution mechanism.
|
||||||
The type specified by a dependency could be altered to load a particular plugin in order to get the
|
|
||||||
artifact handler. This would make it easier to encapsulate all handling for a type in one place and
|
|
||||||
not be bound to the core. It wouldn't be terrible as the plugin would need to be downloaded, classloaded,
|
|
||||||
components discovered which is probably a reasonable price to pay for complete and comprehensible
|
|
||||||
encapsulation. All these special entries here is probably understood by no one which is a real
|
|
||||||
problem.
|
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
@ -44,28 +38,6 @@ problem.
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>pom</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: pom-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: pom-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| JAR
|
| JAR
|
||||||
|
@ -80,46 +52,6 @@ problem.
|
||||||
<addedToClasspath>true</addedToClasspath>
|
<addedToClasspath>true</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>jar</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: jar-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-jar-plugin:2.3.2:jar
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: jar-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| EJB
|
| EJB
|
||||||
|
@ -135,46 +67,6 @@ problem.
|
||||||
<addedToClasspath>true</addedToClasspath>
|
<addedToClasspath>true</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>ejb</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: ejb-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: ejb-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
<component>
|
<component>
|
||||||
<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
|
<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
|
||||||
<role-hint>ejb-client</role-hint>
|
<role-hint>ejb-client</role-hint>
|
||||||
|
@ -199,46 +91,6 @@ problem.
|
||||||
<addedToClasspath>false</addedToClasspath>
|
<addedToClasspath>false</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>ejb3</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: ejb3-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-ejb3-plugin:ejb3
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: ejb3-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| TEST JAR
|
| TEST JAR
|
||||||
|
@ -271,50 +123,6 @@ problem.
|
||||||
<addedToClasspath>true</addedToClasspath>
|
<addedToClasspath>true</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>maven-plugin</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: maven-plugin-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<generate-resources>
|
|
||||||
org.apache.maven.plugins:maven-plugin-plugin:2.9:descriptor
|
|
||||||
</generate-resources>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar,
|
|
||||||
org.apache.maven.plugins:maven-plugin-plugin:2.9:addPluginArtifactMetadata
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: maven-plugin-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| SOURCE JAR
|
| SOURCE JAR
|
||||||
|
@ -362,46 +170,6 @@ problem.
|
||||||
<addedToClasspath>false</addedToClasspath>
|
<addedToClasspath>false</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>war</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: war-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-war-plugin:2.1.1:war
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: war-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| EAR
|
| EAR
|
||||||
|
@ -417,37 +185,6 @@ problem.
|
||||||
<addedToClasspath>false</addedToClasspath>
|
<addedToClasspath>false</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>ear</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: ear-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<generate-resources>
|
|
||||||
org.apache.maven.plugins:maven-ear-plugin:2.5:generate-application-xml
|
|
||||||
</generate-resources>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources
|
|
||||||
</process-resources>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-ear-plugin:2.6:ear
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: ear-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| RAR
|
| RAR
|
||||||
|
@ -463,46 +200,6 @@ problem.
|
||||||
<addedToClasspath>false</addedToClasspath>
|
<addedToClasspath>false</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>rar</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: rar-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-rar-plugin:2.2:rar
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: rar-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
| PAR
|
| PAR
|
||||||
|
@ -518,45 +215,5 @@ problem.
|
||||||
<addedToClasspath>false</addedToClasspath>
|
<addedToClasspath>false</addedToClasspath>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
|
||||||
<role-hint>par</role-hint>
|
|
||||||
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
|
||||||
<configuration>
|
|
||||||
<lifecycles>
|
|
||||||
<lifecycle>
|
|
||||||
<id>default</id>
|
|
||||||
<!-- START SNIPPET: par-lifecycle -->
|
|
||||||
<phases>
|
|
||||||
<process-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
|
||||||
</process-resources>
|
|
||||||
<compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
|
||||||
</compile>
|
|
||||||
<process-test-resources>
|
|
||||||
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
|
||||||
</process-test-resources>
|
|
||||||
<test-compile>
|
|
||||||
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
|
||||||
</test-compile>
|
|
||||||
<test>
|
|
||||||
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
|
||||||
</test>
|
|
||||||
<package>
|
|
||||||
org.apache.maven.plugins:maven-par-plugin:par
|
|
||||||
</package>
|
|
||||||
<install>
|
|
||||||
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
|
||||||
</install>
|
|
||||||
<deploy>
|
|
||||||
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
|
||||||
</deploy>
|
|
||||||
</phases>
|
|
||||||
<!-- END SNIPPET: par-lifecycle -->
|
|
||||||
</lifecycle>
|
|
||||||
</lifecycles>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
||||||
</components>
|
</components>
|
||||||
</component-set>
|
</component-set>
|
||||||
|
|
|
@ -0,0 +1,399 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
or more contributor license agreements. See the NOTICE file
|
||||||
|
distributed with this work for additional information
|
||||||
|
regarding copyright ownership. The ASF licenses this file
|
||||||
|
to you under the Apache License, Version 2.0 (the
|
||||||
|
"License"); you may not use this file except in compliance
|
||||||
|
with the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
Mappings to default lifecycle, specific for each packaging.
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<component-set>
|
||||||
|
<components>
|
||||||
|
<!--
|
||||||
|
| POM
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>pom</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: pom-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: pom-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| JAR
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>jar</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: jar-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-jar-plugin:2.3.2:jar
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: jar-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| EJB
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>ejb</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: ejb-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: ejb-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>ejb3</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: ejb3-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-ejb3-plugin:ejb3
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: ejb3-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| MAVEN PLUGIN
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>maven-plugin</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: maven-plugin-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<generate-resources>
|
||||||
|
org.apache.maven.plugins:maven-plugin-plugin:2.9:descriptor
|
||||||
|
</generate-resources>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar,
|
||||||
|
org.apache.maven.plugins:maven-plugin-plugin:2.9:addPluginArtifactMetadata
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: maven-plugin-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| WAR
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>war</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: war-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-war-plugin:2.1.1:war
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: war-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| EAR
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>ear</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: ear-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<generate-resources>
|
||||||
|
org.apache.maven.plugins:maven-ear-plugin:2.5:generate-application-xml
|
||||||
|
</generate-resources>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources
|
||||||
|
</process-resources>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-ear-plugin:2.6:ear
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: ear-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| RAR
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>rar</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: rar-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-rar-plugin:2.2:rar
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: rar-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
| PAR
|
||||||
|
|-->
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
|
||||||
|
<role-hint>par</role-hint>
|
||||||
|
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
|
||||||
|
<configuration>
|
||||||
|
<lifecycles>
|
||||||
|
<lifecycle>
|
||||||
|
<id>default</id>
|
||||||
|
<!-- START SNIPPET: par-lifecycle -->
|
||||||
|
<phases>
|
||||||
|
<process-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
|
||||||
|
</process-resources>
|
||||||
|
<compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
|
||||||
|
</compile>
|
||||||
|
<process-test-resources>
|
||||||
|
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
|
||||||
|
</process-test-resources>
|
||||||
|
<test-compile>
|
||||||
|
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
|
||||||
|
</test-compile>
|
||||||
|
<test>
|
||||||
|
org.apache.maven.plugins:maven-surefire-plugin:2.12.1:test
|
||||||
|
</test>
|
||||||
|
<package>
|
||||||
|
org.apache.maven.plugins:maven-par-plugin:par
|
||||||
|
</package>
|
||||||
|
<install>
|
||||||
|
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
|
||||||
|
</install>
|
||||||
|
<deploy>
|
||||||
|
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
|
||||||
|
</deploy>
|
||||||
|
</phases>
|
||||||
|
<!-- END SNIPPET: par-lifecycle -->
|
||||||
|
</lifecycle>
|
||||||
|
</lifecycles>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
</components>
|
||||||
|
</component-set>
|
|
@ -15,37 +15,37 @@ Plugin Bindings for <<<default>>> Lifecycle Reference
|
||||||
|
|
||||||
* Plugin bindings for <<<pom>>> packaging
|
* Plugin bindings for <<<pom>>> packaging
|
||||||
|
|
||||||
%{snippet|id=pom-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=pom-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<jar>>> packaging
|
* Plugin bindings for <<<jar>>> packaging
|
||||||
|
|
||||||
%{snippet|id=jar-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=jar-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<ejb>>> packaging
|
* Plugin bindings for <<<ejb>>> packaging
|
||||||
|
|
||||||
%{snippet|id=ejb-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=ejb-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<ejb3>>> packaging
|
* Plugin bindings for <<<ejb3>>> packaging
|
||||||
|
|
||||||
%{snippet|id=ejb3-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=ejb3-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<maven-plugin>>> packaging
|
* Plugin bindings for <<<maven-plugin>>> packaging
|
||||||
|
|
||||||
%{snippet|id=maven-plugin-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=maven-plugin-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<war>>> packaging
|
* Plugin bindings for <<<war>>> packaging
|
||||||
|
|
||||||
%{snippet|id=war-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=war-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<ear>>> packaging
|
* Plugin bindings for <<<ear>>> packaging
|
||||||
|
|
||||||
%{snippet|id=ear-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=ear-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<rar>>> packaging
|
* Plugin bindings for <<<rar>>> packaging
|
||||||
|
|
||||||
%{snippet|id=rar-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=rar-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
||||||
* Plugin bindings for <<<par>>> packaging
|
* Plugin bindings for <<<par>>> packaging
|
||||||
|
|
||||||
%{snippet|id=par-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/artifact-handlers.xml}
|
%{snippet|id=par-lifecycle|file=${project.basedir}/src/main/resources/META-INF/plexus/default-bindings.xml}
|
||||||
|
|
Loading…
Reference in New Issue