Linkage error in sonar

in that case, why I am seeing different error when using 7 version for qubeanlysis task which i mentioned in below ticket, configuration is same but i changed the version to 7
Scanner mode was not defined error - SonarQube Server / Community Build - Sonar Community