maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@codehaus.org>
Subject [jira] (MSITE-387) Allow user/admin to provide deletion command from commandline
Date Mon, 22 Dec 2014 09:46:10 GMT

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

Michael Osipov commented on MSITE-387:
--------------------------------------

Do you still have the alias in place? The issue comes from here: http://maven.apache.org/wagon/wagon-providers/wagon-ssh-common/xref/org/apache/maven/wagon/providers/ssh/ScpHelper.html#L263

> Allow user/admin to provide deletion command from commandline
> -------------------------------------------------------------
>
>                 Key: MSITE-387
>                 URL: https://jira.codehaus.org/browse/MSITE-387
>             Project: Maven Site Plugin
>          Issue Type: Improvement
>          Components: site:deploy
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6, 2.0-beta-7, 2.0
>         Environment: A windows machine deploying to a Linux or Unix node
>            Reporter: Renaud Lepage
>            Priority: Minor
>              Labels: close-pending
>
> Just a suggestion here - in fact I could basically do the patch if someone wants me to.
We currently have LOTS (and I do mean LOTS) of systems down here at work, where we'd like
to automatically deploy websites over SSH by means of SCP. Problem is that some machines have
"alias rm='rm -i'" in their shell environment, therefore blocking the rm command from finishing.
I'd suggest allowing the user/admin to provide the deletion command so as to be able to force
"/bin/rm" for example, which would not take the damned "-i" in account.
> Any thoughts on this one?



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message