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

pagerduty-plugin: does not build from source (org.jenkins-ci.tools:maven-hpi-plugin:jar:3.15 is missing)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pagerduty-plugin
    • None
    • $ java -version
      openjdk version "11.0.16" 2022-07-19
      OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb10u1)
      OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb10u1, mixed mode, sharing)

      I'm attempting to build the pagerduty plugin (https://github.com/jenkinsci/pagerduty-plugin ). That shows a couple warnings when building, because of missing jars:

      [WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:3.15 is missing, no dependency information available
      [WARNING] Failed to build parent project for org.jenkins-ci.plugins:pagerduty:hpi:0.7.2-SNAPSHOT
      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for org.jenkins-ci.plugins:pagerduty:hpi:0.7.2-SNAPSHOT 

      looking around online, it looks like the maven-hpi-plugin is on https://repo.jenkins-ci.org/releases/org/jenkins-ci/ instead of https://repo.jenkins-ci.org/public/org/jenkins-ci/

      The attached patch adds the public repository, which gets it further (though the snapshot jar is still missing). It now builds, but tests fail.

       

            alexanderlz Alexander Leibzon
            aenglishvc Austin English
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: