开发者

Ivy loading unnecessary dependencies?

I'm migrating a maven project to ant + ivy (it's an arbitrary decision, and it has to be done ).

The thing is that comparing both WAR files, the ant and the maven one, the former has a lot more 3rd party jars than the first one...

At first I thought that they were transitive dependencies but when I run mvn dependency:tree they don't appear there.

Any ideas?

EDIT:

Just for the record, I'm aware of the scope attribute of maven. I'm excluding all the provi开发者_如何转开发ded and test dependencies in the ivy.xml file


You can use the ivy:report Ant task to generate a report of the dependencies resolved by Ivy. In this report, you can see where the extra dependencies are comming from.

Maarten

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜