Details
Description
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.