Hi, I try to upload some files after building assemblies, if I run goal "release:perform". I've tried many ways and read perhaps the whole maven project page, but I must miss the important point. Everytime I run "release:perform" all is right (e.g. site upload), but no way to upload the files by wagon plugin.
Perhaps someone can help me out. Perhaps there is a better way to solve the
problem....
My pom.xml:
--- SNIP ---
<project>
<!-- ... -->
<build>
<!-- ... -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>upload-to-sourceforge-releasing</id>
<phase>install</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<fromDir>target/</fromDir>
<includes>*.zip,*.jar,*.tar.gz,*.tar.bz2</includes>
<!-- <excludes>pom.xml</excludes> -->
<url>sftp://${sfUsername}:
${[email protected]/</url>
<toDir>uploads/</toDir>
</configuration>
</execution>
</executions>
</plugin>
<!-- ... -->
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>https://SUBVERSION</tagBase>
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
<goals>assembly:assembly site-deploy</goals>
</configuration>
</plugin>
</plugins>
</build>
<!-- ... -->
</project>
--- SNAP ---
Thanks a lot...
With regards...
signature.asc
Description: This is a digitally signed message part.
