CBUILD Java RPM Lifecycle

The CBUILD Java RPM Lifecycle is used to stuff a jar or other set of files into an RPM. The table below shows the different phases of the RPM Lifecycle and the goals (including standard maven goals) attached to them.

Document written Nov 2, 2008, updated May 17, 2009.

Phase Goals
validate cbuild-plugin-parent/rpm-cbuild-maven-plugin/platform-detect-mojo.html}Detect OS, Arch, version
initialize cbuild-plugin-parent/patch-maven-plugin/resolve-patches-mojo.html}resolve patches,
generate-sources
process-sources patch sources
process-resources
generate-resources
compile
process-classes
process-test-resources
test-compile
test
package generate spec,
build,
package patches,
make dummy jarfile
integration-test
install install artifacts to repo,
install rpm to system,
purge patch
deploy deploy
Java RPM CBUILD Lifecycle