Maven Concepts - Lifecycle: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 21: Line 21:


=Phases=
=Phases=
A ''Maven phase''


==validate==
==validate==

Revision as of 17:44, 18 November 2016

External

Internal

Overview

Maven Lifecycle.png

Lifecycle

A Maven lifecycle

Plugin Goal

A plugin goal

Phases

A Maven phase

validate

initialize

generate-sources

process-sources

generate-resources

process-resources

compile

process-classes

generate-test-sources

process-test-sources

generate-test-resources

process-test-resources

test-compile

process-test-classes

test

prepare-package

package

If using the assembly plugin, this is usually the phase where the plugin's "single" goal is associated with.

pre-integration-test

integration-test

post-integration-test

verify

install

deploy