commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Meikle <loo...@gmail.com>
Subject Re: [exec] mvn stage:copy fails
Date Tue, 24 Mar 2009 13:32:59 GMT
Hi Siegfried,

2009/3/24 Siegfried Goeschl <sgoeschl@gmx.at>

> [INFO] Creating zip file.
> [INFO] Creating rename script.
> [INFO] Uploading zip file to the target repository.
> [INFO] Unpacking zip file on the target machine.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] org.apache.maven.wagon.providers.ssh.jsch.ScpWagon
> [INFO]
> ------------------------------------------------------------------------
> [INFO] 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(DefaultLifecycleExecutor.java:512)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java: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:585)
>        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)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 17 seconds
> [INFO] Finished at: Tue Mar 24 09:51:20 CET 2009
> [INFO] Final Memory: 7M/14M
> [INFO]
> ------------------------------------------------------------------------
> EXEC_1_0> mvn -v
> Maven version: 2.0.9
> Java version: 1.5.0_16
> OS name: "mac os x" version: "10.4.11" arch: "i386" Family: "unix"
>
>
I have had this error before using Maven 2.0.9 and got round this using
Maven 2.0.8 got round it for me.
According to the bug I had bookmarked for review (
http://jira.codehaus.org/browse/MNG-3581) this is now fixed in the newer
versions of Maven.

Cheers,
Dave

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message