Fork me on GitHub

RPM Builder Maven Plugin

This plugin assists in building RPMs while using PME.

This requires the rpmbuild binary to be installed in the host system. It should be run in a directory containing a spec file which will be automatically located.


Note: when using this plugin the packaging should be set to spec. It will attach the spec file (that may have been modified by the patching mechanism) to the build as the primary artifact.

Note: the prior build to be wrapped should have its version embedded in the properties under the property wrappedBuild. This is mandatory if using changelog generation.


Quickstart

Add the following to your plugins section:

<plugin>
   <groupId>org.jboss.pnc</groupId>
   <artifactId>rpm-builder-maven-plugin</artifactId>
   <version>1.3-SNAPSHOT</version>
   <extensions>true</extensions>
</plugin>

Usage

Instructions on how to use the plugin can be found here.