The CBUILD RPM Light Lifecycle is used to covert a tarball into an RPM. The table below shows the different phases of the RPM Lifecycle and the goals (including standard maven goals) attached to them.
| Phase | Goals |
| validate | cbuild-plugin-parent/rpm-cbuild-maven-plugin/platform-detect-mojo.html}Detect OS, Arch, version |
| initialize | resolve dependencies, resolve patches, resolve tarball, unpack tarball |
| 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 |