Adding local jar file to hpi

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            NowSecure
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: