0

I am trying to insert sonarqube setup on build.xml, getting unsupported error. My build Java version support 1.6 Ant.sonar.qube support 2.5

If I use have version 1.8 my ant sonar command is working.ant command is not working.if I use java 1.6 ant is working and ant sonar is not working.

James Z
  • 12,209
  • 10
  • 24
  • 44
Venkat
  • 1

1 Answers1

0

You already know exactly what your problem is:

If I use have version 1.8 my ant sonar command is working

...

if I use java 1.6 ant is working and ant sonar is not working.

You're facing incompatibility with the version of Java you're trying to use. Since analysis will not work with 1.6, you're best off upgrading to Java 8 and working to make whatever your other Ant target is work with that.

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76