Can't you put all these settings into a company wide parent pom that is the 
parent of each project pom (but not located in the file system parent)?  You 
can certainly do this with profiles.  All the apache projects that use maven 
that I know of do this.  And, there's an apache wide pom that sets up stuff 
shared by pretty much all apache projects that use maven.

david jencks

On Oct 3, 2010, at 2:34 PM, Phillip Hellewell 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: [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