maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Höller <mar...@xss.co.at>
Subject Re: Persistence
Date Tue, 03 Nov 2009 16:07:17 GMT
Am Tuesday 03 November 2009 11:43:43 schrieb Anders Hammar:
> One way of adding a repo is explained here:
> http://thedevelopercorner.blogspot.com/2007/08/adding-repositories-to-maven
>-2.html However, you can add it in the pom as well. Which way to go kind of
> depends on your scenario. Adding the the pom makes i portable, while adding
> it to the settings.xml file forces everyone to do this configure to their
> environment.

Note, that adding repositories to your POM is a bad idea:
http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/

hth,
- martin

Mime
View raw message