8

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

pondermatic
  • 6,453
  • 10
  • 48
  • 63

1 Answers1

6

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.

Community
  • 1
  • 1
Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124