Hello Json, hello Stephen, thanks for your answers. I have read a lot about this before :-). My point was: should new users reading introductory pages like "http://maven.apache.org/settings.html" not be pushed in the direction to *avoid* repositories in their POMs.
I mean, now they are almost forced to think it would be "a good idea" to have repositories *in* the POM. Should maybe the two referenced articles be linked in the settings.html page? Regards Mirko On Wed, Jan 23, 2013 at 12:26 PM, Jason van Zyl <[email protected]> wrote: > Brian has a good blog entry on this: > > http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/ > > On Jan 23, 2013, at 4:08 AM, Mirko Friedenhagen <[email protected]> > wrote: > >> Hello, >> >> in a lot of threads on the dev and user list, I have read that "thou >> shalt not define repositories in your pom" is the way to go. However >> http://maven.apache.org/settings.html#Servers reads: >> "The repositories for download and deployment are defined by the >> repositories and distributionManagement elements of the POM." >> >> Is this a bug or is there no consensus on this :-)? >> >> Regards Mirko >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > Thanks, > > Jason > > ---------------------------------------------------------- > Jason van Zyl > Founder & CTO, Sonatype > Founder, Apache Maven > http://twitter.com/jvanzyl > --------------------------------------------------------- > > The modern conservative is engaged in one of man's oldest exercises in moral > philosophy; that is, > the search for a superior moral justification for selfishness. > > -- John Kenneth Galbraith > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
