THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To build Ambari RPMs, run :
...
the following.
Note: Replace ${AMBARI_VERSION} with the version you want the artifacts to be
...
(e.g., -DnewVersion=1.5.0
...
)
RHEL/Fedora/CentOS 5:
Code Block |
---|
#Fedora 18: You may have to install rpmbuild if its not already installed... yum --enablerepo=updates-testing install rpm-build mvn -B clean install package rpm:rpm versions:set -DnewVersion=${AMBARI_VERSION} -DskipTests -Pcentos5 -Dpython.ver="python26" -Preplaceurl #Note: Or you can use '-Dpython.ver="python > 2.6' as an alternative, which seems to work better in at least one RHEL instance." |
...
Code Block |
---|
mvn -B clean install package rpm:rpm versions:set -DnewVersion=${AMBARI_VERSION} -DskipTests -Dpython.ver="python >= 2.6" -Preplaceurl
|
...
Code Block |
---|
mvn -B clean install package rpm:rpm versions:set -DnewVersion=${AMBARI_VERSION} -DskipTests -Psuse11 -Dpython.ver="python >= 2.6" -Preplaceurl |
...