Reputation: 501
I am using ant script for Sonar code scan .Currently with 'sonar-ant-task-2.2.jar' i am able to execute scan for Java 7. With Java 8 which version of sonar-ant-task need to be used ?
Thanks & Regards
Ganesh Rao
Upvotes: 0
Views: 1084
Reputation: 1924
Read point #2 of Prerequisites at documentation. Use At least the minimal version of Java supported by your SonarQube server is in use.
See this, any JRE v8 will do.
Upvotes: 2
Reputation: 3694
If you have a look at the documentation of the latest scanner you will find this Prerequisites section:
So using Java 8 is not a problem if you are using SonarQube 5.6+ and using the latest scanner will resolve some issues (see the changelog).
Upvotes: 1