NOTE: 2016-06-23
52°North is migrating this TWiki to foswiki which will become availabe via the well known domain wiki.52north.org soon.
Hence, this wiki is switched to read-only mode starting Monday - 27.06.2016 - until the end of the migration. Hence, save your changes beforehand.

The 52°North IT-Team.

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
Tags:
create new tag
, view all tags
Topic revision: r2 - 2014-09-16 - 11:11:45 - AnnHitchcock

 
  • Search: 
This site is powered by the TWiki collaboration platform Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback