Преглед на файлове

AMBARI-1929. Make the default stack and version configurable via mvn build. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1469179 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako преди 12 години
родител
ревизия
c4585b001d
променени са 2 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 3 0
      CHANGES.txt
  2. 5 0
      ambari-web/pom.xml

+ 3 - 0
CHANGES.txt

@@ -264,6 +264,9 @@ Trunk (unreleased changes):
 
 
  IMPROVEMENTS
  IMPROVEMENTS
 
 
+ AMBARI-1929. Make the default stack and version configurable via mvn build.
+ (yusaku)
+
  AMBARI-1967. Add smoke test user customization toggle via App.supports.
  AMBARI-1967. Add smoke test user customization toggle via App.supports.
  (yusaku)
  (yusaku)
 
 

+ 5 - 0
ambari-web/pom.xml

@@ -93,6 +93,11 @@
                 <exec dir="${basedir}" executable="brunch" failonerror="false">
                 <exec dir="${basedir}" executable="brunch" failonerror="false">
                   <arg value="build"/>
                   <arg value="build"/>
                 </exec>
                 </exec>
+                <!-- sets default stack and version to use for install -->
+                <exec dir="${basedir}" executable="sh" failonerror="false">
+                  <arg value="${basedir}/set-default-stack-version.sh"/>
+                  <arg value="${defaultStackVersion}"/>
+                </exec>
                 <!-- enables experimental features if enableExperimental is set to true -->
                 <!-- enables experimental features if enableExperimental is set to true -->
                 <exec dir="${basedir}" executable="sh" failonerror="false">
                 <exec dir="${basedir}" executable="sh" failonerror="false">
                   <arg value="${basedir}/toggle-experimental.sh"/>
                   <arg value="${basedir}/toggle-experimental.sh"/>