Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core, github, maven, other
Created: 16/Aug/12 9:13 PM
Description:

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
Environment: osx 10.6.8
maven 3.0.3
java 1.6.0_33
Project: Jenkins
Labels: jenkins plugin maven envronment nexus setup
Priority: Major Major
Reporter: Dave Kelsey
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

Reply via email to