开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜