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

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 <rick.ma...@mtvn.com> 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: 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

Reply via email to