You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2008/01/01 15:23:59 UTC

[jira] Created: (MSTAGE-3) The stage plugin only supports copying from http(s) to scp urls

The stage plugin only supports copying from http(s) to scp urls
---------------------------------------------------------------

                 Key: MSTAGE-3
                 URL: http://jira.codehaus.org/browse/MSTAGE-3
             Project: Maven 2.x Stage Plugin
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Maria Odea Ching




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSTAGE-3) The stage plugin only supports copying from http(s) to scp urls

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSTAGE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144607#action_144607 ] 

Dennis Lundberg commented on MSTAGE-3:
--------------------------------------

I'm trying to update the docs for this change, but I'm not sure I understand how wagon works. The patch did not add any new dependencies to the plugin. However, isn't the wagon-ssh-external provider need to use scpexe? Or should that be provided by the project using the plugin?

Regarding what protocols the plugin now supports, am I reading the wagon source correctly if I say the this plugin now supports the following protocols for the target repo?
- scp:
- scpexe:

and also this one, which also extends CommandExecutor

- sftp

> The stage plugin only supports copying from http(s) to scp urls
> ---------------------------------------------------------------
>
>                 Key: MSTAGE-3
>                 URL: http://jira.codehaus.org/browse/MSTAGE-3
>             Project: Maven 2.x Stage Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-2
>            Reporter: Maria Odea Ching
>            Assignee: Brett Porter
>             Fix For: 1.0-alpha-2
>
>         Attachments: MSTAGE-3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSTAGE-3) The stage plugin only supports copying from http(s) to scp urls

Posted by "azgard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSTAGE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135824#action_135824 ] 

azgard commented on MSTAGE-3:
-----------------------------

This address also my error i gotwhen i try to move from http-repo to a dav-repo.

[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.wagon.providers.webdav.WebDavWagon cannot be cast to org.apache.maven.wagon.providers.ssh.jsch.S
cpWagon
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException: org.apache.maven.wagon.providers.webdav.WebDavWagon cannot be cast to org.apache.maven.wag
on.providers.ssh.jsch.ScpWagon
        at org.apache.maven.plugins.stage.DefaultRepositoryCopier.copy(DefaultRepositoryCopier.java:252)
        at org.apache.maven.plugins.stage.CopyRepositoryMojo.execute(CopyRepositoryMojo.java:93)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

> The stage plugin only supports copying from http(s) to scp urls
> ---------------------------------------------------------------
>
>                 Key: MSTAGE-3
>                 URL: http://jira.codehaus.org/browse/MSTAGE-3
>             Project: Maven 2.x Stage Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Maria Odea Ching
>         Attachments: MSTAGE-3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MSTAGE-3) The stage plugin only supports copying from http(s) to scp urls

Posted by "Rahul Akolkar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSTAGE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Akolkar updated MSTAGE-3:
-------------------------------

    Attachment: MSTAGE-3.patch

I discovered this in trying to move a staged release today.

The attached patch fixes it for me (I used scpexe:// for the target repo, which fails without the patch and succeeds with the patch). The earlier cast to ScpWagon for the lines in question seems overly restrictive and exclusionary.


> The stage plugin only supports copying from http(s) to scp urls
> ---------------------------------------------------------------
>
>                 Key: MSTAGE-3
>                 URL: http://jira.codehaus.org/browse/MSTAGE-3
>             Project: Maven 2.x Stage Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Maria Odea Ching
>         Attachments: MSTAGE-3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MSTAGE-3) The stage plugin only supports copying from http(s) to scp urls

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSTAGE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MSTAGE-3.
-----------------------------

         Assignee: Brett Porter
       Resolution: Fixed
    Fix Version/s: 1.0

applied, thanks. This only genericises to command executors - opened MSTAGE-5 to make it work with others

> The stage plugin only supports copying from http(s) to scp urls
> ---------------------------------------------------------------
>
>                 Key: MSTAGE-3
>                 URL: http://jira.codehaus.org/browse/MSTAGE-3
>             Project: Maven 2.x Stage Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Maria Odea Ching
>            Assignee: Brett Porter
>             Fix For: 1.0
>
>         Attachments: MSTAGE-3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira