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): peer not authenticated
ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com
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...