Build Failures Accessing maven.oracle.com From DevCS With External OTN User Accounts

(Doc ID 2389915.1)

Last updated on MAY 08, 2018

Applies to:

Oracle Developer Cloud Service - Version 13.2 and later
Information in this document applies to any platform.

Symptoms

Build failures accessing maven.oracle.com from Developer Cloud Service when external OTN user accounts are used.

Error message 

Failed to execute goal on project sample-web: Could not resolve dependencies for project sample-web:war:1.0-SNAPSHOT: Failed to collect dependencies at com.oracle.weblogic:weblogic.server.merged:jar:12.1.3-0-0

[DEBUG] Closing connection to remote

[ERROR] Failed to execute goal on project sample-web: Could not resolve dependencies for project sample-web:war:1.0-SNAPSHOT: Failed to collect dependencies at com.oracle.weblogic:weblogic.server.merged:jar:12.1.3-0-0: Failed to read artifact descriptor for com.oracle.weblogic:weblogic.server.merged:jar:12.1.3-0-0: Could not transfer artifact com.oracle.weblogic:weblogic.server.merged:pom:12.1.3-0-0 from/to maven.oracle.com (https://maven.oracle.com): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]

 

 Observations

When abc.xyz@oracle.com is used at OTN Login, the build runs fine.

At local workspace, when local "settings.xml" from maven are used, the build still runs without error.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms