If you read the full blog post you'll see that it is not black and white. There are use cases for putting it in the pom.
/Anders On Tue, Nov 3, 2009 at 17:07, Martin Höller <[email protected]> wrote: > 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 >
