Lachlan Deck wrote: > Hi there, > > I'm trying to utilise dependency management but am obviously missing > something. > > I've got > /pom.xml > /frameworks/pom.xml > /frameworks/fwk1 > ... > /frameworks/fwkN > /app1/pom.xml > > -- root parent pom -- > <dependencyManagement> > <dependencies> > <dependency> > <groupId>...</groupId> > <artifactId>...</artifactId> > <type>...</type> > <version>...</version> > </dependency> > </dependencies> > </dependencyManagement> > > -- /frameworks/pom.xml -- > <dependencies> > <dependency> > <groupId>...</groupId> > <artifactId>...</artifactId> > <scope>provided</scope> > </dependency> > </dependencies> > > And so forth. Previously I had no dependencyManagement at > all. So the > only mention of the version of a dependency is in the management > section. However, now when I do a 'mvn clean' I get the following.
The two artifacts to not match. An artifact is defined by groupId, artifactId, type and optional classifier. The type defaults to "jar". This might give you an idea ;-) [snip] - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
