Full name:
org.codehaus.mojo:rpm-cbuild-maven-plugin:1.0-beta-1:platform-detect
Description:
Attributes:
validate.| Name | Type | Since | Description |
|---|---|---|---|
| archProperty | String |
1.0-beta-1 |
platform-detect will set a Maven property during runtime which the
project's POM may utilize after this plugin runs. The system
architecture (i386, x86_64, etc) will be the value and the value of
archProperty will be the name of the dynamic Maven
property.Default value is: DYNAMIC.CBUILDPROP.ARCH. |
| osProperty | String |
1.0-beta-1 |
platform-detect will set a Maven property during runtime which the
project's POM may utilize after this plugin runs. The system os
name (rhel3, fc10, osx5, etc) will be the value and the value of
osProperty will be the name of the dynamic Maven
property.Default value is: DYNAMIC.CBUILDPROP.OS. |
| rpmReleaseProperty | String |
1.0-beta-1 |
platform-detect will set a Maven property during runtime which the
project's POM may utilize after this plugin runs. The declared
maven project's version will be parsed to derive an RPM release
number. This will be concatenated in the rpm-cbuild-maven-plugin
with the platform distro (rhel3, osx5, centos5, etc) to get you a
full rpm release named something like 4.rhel3. The
release will be the string to the right of the last dash and must
be SNAPSHOT or a numeric value, otherwise an error
will be generated.Default value is: DYNAMIC.CBUILDPROP.RPM.RELEASE. |
| rpmVersionProperty | String |
1.0-beta-1 |
platform-detect will set a Maven property during runtime which the
project's POM may utilize after this plugin runs. The declared
maven project's version will be parsed to derive an RPM version.
Many legal maven version will generate an error as they introduce
compatibility problems with RPM version numbers. Legal maven
versions are similar to 1.2.3-SNAPSHOT and
1.2.3-4. The version will be the string to the left of
the last dash. Maven keywords like ALPHA,
BETA, RC, and the like will generate an
error. Don't use maven milestone versioning either such as
2.1.0-M1-1 as this will not do what you expect when
put into RPM packaging. If you run into one of these Maven projects
that you want to put in an RPM, best to version it as either
2.1.0-SNAPSHOT or 2.0.999-1.Default value is: DYNAMIC.CBUILDPROP.RPM.VERSION. |
| skip | boolean |
1.0-beta-1 |
Whether to skip RPM platform-detect file generation. Default value is: false. |
| skipPlatformPostfix | boolean |
1.0-beta-1 |
Whether to skip postfix on RPM release number. When this is set,
the RPM BuildArch: will be set to noarch
and the RPM Release: will only have the release number
established by this platform-detect goal. When set to true, no
BuildArch: will be set in the RPM and the release will
have a release number and a platform postfix in it so you can tell
what operating system distro was used when the RPM was created.Default value is: false. |
archProperty will be the name of the dynamic Maven
property.java.lang.String1.0-beta-1NoDYNAMIC.CBUILDPROP.ARCHosProperty will be the name of the dynamic Maven
property.java.lang.String1.0-beta-1NoDYNAMIC.CBUILDPROP.OS4.rhel3. The
release will be the string to the right of the last dash and must
be SNAPSHOT or a numeric value, otherwise an error
will be generated.java.lang.String1.0-beta-1NoDYNAMIC.CBUILDPROP.RPM.RELEASE1.2.3-SNAPSHOT and
1.2.3-4. The version will be the string to the left of
the last dash. Maven keywords like ALPHA,
BETA, RC, and the like will generate an
error. Don't use maven milestone versioning either such as
2.1.0-M1-1 as this will not do what you expect when
put into RPM packaging. If you run into one of these Maven projects
that you want to put in an RPM, best to version it as either
2.1.0-SNAPSHOT or 2.0.999-1.java.lang.String1.0-beta-1NoDYNAMIC.CBUILDPROP.RPM.VERSIONskip:
boolean1.0-beta-1No${skipPlatformDetect}falseBuildArch: will be set to noarch
and the RPM Release: will only have the release number
established by this platform-detect goal. When set to true, no
BuildArch: will be set in the RPM and the release will
have a release number and a platform postfix in it so you can tell
what operating system distro was used when the RPM was created.boolean1.0-beta-1No${skipPlatformPostfix}false