maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Company-wide settings
Date Mon, 04 Oct 2010 04:37:51 GMT
There is no such way as part of Maven.

However, you could have a settings.xml in your scm (or similar) and write a
simple script/program that copies it.
If you don't want to do this yourself, then there is such a feature as part
of Nexus Pro (the repo manager).

/Anders

On Sun, Oct 3, 2010 at 23:34, Phillip Hellewell <sshock@gmail.com> wrote:

> I see that Maven can have a settings.xml at both the "Global Level"
> and "User Level".  Is there a way to have a settings.xml that can be
> referenced (or included) from a pom.xml, whose settings would apply
> first but could be overridden by a global or user settings.xml.
>
> The idea is to have a shared "company-level" settings.xml with
> settings like profiles that most developers will want, and to have
> them automatically available.  The alternative is for everyone to
> manually append it to their global or user-level settings.xml.
>
> Phillip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message