![]() |
|
|
|
|
Change By:
|
Dave Kelsey
(16/Aug/12 9:16 PM)
|
|
Description:
|
I follow the instruction in [Building Jenkins|https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins?focusedCommentId=63145528&#comment-63145528]
I configure maven according to [Plugin tutorial:SettingUpEnvironment|https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingUpEnvironment]
I install the latest version of nexus and add all repos as described in [Jenkins Development Environment with Nexus|https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Development+Environment+with+Nexus#JenkinsDevelopmentEnvironmentwithNexus-hudsonrepos] I add repo.jenkins-ci.org as Nexus/maven doesn't find anything jenkins related otherwise.
when I run:
{noformat} mvn -Plight-test install {noformat}
I get:
{noformat} 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 {noformat}
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.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|