开发者

Maven assembly plugin and adding system dependencies to the classpath

I have some dependencies which I am providing myself.开发者_如何学JAVA The jars are in the resources directory. In my pom they are scoped as system and I include the path to them. However, when I jar things up using the assembly plugin and use

<addClasspath>true</addClasspath>

It doesn't add the path of the system jars. How can I get them to be included automatically?

Thanks


Yeah, and that's why using system scope is a bad practice. Have a look at this previous answer (and also this one) for a solution.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜