What is the point of putting a settings.xml in your SCM next to your pom.xml? 
In this case just add the repos in the root pom.

++

Julien



----- Mail original -----
> De : Milos Kleint <mkle...@gmail.com>
> À : Maven Developers List <dev@maven.apache.org>
> Cc : 
> Envoyé le : Lundi 1 Août 2011 21h02
> Objet : Re: [DISCUSS] Project local setting.xml
> 
> hasn't that been the purpose of profiles.xml files back in 2.x before
> it was removed for 3.x?
> 
> Milos
> 
> On Mon, Aug 1, 2011 at 9:00 PM, Paul Gier <pg...@redhat.com> wrote:
>>  I'd like to discuss the possibility of Maven automatically looking for 
> a
>>  project specific settings.xml file [1].  The main use case for this is
>>  to eliminate, or at least reduce, the need to add repositories to the
>>  poms.  A setting.xml file could simply be added into scm into the root
>>  directory of the project.  Then it would be checked out when the project
>>  is checked out.
>> 
>>  With multi-module projects, Maven would need to search up the directory
>>  tree to find the settings.xml file, but this could be made relatively
>>  simple by checking the parent dirs until Maven finds:
>>  (1) a settings.xml, (2) a directory with no pom.xml, or (3) the root
>>  directory
>> 
>>  The only problem I can think of in this case would be when small related
>>  projects can be checked out separately (similar to Maven plugins, or
>>  codehaus mojo).  The project might not be able to find the settings.xml
>>  if it is not checked out with the project.  Although I think this is a
>>  relatively minor issue.
>> 
>>  [1]http://jira.codehaus.org/browse/MNG-4686
>> 
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>>  For additional commands, e-mail: dev-h...@maven.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to