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

<phases>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>

Plugin bindings for jar packaging

<phases>
  <process-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
  </process-resources>
  <compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
  </compile>
  <process-test-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
  </process-test-resources>
  <test-compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
  </test-compile>
  <test>
    org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
  </test>
  <package>
    org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar
  </package>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>

Plugin bindings for ejb packaging

<phases>
  <process-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
  </process-resources>
  <compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
  </compile>
  <process-test-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
  </process-test-resources>
  <test-compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
  </test-compile>
  <test>
    org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
  </test>
  <package>
    org.apache.maven.plugins:maven-ejb-plugin:2.5.1:ejb
  </package>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>

Plugin bindings for maven-plugin packaging

<phases>
  <process-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
  </process-resources>
  <compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
  </compile>
  <process-classes>
    org.apache.maven.plugins:maven-plugin-plugin:3.4:descriptor
  </process-classes>
  <process-test-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
  </process-test-resources>
  <test-compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
  </test-compile>
  <test>
    org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
  </test>
  <package>
    org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar,
    org.apache.maven.plugins:maven-plugin-plugin:3.4:addPluginArtifactMetadata
  </package>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>

Plugin bindings for war packaging

<phases>
  <process-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
  </process-resources>
  <compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
  </compile>
  <process-test-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
  </process-test-resources>
  <test-compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
  </test-compile>
  <test>
    org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
  </test>
  <package>
    org.apache.maven.plugins:maven-war-plugin:2.6:war
  </package>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>

Plugin bindings for ear packaging

<phases>
  <generate-resources>
    org.apache.maven.plugins:maven-ear-plugin:2.9.1:generate-application-xml
  </generate-resources>
  <process-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
  </process-resources>
  <package>
    org.apache.maven.plugins:maven-ear-plugin:2.9.1:ear
  </package>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>

Plugin bindings for rar packaging

<phases>
  <process-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:resources
  </process-resources>
  <compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
  </compile>
  <process-test-resources>
    org.apache.maven.plugins:maven-resources-plugin:3.0.1:testResources
  </process-test-resources>
  <test-compile>
    org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile
  </test-compile>
  <test>
    org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
  </test>
  <package>
    org.apache.maven.plugins:maven-rar-plugin:2.4:rar
  </package>
  <install>
    org.apache.maven.plugins:maven-install-plugin:2.5.2:install
  </install>
  <deploy>
    org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
  </deploy>
</phases>