Fork me on GitHub

rpm-builder:package

Full name:

org.jboss.pnc:rpm-builder-maven-plugin:1.6-SNAPSHOT:package

Description:

Run rpmbuild and package the results.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
<attachZip> boolean - Whether to attach the RPMs in a zip
Default: true
User Property: attachZip
<changeLog> RPMBuilder$Changelog - Whether to generate a changeLog. For example:
<changeLog>
   <generate>true</generate>
   <email>my-email@arandomcompany.com</email>
   <message> - MyMessageSuffix</message
</changeLog>

User Property: changeLog
<groovyPatch> String - Custom groovy script to run against the spec file.
User Property: groovyPatch
<installRPMs> boolean - Whether to unpack(install) any noarch RPMs found in the ${project.build.directory}/dependency directory
Default: false
User Property: installRPMs
<macros> Map<String,String> - Custom extra macros to pass through. For example:
<macros>
   <dist>.el8eap</dist>
   <scl>eap8</scl>
</macros>

User Property: macros
<mojoExecution> MojoExecution - No description.
Default: ${mojoExecution}

Parameter Details

<attachZip>

Whether to attach the RPMs in a zip
  • Type: boolean
  • Required: No
  • User Property: attachZip
  • Default: true

<changeLog>

Whether to generate a changeLog. For example:
<changeLog>
   <generate>true</generate>
   <email>my-email@arandomcompany.com</email>
   <message> - MyMessageSuffix</message
</changeLog>
  • Type: org.jboss.pnc.rpmbuilderplugin.RPMBuilder$Changelog
  • Required: No
  • User Property: changeLog

<groovyPatch>

Custom groovy script to run against the spec file.
  • Type: java.lang.String
  • Required: No
  • User Property: groovyPatch

<installRPMs>

Whether to unpack(install) any noarch RPMs found in the ${project.build.directory}/dependency directory
  • Type: boolean
  • Required: No
  • User Property: installRPMs
  • Default: false

<macros>

Custom extra macros to pass through. For example:
<macros>
   <dist>.el8eap</dist>
   <scl>eap8</scl>
</macros>
  • Type: java.util.Map<java.lang.String, java.lang.String>
  • Required: No
  • User Property: macros

<mojoExecution>

No description.
  • Type: org.apache.maven.plugin.MojoExecution
  • Required: No
  • Default: ${mojoExecution}