Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Stephen Connolly
Take a step back and try and explain exactly what the problem is that you think you are trying to solve. I have a sneaky feeling you are trying to get functionality similar to staging/promotion available from the good repository managers (iirc nexus free does not, but nexus pro and artifactory

Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Anders Hammar
One possibility is to use properties in the distributionMgmt section and then override the property values from command line. Have a look at how this is done in the Apache parent pom (for snapshotRepository distribution): http://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom

RE: There is a way to override distributionManagement in Maven

2012-03-28 Thread Lyons, Roy
: Re: There is a way to override distributionManagement in Maven Take a step back and try and explain exactly what the problem is that you think you are trying to solve. I have a sneaky feeling you are trying to get functionality similar to staging/promotion available from the good repository

Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Stephen Connolly
during production builds. -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, March 28, 2012 2:45 AM To: Maven Users List Subject: Re: There is a way to override distributionManagement in Maven Take a step back and try and explain

RE: There is a way to override distributionManagement in Maven

2012-03-28 Thread Lyons, Roy
Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, March 28, 2012 8:42 AM To: Maven Users List Subject: Re: There is a way to override distributionManagement in Maven and what is exactly wrong with mvn -DaltDeploymentRepository=id::default::url deploy ? no change to pom required

There is a way to override distributionManagement in Maven

2012-03-27 Thread jose.nunez-zuleta
Hello Maven users, I have a project master pom.xml with a distribution management section defined like this: distributionManagement repository idone/id nameBlah Managed Releases Repository/name urlhttp://:8080/archiva/repository/one//url layoutdefault/layout