maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiessen, Todd (Todd)" <tthies...@avaya.com>
Subject RE: Company-wide settings
Date Mon, 04 Oct 2010 14:45:47 GMT
We ask maven devs to checkout to their maven/conf folder. Their ~/.m2 can contain things like
their personal passwords and profile information so we try not to copy the global settings.xml
file to the local location.

> -----Original Message-----
> From: Nathan Sowatskey (nsowatsk) [mailto:nsowatsk@cisco.com]
> Sent: Monday, October 04, 2010 6:55 AM
> To: Maven Users List
> Cc: Maven Users List
> Subject: Re: Company-wide settings
> 
> In our project we have a project wide settings.xml in Subversion, and we
> ask all developers to put that into their ~/.m2 directory.
> 
> Regards
> 
> Nathan
> 
> Nathan Sowatskey (nsowatsk@cisco.com) - Technical Leader, ScanSafe - +34-
> 638-083-675
> 
> On 4 Oct 2010, at 12:30, "Anders Hammar" <anders@hammar.net> wrote:
> 
> > One issue with this approach is that m2eclipse will not use this
> > settings.xml file (by default, as it has it's own embedded Maven). I
> guess
> > this could be solved by configuring the standalone Maven installation
> in
> > m2eclipse.
> >
> > Anyone that has actually tried the approach of having a "corporate"
> > settings.xml bundled with a custom Maven distro?
> >
> > /Anders
> >
> > On Mon, Oct 4, 2010 at 11:46, Wendy Smoak <wsmoak@gmail.com> wrote:
> >
> >> On Sun, Oct 3, 2010 at 5:34 PM, Phillip Hellewell <sshock@gmail.com>
> >> wrote:
> >>> 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.
> >>
> >> One way is to make a custom Maven distribution for your organization,
> >> with a modified settings.xml.
> >>
> >> This also has the advantage of having all developers use the same
> >> version, which makes support easier.
> >>
> >> Many organizations don't allow developers to download and install
> >> random stuff off the internet anyway, so this becomes your
> >> corporate/approved/official Maven distro.
> >>
> >> --
> >> Wendy
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message