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