开发者

Maven Transitive dependencies of dependencies in test scope included into a package

开发者 https://www.devze.com 2023-02-14 21:11 出处:网络
I don\'t understand why transitive dep开发者_StackOverflowendencies of test scope dependencies are included into package (from maven package phase). I\'m using maven-war-plugin with default settings.

I don't understand why transitive dep开发者_StackOverflowendencies of test scope dependencies are included into package (from maven package phase). I'm using maven-war-plugin with default settings.

It doesn't make sense, does it ? The problems arise when you have 10 test scope deps, all with some logging transitive dependencies, and you have to exclude all of them. Not only that one has to do it in compile scope dependencies, but even for test scope deps.


Maven bug MNG-5150 breaks at least jboss-packaging-plugin as described in MJBOSSPACK-40.

I would guess that the same bug also breaks maven-war-plugin.

0

精彩评论

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