开发者

Ivy loading unnecessary dependencies?

开发者 https://www.devze.com 2022-12-21 16:24 出处:网络
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

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

精彩评论

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