Hello all,
I am attempting to use the Maven stage plugin and running into a break. I have
tried this using Maven 2.0.7, 2.0.8, 2.0.9, 2.0.10, and 2.1.0. I'm also using
the only stage plugin available which appears to be 1.0-alpha-1. My guess is
I'm doing something wrong, but for the life of me I can't see what.
Here is the command I am executing (I'm on windows FWIW):
mvn -Dsource=file://E:\dir\staging-repo -Dtarget=file://E:\dir\staging-repo1
-Dversion=9.2.0-16 stage:copy
Here is the error:
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.wagon.providers.file.FileWagon
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException: org.apache.maven.wagon.providers.file.FileWagon
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:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
I found this bug in Jira that is somewhat similar but is marked as closed/fixed:
http://jira.codehaus.org/browse/MNG-3581
I have tried 2.0.10 and 2.1.0 as the bug suggests, but the problem persists.
According to this bug:
http://jira.codehaus.org/browse/MSTAGE-3
Some fix was put in for 1.0-alpha-2 but I can't find that anywhere, mostly
probably because I don't know where to look.
Was this tool not intended to be used on a local file systems?
Thanks!
-Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]