Discussion:
distributionManagement in settings.xml
Marc Dugger
2006-03-23 21:38:00 UTC
Permalink
I'm trying to "localize" the distributionManagement in settings.xml, but
receiving following: "Unrecognised tag: 'distributionManagement'"

Documentation says it can be done. I'm using Maven 2.0.2.

Marc Dugger
***@realtybaron.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6% real estate sales commission? Not likely.
Learn why at http://tinyurl.com/dvkbu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kathryn Huxtable
2006-03-23 22:40:32 UTC
Permalink
You don't use the distributionManagement tag in settings.xml, you use it in
pom.xml. In settings.xml you use <servers> with <server> nested to define
your username and such, and you use
<profiles><profile><repositories><repository> (nested) to define the
repository location.

Don't forget to activate the profile.

-K
Post by Marc Dugger
I'm trying to "localize" the distributionManagement in settings.xml, but
receiving following: "Unrecognised tag: 'distributionManagement'"
Documentation says it can be done. I'm using Maven 2.0.2.
Marc Dugger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6% real estate sales commission? Not likely.
Learn why at http://tinyurl.com/dvkbu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas
Emmanuel Venisse
2006-03-23 23:39:33 UTC
Permalink
distributionManagement isn't in settings.xml but in the pom.

http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html

Emmanuel
Post by Marc Dugger
I'm trying to "localize" the distributionManagement in settings.xml, but
receiving following: "Unrecognised tag: 'distributionManagement'"
Documentation says it can be done. I'm using Maven 2.0.2.
Marc Dugger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6% real estate sales commission? Not likely.
Learn why at http://tinyurl.com/dvkbu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
Loading...