You are here: 52°North>Wiki>Documentation Web>MavenIssues (16 Sep 2014, AnnHitchcock)Edit Attach

Maven Issues


Introduction

This page provides a list of issues that may arrive when using Maven.

InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

May occur when Maven wants to connect to SSL sites (e.g. repositories). Possible solutions:
  • Check if OpenJDK is configured and the truststore is empty
    • You can check your linux distribution which Java is configured (under Debian a sudo aptitude update-alternatives --config java may help)
    • You could also add the certificates needed to your truststore
  • If you run Maven under Windows using Cygwin (which does not find your truststore) you have to add a Java parameter which points to your truststore: mvn clean install -Djava.net.ssl.trustStore=/c/Programs/Java/jdk1.7.0_51/jre/lib/security/cacerts
Topic revision: r2 - 16 Sep 2014 11:11:45, AnnHitchcock
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback