Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Ubuntu 18.0] atlas-run fails retrieving maven-metadata from Atlassian.com : Java TrustAnchors issue

kevin conroy
Contributor
June 28, 2018

I downloaded the SDK to look into blueprint development, but failed at the first hurdle.

got the sdk, got oracle's jdk8, created the template plugn - invoked atlas-run and..

got lots of "unable to retrieve maven.metadata.xml from maven.atlassian.com

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

1 answer

1 accepted

1 vote
Answer accepted
kevin conroy
Contributor
June 28, 2018

I know it's bad form to answer your own question, but in the spirit of helping others with this issue, but stackoverflow had this q&a

This pointed the finger at the format of cacerts, so I hacked atlas-run to add the following to the default maven options. This solved my problem.

-Djavax.net.ssl.trustStorePassword=changeit

 

As I know little about what this does/did or why it was broken in the first place, I put this up for those smarter than me to add their advice

Suggest an answer

Log in or Sign up to answer