Plugin phases-std v0.2
Overview
Describes the standard phases of a build. These phase are directly inspired by maven 2 standard phases.
Build Phases
This plugin defines the following new build phases:
- clean
- delete any artifacts from previous builds
- validate
- validate the project is correct and all necessary information is available
- provision
- supply provision required by this project
- generate-sources
- generate any source code for inclusion in compilation
- process-sources
- process the source code, for example to filter any values
- generate-resources
- generate resources for inclusion in the package
- process-resources
- copy and process the resources into the destination directory, ready for packaging
- compile
- compile the source code of the project
- process-classes
- post-process the generated files from compilation, for example to do bytecode enhancement on Java classes
- test-provision
- supply provision required to test this project
- test-generate-sources
- generate any test source code for inclusion in compilation
- test-process-sources
- process the test source code, for example to filter any values
- test-generate-resources
- create resources for testing
- test-process-resources
- copy and process the resources into the test destination directory
- test-compile
- compile the test source code into the test destination directory
- test
- run tests using a suitable unit testing framework. These tests should not require the code be packaged or deployed
- prepare-package
- perform any operations necessary to prepare a package before the actual packaging. This often results in an unpacked, processed version of the package
- package
- take the compiled code and package it in its distributable format, such as a JAR.
- pre-integration-test
- perform actions required before integration tests are executed. This may involve things such as setting up the required environment
- integration-test
- process and deploy the package if necessary into an environment where integration tests can be run
- post-integration-test
- perform actions required after integration tests have been executed. This may including cleaning up the environment
- verify
- run any checks to verify the package is valid and meets quality criteria
- generate-local-version
- generate a local version number
- generate-shared-version
- generate a version number for shared publication
- generate-release-version
- generate a version number for a release
- publish-local
- publish the package into the local repository, for use as a dependency in other projects locally
- publish-shared
- done in an integration environment, copies the final package to the remote repository for sharing with other developers and projects
- release
- done in an integration or release environment, copies the final package to the remote repository for sharing with other developers and projects
- report
- generate report
- process-documentation-resources
- copy and process the documentation resources into the destination directory
- documentation
- generate documentation