I'm building a module who's parent pom is in nexus. Parsing POMs using settings config with name Maven Settings With Nexus Credentials using global settings config with name Maven Settings With Nexus Credentials Failed to transfer Could not transfer artifact org.me.spot:spot:pom:2.0-20150120.213548-496 from/to nexus (https://nexus.us:2443/nexus/content/groups/public <https://b3dspattap1.mg.ny.frb.org:2443/nexus/content/groups/public>): *peer not authenticated* ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-us...@googlegroups.comjava.lang.IllegalStateException <http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalStateException>: Failed to build parent project for org.me.spot.roll:roll:pom:2.0-SNAPSHOT (I've edited this to remove company specific references, so any problems with the GAV references is due to my typos)
So, this occurs before the build is invoked. I believe Nexus is parsing my pom to build a dependency tree, but to do that it needs to download the master pom from nexus, and in doing so it is failing to authenticate. I've tried using the Managed Files plugin to reference my maven settings (which contains the encrypted username/password token for our nexus server and a mirror definition). I have configured the maven build in jenkins to provide these configuration files as part of the build environment. I have configured the maven build to use 'provided' settings files and selected the file provided by the managed files plugin. Yet, I still get this error. The message says that I should report this problem to this group, so here we are... -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ccbb120f-60cb-40da-b4ab-1f6cccd81fe6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.