Jenkins build unstable while loading artifact from repo.maven.org instead of internal Nexus.

26 views
Skip to first unread message

Christian

unread,
Nov 15, 2017, 4:33:31 AM11/15/17
to Jenkins Users
Hello,

one of my build gets "UNSTABLE" while downloading two artifact from the Arquillian deployment dependencies. For some reason it does not load the dependency from the internal Nexus repository which does contain the required artifacts. This is the message in the logs:

Nov 15, 2017 10:17:19 AM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
WARNUNG: Failed downloading com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.7.4/jackson-datatype-jsr310-2.7.4.pom from https://repo.maven.apache.org/maven2/. Reason: 
org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.fasterxml.jackson.datatype:jackson-datatype-jsr310:pom:2.7.4 from/to central (https://repo.maven.apache.org/maven2): Error transferring file: repo.maven.apache.org
Nov 15, 2017 10:17:19 AM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed
WARNUNG: Failed downloading com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.7.4/jackson-datatype-jsr310-2.7.4.pom from http://repo1.maven.org/maven2/. Reason: 
org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.fasterxml.jackson.datatype:jackson-datatype-jsr310:pom:2.7.4 from/to central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org

I have scanned the project; nowhere is the repo.maven.org repo set. All other dependencies declared in the pom gets downloaded from the internal Nexus.

I use the Config File Provider Plugin to set some options:
  • POM is set to "pom.xml"
  • Goals and options: clean verify
  • use private maven repository
    • strategy: Default (~/.m2/repository)
  • settings file: provided settings
    • I selected the settings file I created in the managed config files.
I have some pre-build steps set to build two of the sub projects first. They don't fail, only one of the following sub projects. 

Do you have any ideas what I am doing wrong here?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages