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 cer

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 /Ande

RE: There is a way to override distributionManagement in Maven

2012-03-28 Thread Lyons, Roy
2 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 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 avai

Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Stephen Connolly
d "goodness" has the ability to creep up on us 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

RE: There is a way to override distributionManagement in Maven

2012-03-28 Thread Lyons, Roy
m: Stephen 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 re