New to Developing Jenkins Plugins: Nexus problem

210 views
Skip to first unread message

Sverre Moe

unread,
Oct 7, 2015, 5:55:27 AM10/7/15
to Jenkins Developers
I have checked out Jenkins template-project-plugin in an effort to fix an issue

I have followed the instruction to add Jenkins Maven Repository to my existing Nexus, in order to build with Maven.

Then I proceeded with creating eclipse project files for the template-project-plugin:
user@linuxbox:~/workspace/template-project-plugin> mvn eclipse:eclipse
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.jenkins-ci.plugins:template-project:1.5.2-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:plugin:pom:1.580.1 in nexus (http://companyNexus:8081/nexus/content/groups/public) and 'parent.relativePath' points at wrong local POM @ line 3, column 11

Jenkins Summary from my Nexus:
Repository ID: jenkins
Repository Name: Jenkins Releases
Repository Type: proxy
Repository Policy: Release
Repository Format: maven2
Contained in groups: 


Nexus Discovery:
Unsuccessful.
Server proxied by M2Repository(id=jenkins) proxy repository is not supported by automatic routing discovery

It seems there was some problem with the Jenkins repository. I do not have the same problem with the Maven Central proxy.

Sverre Moe

unread,
Oct 7, 2015, 10:01:12 AM10/7/15
to Jenkins Developers
Solved: 
1) I disabled Remote Discovery for the Jenkins Proxy repo in Nexus
2) I added the Jenkins proxy repo to my Public Repositories Group

Now it works. I am able to get the jenkins artifacts when running maven.
Reply all
Reply to author
Forward
0 new messages