开发者

Unwanted jars in my war

开发者 https://www.devze.com 2022-12-20 04:55 出处:网络
I have not mentioned any dependencies in pom.xml, but the war c开发者_JAVA百科reated by maven has quite a few unwanted jars. Any idea why this is happening?Please post your pom.xml file, to be more he

I have not mentioned any dependencies in pom.xml, but the war c开发者_JAVA百科reated by maven has quite a few unwanted jars. Any idea why this is happening?


Please post your pom.xml file, to be more helpful.

However, you may have some transitive dependencies here.

You can see the whole dependency tree using the dependency plugin.


I have not mentioned any dependencies in pom.xml, but the war created by maven has quite a few unwanted jars. Any idea why this is happening?

Hard to say without seeing your POM but if you didn't declare any dependency, then you my bet would be that are inheriting them. Just in case, it is possible to exclude things in the war plugin configuration using the packagingExcludes optional parameter. But the real question is "why are you inheriting dependencies that you don't want".

0

精彩评论

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