Overriding distributionManagement Repositories

2011-06-23 Thread Rick Mangi
Hello Maven Users, I'm trying to migrate my users to a new nexus repository on a different domain. I'm trying to avoid having to tell all of the developers to change their distributionManagement/repository and /snapshotRepository values in their pom files or to upgrade to new parent poms all at

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Nick Stolwijk
You could create a profile in your settings.xml which is always active and sets the property altDeploymentRepository[2] to your new value. [1] http://maven.apache.org/settings.html#Active_Profiles [2] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Wendy Smoak
On Thu, Jun 23, 2011 at 9:44 AM, Rick Mangi rick.ma...@mtvn.com wrote: I'm trying to migrate my users to a new nexus repository on a different domain. I'm trying to avoid having to tell all of the developers to change their distributionManagement/repository and /snapshotRepository values in

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Rick Mangi
Oh! Great, looks like that was added quite a while ago, I've never seen it. Thanks Nick On 6/23/11 11:05 AM, Nick Stolwijk nick.stolw...@gmail.com wrote: You could create a profile in your settings.xml which is always active and sets the property altDeploymentRepository[2] to your new value.