AFAIK you overwrite your regular release repository with this. Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/
On Fri, Sep 9, 2011 at 21:29, Teruhiko Kurosaka <k...@basistech.com> wrote: > Thank you, Mirko, for your response. > > The output from help:effective-pom doesn't include "staging". > We don't have repo ids for the staging repository in > any of POMs or settings.xml. I thought that is why > we specify -DstagingRepository on the command line. > Do I need to pre-set the staging repo information > in either POM or settings.xml ? > > On 9/9/11 12:18 PM, "Mirko Friedenhagen" <mfriedenha...@gmail.com> wrote: > >>Take a look at the output of mvn help:effective-pom and >>http://maven.apache.org/pom.html#Distribution_Management >>You should use something like mvn >>-DstagingRepository=ID_OF_THE_RELEASE_REPO_DEFINED_IN_DISTRIBUTION_MANAGEM >>ENT::default::http://internal-mvn-server.mycompany.net/repositories/our.st >>aging.area >>release:stage >> >>Regards Mirko >>-- >>http://illegalstateexception.blogspot.com/ >>https://github.com/mfriedenhagen/ >>https://bitbucket.org/mfriedenhagen/ >> >> >> >>On Fri, Sep 9, 2011 at 20:52, Teruhiko Kurosaka <k...@basistech.com> >>wrote: >>> Has anyone successfully used release:stage? >>> I'm assuming that release:stage should be used >>> after release:prepare, in place of release:perform. >>> I tried using it like this: >>> >>> mvn >>> >>>-DstagingRepository=http://internal-mvn-server.mycompany.net/repositories >>>/o >>> ur.staging.area release:stage >>> >>> But maven says: >>> >>> [INFO] Invalid syntax for repository. >>> [INFO] >>> [INFO] Invalid syntax for alternative repository. Use "id::layout::url". >>> >>> What id and layout, is it talking about? >>> How does the correct repository specification look like? >>> >>> >>> ---- >>> T. "Kuro" Kurosaka >>> >>> >>> >>> --------------------------------------------------------------------- >>> 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