add maven sonar plugin (not compatible yet with java 8) and fix dependencies for 'mvn clean install'