incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1185878 - in /incubator/ambari/trunk: controller/src/packages/tarball/binary.xml pom.xml
Date Tue, 18 Oct 2011 21:31:49 GMT
Author: eyang
Date: Tue Oct 18 21:31:48 2011
New Revision: 1185878

URL: http://svn.apache.org/viewvc?rev=1185878&view=rev
Log:
AMBARI-71. Added ability to create tarball or directory. (Eric Yang)

Modified:
    incubator/ambari/trunk/controller/src/packages/tarball/binary.xml
    incubator/ambari/trunk/pom.xml

Modified: incubator/ambari/trunk/controller/src/packages/tarball/binary.xml
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/controller/src/packages/tarball/binary.xml?rev=1185878&r1=1185877&r2=1185878&view=diff
==============================================================================
--- incubator/ambari/trunk/controller/src/packages/tarball/binary.xml (original)
+++ incubator/ambari/trunk/controller/src/packages/tarball/binary.xml Tue Oct 18 21:31:48
2011
@@ -24,7 +24,7 @@
     http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers
   -->
   <formats>
-    <format>tar.gz</format>
+    <format>${package.type}</format>
   </formats>
   <fileSets>
     <fileSet>

Modified: incubator/ambari/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/pom.xml?rev=1185878&r1=1185877&r2=1185878&view=diff
==============================================================================
--- incubator/ambari/trunk/pom.xml (original)
+++ incubator/ambari/trunk/pom.xml Tue Oct 18 21:31:48 2011
@@ -45,6 +45,7 @@
         <package.log.dir>/var/log/ambari</package.log.dir>
         <package.pid.dir>/var/run/ambari</package.pid.dir>
         <package.release>1</package.release>
+        <package.type>tar.gz</package.type>
         <ambari.version>0.1.0-SNAPSHOT</ambari.version>
         <final.name>${project.artifactId}-${ambari.version}</final.name>
     </properties>
@@ -575,7 +576,7 @@
                     <descriptors>
                       <descriptor>src/packages/tarball/binary.xml</descriptor>
                     </descriptors>
-                    <finalName>${project.artifactId}-${project.version}-binary</finalName>
+                    <finalName>${project.artifactId}-${project.version}</finalName>
                   </configuration>
                   <executions>
                     <execution>



Mime
View raw message