feature requests
----------------

                 Key: MOJO-1737
                 URL: https://jira.codehaus.org/browse/MOJO-1737
             Project: Mojo
          Issue Type: New Feature
          Components: wagon
    Affects Versions: wagon-maven-plugin-1.0-beta-4
         Environment: any
            Reporter: pinghe
            Priority: Critical


1 Mark wagon plugin as @threadSafe for maven3
2 wagon:remove-single remove the specified file on a remote location.
  wagon:remove remove the specified set of files on a remote location.
3 before and after the execute of the upload or download, execute custom 
commands to allow. like optional parameter: optimize.
  for example, we can config it like this:

    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>wagon-maven-plugin</artifactId>
      <version>1.0-beta-3</version>
      <executions>
        <execution>
          <id>upload-javadoc</id>
          <phase>deploy</phase>
          <goals>
            <goal>upload</goal>
          </goals>
          <configuration>
            <fromDir>local.dir</fromDir>
            <includes>*</include>
            <excludes>pom.xml</excludes>
            <url>scp://your.remote.host/</url>
            <toDir>remote.dir</toDir>

            <beforeExec>cd remote.dir
                        rm -Rf remote.dir/*
            </beforeExec>
            <afterExec>cd remote.dir
                       chmod +x bin/*
            </afterExec>
          </configuration>
          </execution>
      </executions>
    </plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to