glad it works out for you -Dan
On Thu, Mar 26, 2009 at 12:16 PM, Jim McCaskey <jim.mccas...@pervasive.com> wrote: > All, > > I finally got it. I was missing the temp directory -Djava.io.tmpdir=target. > > 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 -Djava.io.tmpdir=target > > Needing that is not listed here: > > http://mojo.codehaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html > > But it is in the usage example here: > > http://mojo.codehaus.org/wagon-maven-plugin/usage.html > > Thanks for all the help! > > -Jim > > -----Original Message----- > From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] > Sent: Thursday, March 26, 2009 1:49 PM > To: 'Maven Users List' > Subject: RE: Maven Stage Plugin issue > > Hi Dan, > > Thanks again for the response. I tried a few variations on that theme: > > 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 > > 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 > > 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 > > 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 > > 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 > > 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 > > mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos > -Dwagon.source=file://./staging-repo -Dwagon.target=file://./staging-repo1 > > > They all give me the same error message: > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error during performing repository copy > > Embedded error: The filename, directory name, or volume label syntax is > incorrect > > -Jim > > -----Original Message----- > From: Dan Tran [mailto:dant...@gmail.com] > Sent: Thursday, March 26, 2009 1:32 PM > To: Maven Users List > Subject: Re: Maven Stage Plugin issue > > try file:///e:/dir/staging-repo > > -D > > On Thu, Mar 26, 2009 at 11:23 AM, Jim McCaskey > <jim.mccas...@pervasive.com> wrote: >> 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 >> >> >> > > --------------------------------------------------------------------- > 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