Error building: missing org.kohsuke.stapler:stapler:jar:1.167

193 views
Skip to first unread message

IMil

unread,
Jun 10, 2011, 2:52:19 AM6/10/11
to Jenkins Developers
Hello!

I am trying to build the latest Jenkins version from github, and I am
getting the error that org.kohsuke.stapler:stapler:jar:1.167 is
missing. Looking at the repository in the browser, I see that the
maximum version number is 155.

How may I solve this problem? I Maybe I should configure maven to use
some other remote repository?

I would be grateful for any help.

The system info and detailed error message are below:

=========================================================================

d:\Src\jenkinsci-jenkins-77188bf>mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 23:16:01+0400)
Java version: 1.6.0_26
Java home: C:\Program Files\Java\jdk1.6.0_26\jre
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"

=========================================================================

Downloading: http://download.java.net/maven/2//org/kohsuke/stapler/stapler/1.167/stapler-1.167.jar
.....
Missing:
----------
1) org.kohsuke.stapler:stapler:jar:1.167

....

Path to dependency:
1) org.jenkins-ci.main:jenkins-core:stapler-jar:1.416-SNAPSHOT
2) org.kohsuke.stapler:stapler-adjunct-timeline:jar:1.2
3) org.kohsuke.stapler:stapler:jar:1.167

----------
1 required artifact is missing.

for artifact:
org.jenkins-ci.main:jenkins-core:stapler-jar:1.416-SNAPSHOT

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
m.g.o-public (http://maven.glassfish.org/content/groups/public/)

IMil

unread,
Jun 10, 2011, 4:23:33 AM6/10/11
to Jenkins Developers
I upgraded to maven 3.0.3 and the error went away.
Sorry for the misunderstanding, I thought that only 2.x versions of
maven could be used to build Jenkins.
Reply all
Reply to author
Forward
0 new messages