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" <[email protected]> wrote:

> 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#altDeploy
> mentRepository
> 
> Hth,
> 
> Nick Stolwijk
> ~Senior Java Developer~
> 
> iPROFS
> Wagenweg 208
> 2012 NM Haarlem
> T +31 23 547 6369
> F +31 23 547 6370
> I www.iprofs.nl
> 
> 
> 
> On Thu, Jun 23, 2011 at 3:44 PM, Rick Mangi <[email protected]> wrote:
>> 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 once. They can do it
>> over time, but we support hundreds of developers on many projects.
>> 
>> I can't seem to find a way to override these values in settings.xml. I can
>> easily change where the users fetch artifacts from, but not where they
>> deploy or release to. (btw - most of my users are still using maven 2).
>> 
>> Thanks for any advice you may have.
>> 
>> Rick
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to