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.

onsdag 7. oktober 2015 11.55.27 UTC+2 skrev Sverre Moe følgende:
>
> I have checked out Jenkins template-project-plugin in an effort to fix an 
> issue
> https://issues.jenkins-ci.org/browse/JENKINS-27317
>
> I have followed the instruction to add Jenkins Maven Repository to my 
> existing Nexus, in order to build with Maven.
>
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Development+Environment+with+Nexus
>
> 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...
> Downloading: 
> http://companyNexus:8081/nexus/content/groups/public/org/jenkins-ci/plugins/plugin/1.580.1/plugin-1.580.1.pom
> [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: 
>
> Remote URL: http://maven.jenkins-ci.org/content/repositories/releases/
>
> Nexus Discovery:
> Unsuccessful.
> Message:
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4c396100-007b-4b36-8e99-62484fcd6a91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to