On Mon, Oct 4, 2010 at 12:07 PM, Phillip Hellewell <ssh...@gmail.com> wrote:
> I can specify <repositories> in a profile in my settings.xml for > downloading artifacts, but I don't seem to be able to specify > <distributionManagement> in there. No matter what I try it gives an > error "Unrecognised tag: 'distributionManagement'". Google 'Maven settings model' to find http://maven.apache.org/ref/2.2.1/maven-settings/settings.html and look at what is allowed in settings.xml. As you've already discovered, distributionManagement doesn't go there. > I don't want to have to specify the url of my company repository in > every single POM. What could I be doing wrong? Put it in a top-level organization level pom, from which all of your projects inherit. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org