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
Description: This goal outputs a classpath string of dependencies from the local repository to a file or log.
The Assembly Plugin for Maven enables developers to combine project output into a single distributable archive that also contains dependencies, modules, site documentation, and other files. Your project can easily build distribution "assemblies" using one of the prefabricated assembly descriptors.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With