The package-specific lifecycle

Each type of packaging has its own set of default goals. The default goals for JAR packaging is different from WAR packaging. Maven provides a lifecycle for the following built-in packaging types:

  • JAR
  • WAR
  • EAR
  • POM
  • EJB
  • Maven plugins

The lifecycle and goal binding for WAR packaging is described here. For other packaging lifecycle and goal binding, please refer to http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings.

Phases

plugin:goals

process-resources

resources:resources

compile

compiler:compile

process-test-resources

resources:testResources

test-compile

compiler:testCompile

test

surefire:test

package

war:war

install

install:install

deploy

deploy:deploy

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.254.192