incubator-any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1309076 - in /incubator/any23/trunk: core/pom.xml pom.xml
Date Tue, 03 Apr 2012 17:59:38 GMT
Author: simonetripodi
Date: Tue Apr  3 17:59:38 2012
New Revision: 1309076

URL: http://svn.apache.org/viewvc?rev=1309076&view=rev
Log:
use the wagon plugin to scp release bundles on people.apache.org

Modified:
    incubator/any23/trunk/core/pom.xml
    incubator/any23/trunk/pom.xml

Modified: incubator/any23/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/pom.xml?rev=1309076&r1=1309075&r2=1309076&view=diff
==============================================================================
--- incubator/any23/trunk/core/pom.xml (original)
+++ incubator/any23/trunk/core/pom.xml Tue Apr  3 17:59:38 2012
@@ -30,6 +30,10 @@
 
   <name>Apache Any23 :: Core</name>
 
+  <properties>
+    <assembly.finalName>apache-any23-${project.version}</assembly.finalName>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>commons-lang</groupId>
@@ -185,7 +189,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
-          <finalName>apache-any23-${project.version}</finalName>
           <descriptors>
             <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
           </descriptors>

Modified: incubator/any23/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/pom.xml?rev=1309076&r1=1309075&r2=1309076&view=diff
==============================================================================
--- incubator/any23/trunk/pom.xml (original)
+++ incubator/any23/trunk/pom.xml Tue Apr  3 17:59:38 2012
@@ -226,6 +226,7 @@
     -->
     <site.deploymentBaseUrl>svn:https://svn.apache.org/repos/asf/incubator/any23/site</site.deploymentBaseUrl>
     <downloads.url>http://www.apache.org/dist/incubator/any23</downloads.url>
+    <assembly.finalName>apache-${project.build.finalName}</assembly.finalName>
   </properties>
 
   <dependencyManagement>
@@ -488,7 +489,7 @@
           <configuration>
             <attach>false</attach>
             <tarLongFileMode>gnu</tarLongFileMode>
-            <finalName>apache-${project.build.finalName}</finalName>
+            <finalName>${assembly.finalName}</finalName>
           </configuration>
         </plugin>
 
@@ -815,6 +816,26 @@
               </execution>
             </executions>
           </plugin>
+
+          <plugin>
+            <groupId>org.apache.maven.wagon</groupId>
+            <artifactId>wagon-ssh</artifactId>
+            <version>2.2</version>
+            <executions>
+              <execution>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>upload</goal>
+                </goals>
+                <configuration>
+                  <fromDir>${project.build.directory}</fromDir>
+                  <includes>${assembly.finalName}.*</includes>
+                  <url>scp://people.apache.org/</url>
+                  <toDir>/x1/www/www.apache.org/content/dist/incubator/any23</toDir>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>



Mime
View raw message