Skip to content

GlassFish Ci unable to download some Maven dependencies because of trustAnchors parameter must be non-empty

Running a build job on the GlassFish CI we fet the following:

Could not transfer artifact org.jboss.arquillian.junit5:arquillian-junit5-container:jar:1.10.0.Final from/to eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/): Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

See: https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/PR-25728/5/console

This should be a perfectly normal dependency, that one can easily download.

See: https://mvnrepository.com/artifact/org.jboss.arquillian.junit5/arquillian-junit5-container/1.10.0.Final

What can be the problem here?

Edited by Arjan Tijms