Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: link to archive.apache.org

...

Step 1: Download and build Ambari 2.7.0 source

Go to http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.7.0 and find the suggested mirror for download. The process to verify the download is described is at http://www.apache.org/dyn/closer.cgi#verify

Code Block
wget http://wwwarchive.apache.org/dist/ambari/ambari-2.7.0/apache-ambari-2.7.0-src.tar.gz (use the suggested mirror from above)
tar xfvz apache-ambari-2.7.0-src.tar.gz
cd apache-ambari-2.7.0-src
mvn versions:set -DnewVersion=2.7.0.0.0

pushd ambari-metrics
mvn versions:set -DnewVersion=2.7.0.0.0
popd

...

Code Block
$ cat jmxtools-1.2.1.pom
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.sun.jdmk</groupId>
  <artifactId>jmxtools</artifactId>
  <version>1.2.1</version>
  <distributionManagement>
    <status>deployed</status>
  </distributionManagement>

 

RHEL (CentOS 6 or 7) & SUSE (SLES 1112 SP2 & SP3):

Code Block
mvn -B clean install rpm:rpm -DnewVersion=2.7.0.0.0 -DbuildNumber=631319b00937a8d04667d93714241d2a0cb17275 -DskipTests -Dpython.ver="python >= 2.6"

...