Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3581

stage:copy ClassCastException with maven 2.0.9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.9
    • 2.0.10, 2.1.0-M1
    • None
    • None
    • tested on cygwin and freebsd

    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.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              olamy Olivier Lamy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: