Hi Dan, Thanks a lot for the response. I took a look at it and it definitely seems more full featured than the staging plugin, but I'm still having trouble with it. If I formulate a command like this:
mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos -Dwagon.source=file://E:\dir\staging-repo -Dwagon.target=file://E:\dir\staging-repo1 I get this error: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error during performing repository copy Embedded error: The filename, directory name, or volume label syntax is incorrect Did I miss understand the input parameters? I'm assuming that you are referring to this version of wagon-maven-plugin. http://mojo.codehaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html http://repo1.maven.org/maven2/org/codehaus/mojo/wagon-maven-plugin/1.0-beta-1 I found what appears to be an older Apache MyFaces project by the same artifactId. -Jim -----Original Message----- From: Dan Tran [mailto:dant...@gmail.com] Sent: Thursday, March 26, 2009 11:54 AM To: Maven Users List Subject: Re: Maven Stage Plugin issue try wagon-maven-plugin with maven 2.1.0 to see it works out for you. It has a port of maven-stage-plugin with lots of fixes. -D On Thu, Mar 26, 2009 at 8:36 AM, Jim McCaskey <jim.mccas...@pervasive.com> wrote: > 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: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org