Plugin Bindings for default
Lifecycle Reference
The default
lifecycle is defined without any plugin binding; plugin bindings are defined separately in META-INF/plexus/default-bindings.xml
because they are specific for each packaging:
- Plugin bindings for pom packaging
- Plugin bindings for jar packaging
- Plugin bindings for ejb packaging
- Plugin bindings for maven-plugin packaging
- Plugin bindings for war packaging
- Plugin bindings for ear packaging
- Plugin bindings for rar packaging
Plugin bindings for pom
packaging
<phases> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>
Plugin bindings for jar
packaging
<phases> <process-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources </process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile </compile> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources </process-test-resources> <test-compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile </test-compile> <test> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test </test> <package> org.apache.maven.plugins:maven-jar-plugin:3.4.1:jar </package> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>
Plugin bindings for ejb
packaging
<phases> <process-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources </process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile </compile> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources </process-test-resources> <test-compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile </test-compile> <test> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test </test> <package> org.apache.maven.plugins:maven-ejb-plugin:3.2.1:ejb </package> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>
Plugin bindings for maven-plugin
packaging
<phases> <process-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources </process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile </compile> <process-classes> org.apache.maven.plugins:maven-plugin-plugin:3.12.0:descriptor </process-classes> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources </process-test-resources> <test-compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile </test-compile> <test> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test </test> <package> org.apache.maven.plugins:maven-jar-plugin:3.4.1:jar, org.apache.maven.plugins:maven-plugin-plugin:3.12.0:addPluginArtifactMetadata </package> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>
Plugin bindings for war
packaging
<phases> <process-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources </process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile </compile> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources </process-test-resources> <test-compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile </test-compile> <test> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test </test> <package> org.apache.maven.plugins:maven-war-plugin:3.4.0:war </package> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>
Plugin bindings for ear
packaging
<phases> <generate-resources> org.apache.maven.plugins:maven-ear-plugin:3.3.0:generate-application-xml </generate-resources> <process-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources </process-resources> <package> org.apache.maven.plugins:maven-ear-plugin:3.3.0:ear </package> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>
Plugin bindings for rar
packaging
<phases> <process-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources </process-resources> <compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile </compile> <process-test-resources> org.apache.maven.plugins:maven-resources-plugin:3.3.1:testResources </process-test-resources> <test-compile> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile </test-compile> <test> org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test </test> <package> org.apache.maven.plugins:maven-rar-plugin:3.0.0:rar </package> <install> org.apache.maven.plugins:maven-install-plugin:3.1.1:install </install> <deploy> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy </deploy> </phases>