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.
精彩评论