-
Notifications
You must be signed in to change notification settings - Fork 12
RPM parameters
The plugin supports the specification, at a per package configuration level, the following RPM parameters.
...
<configuration>
...
<packages>
<package>
<name>my-project</name>
<version>1.0</version>
<release>1</release>
<url>http://www.example.com</url>
<group>Application/Productivity</group>
<license>Apache 2.0</license>
<summary>Summary of project</summary>
<description>Description of project</description>
<architecture>i386</architecture>
</operatingSystem>linux</operatingSystem>
<buildHostName>localhost</buildHostName>
<packager>Simon</packager>
...
</package>
</packages>
</configuration>
The name of the package. Defaults to the artifactId of the Maven project if not specified.
The version of the package. Defaults to the version of the Maven project if not specified.
The release of the package. Defaults to the current UNIX EPOCH if not specified. This allows repeated builds to upgrade previous builds even when the version number has not changed.
URL of the package. Defaults to the Maven project URL if not specified, or null if the Maven project URL is not specified.
Group of the package. Defaults to null if not specified. Many Linux distributions recommend a selection of group names to best categorise packages. Fedora Linux recommend these group names.
The license of the package. Defaults to licenses of the Maven project, with each license name separated by a comma.
A summary of the package. Defaults to null if not specified.
A description of the package. Defaults to null if not specified.
Architecture of the package. This may be one of the following values (case insensitive):
- noarch
- i386
- alpha
- sparc
- mips
- ppc
- m68k
- ip
- rs6000
- ia64
- sparc64
- mipsel
- arm
- mk68kmint
- s390
- s390x
- ppc64
- sh
- xtensa
- x86_64
Defaults to noarch if not specified.
The target operating system of the package. This may be one of hte following values (case insensitive):
- unknown
- linux
- irix
- solaris
- sunos
- amigaos
- aix
- hpux10
- osf1
- freebsd
- sco
- irix64
- nextstep
- bsdi
- machten
- cygwinnt
- cygwin95
- unixsv
- mint
- os390
- vmesa
- linux390
- macosx
The default value is linux if not specified.
The build hostname of the package. Defaults to the hostname of the system running the Maven build.
The name of the individual/organisation building the package. Defaults to null if not specified.