[ 
https://jira.codehaus.org/browse/MOJO-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277908#comment-277908
 ] 

Mike Youngstrom commented on MOJO-1509:
---------------------------------------

However it is added the ability to delete stuff would be a great feature.  For 
our use case a "clean" property would work fine.

> Add clean option to wagon:upload
> --------------------------------
>
>                 Key: MOJO-1509
>                 URL: https://jira.codehaus.org/browse/MOJO-1509
>             Project: Mojo
>          Issue Type: Improvement
>          Components: wagon
>         Environment: Affects version 1.0-beta-3
>            Reporter: Kalle Korhonen
>         Attachments: MOJO-1509.patch
>
>
> Add clean option for wagon:plugin, discussed at: 
> http://www.mail-archive.com/[email protected]/msg15879.html. There was a 
> suggestion to add it as a separate wagon:remove mojo, but my answer to that 
> was:
> "I really don't think a separate wagon:remove mojo is the right answer. After 
> all, the whole is point is to try to capture the commonly desired 
> functionality into a mojo. wagon:remove looks to me dangerously like an Ant 
> task -
> what's next then: wagon:chmod, wagon:mkdir, ...). If it has to be a separate 
> mojo, then it could just as well be something like wagon:command where you 
> can specify the command to execute (like Ant's sshexec), but it could be 
> implemented only for certain protocols so I don't know it shouldn't be part 
> of the wagon plugin anymore. On the contrary, if you are using wagon:upload 
> there's a pretty good chance you want a clean upload, so adding a clean 
> option makes sense even if it can only be implemented for some specific 
> protocols."

--
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