On 11/29/06, jiangshachina <[EMAIL PROTECTED]> 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. http://repo1.maven.org/maven2/net/sf/ehcache/ehcache/ http://repo1.maven.org/maven2/ehcache/ehcache/ The output of "mvn clean install -X" should help you figure out where each one is coming from. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]