Hi Andy! great, thanks, that is indeed the reply I was looking for to the question I posted just after the commit! :D
all the best, have a nice evening, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Tue, Apr 3, 2012 at 8:10 PM, Andy Seaborne <[email protected]> wrote: > A note of caution: > > Copying into > > /x1/www/www.apache.org/content/dist/incubator/any23 > > will get it mirrored as the official release within a few hours. > > If run when the maven artifacts are built, it will be mirrored before the > release vote is held. > > But normally "deploy" is deploying to nexus staging so that the vote can be > called. > > There is either the http://people.apache.org/builds/ area or people put the > to-be-discussed bits in ~user public_html. > > Andy > > On 03/04/12 18:59, [email protected] wrote: >> >> 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> >> >> >
