I know, but in this case, the artifactId is not exactly the same. We use 'spring' which includes everything and others might use 'spring-core' or 'spring-beans' or things like that.
regards, Wim 2009/10/12 Jeff MAURY <[email protected]> > This is normally handled by Maven. > If you pom has a dependency on spring 2.5.6 and another dependency that has > a dependency on Spring 2.5.5, the Maven will use Spring 2.5.6 when building > your pom. > > Jeff MAURY > > On Mon, Oct 12, 2009 at 10:35 AM, Wim Deblauwe <[email protected] > >wrote: > > > Hi, > > > > we are using the spring framework ourselves and use the following > > dependency: > > > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring</artifactId> > > <version>2.5.6</version> > > </dependency> > > > > Some of our dependencies also depend on the spring framework, but not the > > same version: > > > > [INFO] +- org.apache.activemq:activemq-pool:jar:5.2.0:compile > > [INFO] | +- > > org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0.1:compile > > [INFO] | +- commons-pool:commons-pool:jar:1.4:compile > > [INFO] | \- org.springframework:spring-beans:jar:2.5.5:compile > > [INFO] | \- org.springframework:spring-core:jar:2.5.5:compile > > > > Probably maven does not know it should not include spring-beans:2.5.5 and > > spring-core:2.5.5 because I already have the 2.5.6 of the spring > framework. > > Is there a way to avoid this? Excludes on activemq or is there a better > > way? > > > > regards, > > > > Wim > > > > > > -- > http://www.jeffmaury.com > http://riadiscuss.jeffmaury.com > http://www.lastfm.fr/listen/user/jeffmaury/personal >
