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

Environment setup fails & unable to build Jenkins

XMLWordPrintable

      I follow the instruction in Building Jenkins

      I configure maven according to Plugin tutorial:SettingUpEnvironment

      I install the latest version of nexus and add all repos as described in
      Jenkins Development Environment with Nexus
      I add repo.jenkins-ci.org as Nexus/maven doesn't find anything jenkins related otherwise.

      when I run:

      mvn -Plight-test install
      

      I get:

      mvn -Plight-test install 
      [INFO] Scanning for projects...
      Downloading: http://localhost:8081/nexus/content/groups/public/org/jenkins-ci/tools/maven-hpi-plugin/1.78/maven-hpi-plugin-1.78.pom
      [WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.78 is missing, no dependency information available
      Downloading: http://localhost:8081/nexus/content/groups/public/org/jenkins-ci/tools/maven-hpi-plugin/1.78/maven-hpi-plugin-1.78.jar
      [ERROR] The build could not read 2 projects -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.jenkins-ci.main:maven-plugin:1.479-SNAPSHOT (/Users/admin/Documents/workspace/jenkins/maven-plugin/pom.xml) has 2 errors
      [ERROR]     Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.78 or one of its dependencies could not be resolved: Could not find artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:1.78 in nexus (http://localhost:8081/nexus/content/groups/public) -> [Help 2]
      [ERROR]     Unknown packaging: hpi @ line 36, column 14
      [ERROR]   
      [ERROR]   The project org.jenkins-ci.main:ui-samples-plugin:1.479-SNAPSHOT (/Users/admin/Documents/workspace/jenkins/ui-samples-plugin/pom.xml) has 2 errors
      [ERROR]     Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.78 or one of its dependencies could not be resolved: Could not find artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:1.78 in nexus (http://localhost:8081/nexus/content/groups/public) -> [Help 2]
      [ERROR]     Unknown packaging: hpi @ line 36, column 14
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
      

      If I search nexus I find the jar for maven-hpi-plugin-1.78. I download it and place it into my local repositor (on may workstation). The error persists stating that it's looking for the pom file? I look through all versions and none have a pom file.

            Unassigned Unassigned
            dkelsey Dave Kelsey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: