maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Re: adds same artifacts(different version)?
Date Thu, 30 Nov 2006 04:10:47 GMT
On 11/29/06, jiangshachina <> wrote:
> I have a Web project.
> I declare ehcache-1.2.3.jar as dependency.
> But ehcache-1.1.jar is transitive dependency of one of my directly
> dependency(acegi-security-1.0.2.jar).
> Then I run "mvn clean package", the two jar files are all in WEB-INF/lib.
> How to resolve the problem?

When you say you declare a dependency, we need to see the whole thing:
 groupId, artifactId, and version.

My guess is that your EHCache jars are coming from two different
groupIds, so Maven can't figure out that they are the same.

The output of "mvn clean install -X" should help you figure out where
each one is coming from.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message