Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53961

Adding local jar file to hpi

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-hpi-plugin
    • 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.

            Unassigned Unassigned
            nowsecure NowSecure
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: