ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Penniston <apennis...@pivotal.io>
Subject out-of-the-box build issues in trunk
Date Mon, 18 Aug 2014 18:06:54 GMT
Hi,
Currently, we are having trouble building ambari out-of-the-box.
according to the developer documentation (
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development) , we
first run:

mvn versions:set -DnewVersion=1.6.1

However, the version number set here, "1.6.1", fails the version regex in
the <package-version> and <package-release> elements.
So it is first necessary for us to change the regex so that alphanumerics
are optional at the end of the version number:

<regex>^([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
becomes
<regex>^([0-9]+)\.([0-9]+)\.([0-9]+)((\.|-).*)?</regex>
and
<regex>^([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-)(([0-9]+)|(SNAPSHOT)).*</regex>
becomes
<regex>^([0-9]+)\.([0-9]+)\.([0-9]+)((\.|-)(([0-9]+)|(SNAPSHOT)).*)?</regex>

This allows the build to at least now succeed past the version regex.
However it then fails again on the Rat check. While concerning, currently
we are simply trying to get a build going, so we again modify the pom.xml
and add a wildcard exclusion to silence the rat:
<exclude>*.*</exclude>

sadly, the build is still failing (currently on pulling angular from git,
and other reasons we are investigating). We thought we'd try this mailing
list to report the initial build fails and their fixes, and ask why the
project is failing to build out-of-the-box on trunk? we tried both the repo
linked in the wiki and the github repo.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message