A dependency is identified by three things: groupId, artifactId and classifier. Only the version is configured by dependencyManagement. So you can say: I want this artifact (groupId, artifactId, classifier) and let my parent decide which version I get.
With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Apr 30, 2009 at 5:21 PM, Grant Rettke <[email protected]> wrote: > On Wed, Apr 29, 2009 at 10:26 AM, Nick Stolwijk <[email protected]> > wrote: >> You have to specify the classifier in the dependencymanagement section >> as well as in the dependency section as it identifies the dependency. > > Why do you have to put it both places? > > By doing so, won't the children inherit the dependency, and thus, not > need to utilize dependencyManagement? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
