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_MANAGEMENT::default::http://internal-mvn-server.mycompany.net/repositories/our.staging.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