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.
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