tags:

views:

294

answers:

1

Hi,

I have some dependencies which I am providing myself. 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

A: 

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.

Pascal Thivent