stage:copy ClassCastException with maven 2.0.9
----------------------------------------------
Key: MNG-3581
URL: http://jira.codehaus.org/browse/MNG-3581
Project: Maven 2
Issue Type: Bug
Affects Versions: 2.0.9
Environment: tested on cygwin and freebsd
Reporter: Olivier Lamy
Priority: Blocker
Fix For: 2.0.10
Using stage:copy with maven 2.0.9 generates a ClassCastException. (works fine
with 2.0.8)
The relevant part of the log say :
[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.wagon.providers.ssh.jsch.ScpWagon
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.ClassCastException: org.apache.maven.wagon.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(DefaultLifecycleExecuto
See
http://www.nabble.com/stage%3Acopy-ClassCastException-with-maven-2.0.9-to17292204.html
I add this issue in MNG as it looks more a core issue than a stage plugin issue.
--
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