Revision: 6465
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6465&view=rev
Author: manningr
Date: 2011-10-30 17:33:12 +0000 (Sun, 30 Oct 2011)
Log Message:
-----------
Use the latest version of the update site plugin which produces a batch file that can be used to sftp the release artifacts to sourceforge.
Modified Paths:
--------------
trunk/sql12/installer/squirrelsql-update-site/pom.xml
Modified: trunk/sql12/installer/squirrelsql-update-site/pom.xml
===================================================================
--- trunk/sql12/installer/squirrelsql-update-site/pom.xml 2011-10-30 17:15:53 UTC (rev 6464)
+++ trunk/sql12/installer/squirrelsql-update-site/pom.xml 2011-10-30 17:33:12 UTC (rev 6465)
@@ -147,7 +147,7 @@
<plugin>
<groupId>net.sf.squirrel-sql</groupId>
<artifactId>squirrelsql-update-site-plugin</artifactId>
- <version>${squirrelsql-update-site-plugin-version}</version>
+ <version>1.0.9-SNAPSHOT</version>
<executions>
<execution>
<phase>prepare-package</phase>
@@ -157,6 +157,7 @@
<configuration>
<releaseDirectory>${project.build.directory}/release</releaseDirectory>
<releaseVersion>${squirrelsql.version}</releaseVersion>
+ <updateSitePath>${update.site.path}</updateSitePath>
</configuration>
</execution>
</executions>
@@ -178,13 +179,6 @@
</configuration>
</plugin>
</plugins>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ftp</artifactId>
- <version>1.0-beta-6</version>
- </extension>
- </extensions>
</build>
<profiles>
<profile>
@@ -198,25 +192,22 @@
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
- <artifactId>wagon-maven-plugin</artifactId>
- <version>${wagon-plugin-version}</version>
- <configuration>
- <serverId>update-site-ftp-server</serverId>
- <!-- property update.site.ftp.server defined in settings.xml installer profile -->
- <url>ftp://${update.site.ftp.server}</url>
- </configuration>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2</version>
<executions>
<execution>
- <id>ftp-upload-release</id>
+ <configuration>
+ <executable>sftp</executable>
+ <arguments>
+ <argument>-b</argument>
+ <argument>target/batch.txt</argument>
+ <argument>${update.site.server}</argument>
+ </arguments>
+ </configuration>
<phase>install</phase>
<goals>
- <goal>upload</goal>
+ <goal>exec</goal>
</goals>
- <configuration>
- <fromDir>target/release</fromDir>
- <!-- property update.site.path defined in settings.xml installer profile -->
- <toDir>${update.site.path}</toDir>
- </configuration>
</execution>
</executions>
</plugin>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|