You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chukwa.apache.org by ey...@apache.org on 2011/12/22 02:15:53 UTC

svn commit: r1221980 - in /incubator/chukwa/trunk: CHANGES.txt pom.xml

Author: eyang
Date: Thu Dec 22 01:15:52 2011
New Revision: 1221980

URL: http://svn.apache.org/viewvc?rev=1221980&view=rev
Log:
CHUKWA-623. Added build profile src for building release source tarball. (Eric Yang)

Modified:
    incubator/chukwa/trunk/CHANGES.txt
    incubator/chukwa/trunk/pom.xml

Modified: incubator/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/CHANGES.txt?rev=1221980&r1=1221979&r2=1221980&view=diff
==============================================================================
--- incubator/chukwa/trunk/CHANGES.txt (original)
+++ incubator/chukwa/trunk/CHANGES.txt Thu Dec 22 01:15:52 2011
@@ -36,6 +36,8 @@ Trunk (unreleased changes)
 
   IMPROVEMENTS
 
+    CHUKWA-623. Added build profile src for building release source tarball. (Eric Yang)
+
     CHUKWA-622. Updated HDFS instruction for collector configuration. (Eric Yang)
 
     CHUKWA-620. Updated code analysis and license check in build structure. (Eric Yang)

Modified: incubator/chukwa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/pom.xml?rev=1221980&r1=1221979&r2=1221980&view=diff
==============================================================================
--- incubator/chukwa/trunk/pom.xml (original)
+++ incubator/chukwa/trunk/pom.xml Thu Dec 22 01:15:52 2011
@@ -540,13 +540,6 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <finalName>${final.name}</finalName>
-                    <tarLongFileMode>gnu</tarLongFileMode>
-                    <descriptors>
-                        <descriptor>src/packages/tarball/all.xml</descriptor>
-                    </descriptors>
-                </configuration>
                 <executions>
                     <execution>
                         <id>build-tarball</id>
@@ -554,6 +547,13 @@
                         <goals>
                             <goal>single</goal>
                         </goals>
+                        <configuration>
+                            <finalName>${final.name}</finalName>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                            <descriptors>
+                                <descriptor>src/packages/tarball/all.xml</descriptor>
+                            </descriptors>
+                        </configuration>
                     </execution>
                 </executions>
             </plugin>
@@ -690,6 +690,13 @@
                 </configuration>
             </plugin>
         </plugins>
+        <extensions>
+          <extension>
+            <groupId>org.apache.maven.wagon</groupId>
+            <artifactId>wagon-ssh-external</artifactId>
+            <version>1.0</version>
+          </extension>
+        </extensions>
     </build>
 
     <profiles>
@@ -704,6 +711,37 @@
                 <BUILD_NUMBER>0</BUILD_NUMBER>
             </properties>
         </profile>
+        <profile>
+            <id>src</id>
+            <activation>
+                <property>
+                    <name>release</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>build-release-tarball</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                    <finalName>chukwa-incubating-src-${VERSION}</finalName>
+                                    <tarLongFileMode>gnu</tarLongFileMode>
+                                    <descriptors>
+                                        <descriptor>src/packages/tarball/src.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
     <repositories>
@@ -805,6 +843,10 @@
         <name>Apache Website</name>
         <url>scp://people.apache.org/www/incubator.apache.org/chukwa/docs/r${project.version}</url>
       </site>
+      <repository>
+        <id>apache-repository</id>
+        <url>scpexe://people.apache.org//www/www.apache.org/dist/incubator/chukwa</url>
+      </repository>
     </distributionManagement>
 
 </project>