-
Task
-
Resolution: Unresolved
-
Major
-
None
We have a Jenkins plugin - https://github.com/jenkinsci/nowsecure-auto-security-test-plugin that uses maven to build hpi file for plugin. I am adding a jar file that is locally available and I added dependency such as:
<dependency>
<groupId>com.nowsecure</groupId>
<artifactId>auto-plugin</artifactId>
<version>0.4</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/auto-plugin-0.4.jar</systemPath>
</dependency>
But that jar file is not included in the hpi file despite adding it to target/dist/lib folder. Can you suggest best way to add this dependency so that it's included in the hpi file.