Yes, that's a documentation error - it should most definitely be in the POM... you don't need that information in a profile either.
There used to be a link on the chapter pages where you could log book defects ... but it's not there now. Here's the link: https://bugs.labs.sonatype.org/book -- Eric Redmond http://blog.propellors.net On 9/18/07, Philip Constantinou <[EMAIL PROTECTED]> wrote: > > Hi - > > I'm struggling a little with setting up an inhouse repository. > > I've been looking at: > > http://www.sonatype.com/book/repository.html#creating_an_in-house_repository > > but the documentation about settings.xml seems to cause an error: > > Error reading settings.xml: Unrecognised tag: 'distributionManagement' > (position: START_TAG seen ...<profile>\n > <distributionManagement>... @4:31) > Line: 4 > Column: 31 > > > How should I configure my settings.xml to say where to put my deployments? > > Also, what's the recommendations on configuring snapshots vs. releases? > I've tried: > > <repositories> > <repository> > <releases /> > <snapshots> > <enabled>true</enabled> > </snapshots> > <id>foo-repository</id> > <url>http://foo.com/maven2</url> > </repository> > > Thanks - > Phil > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >