Post

Maven Phases

Maven Phases

Introduction to the Build Lifecycle

These four phases are easily confused!

PhasesDescription
generate-sourcesgenerate any source code for inclusion in compilation.
process-sourcesprocess the source code, for example to filter any values.
generate-resourcesgenerate resources for inclusion in the package.
process-resourcescopy and process the resources into the destination directory, ready for packaging.
This post is licensed under CC BY 4.0 by the author.