Exception when running sonar-runner : Cannot use the diamond generic notation when running in JDK inferior to 1.7 mode
I have to mention in sonar-project.properties file the version of source code :
sonar.java.source=1.7