From: <rob...@us...> - 2010-06-21 05:36:46
|
Revision: 14 http://netcdftools.svn.sourceforge.net/netcdftools/?rev=14&view=rev Author: robertbridle Date: 2010-06-21 05:36:40 +0000 (Mon, 21 Jun 2010) Log Message: ----------- ANDSWRON-681 - Added task to create a SourceForge shell whenever we try and perform a site-deploy. Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-06-21 04:56:47 UTC (rev 13) +++ trunk/pom.xml 2010-06-21 05:36:40 UTC (rev 14) @@ -1,6 +1,6 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>au.csiro</groupId> + <groupId>net.sourceforge.netcdftools</groupId> <artifactId>netcdf-tools</artifactId> <packaging>jar</packaging> <version>0.1.4-SNAPSHOT</version> @@ -252,6 +252,32 @@ </executions> </plugin> + <!-- Run script to create SourceForge shell so that site can be uploaded via SCP --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <phase>pre-site</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + <configuration> + <executable>plink</executable> + <arguments> + <argument>-ssh</argument> + <argument>-pw</argument> + <argument>${scm.password}</argument> + <argument>-P</argument> + <argument>22</argument> + <argument>${scm.username},net...@sh...</argument> + <argument>create</argument> + </arguments> + </configuration> + </plugin> </plugins> </build> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |