THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Note: Replace ${AMBARI_VERSION} with the a 4-digit version you want the artifacts to be (e.g., -DnewVersion=1.56.0.1)
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 versions:set -DnewVersion=${AMBARI_VERSION} mvn -B clean install package rpm:rpm -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." |
...