I am trying to execute following maven command from jenkins job, mvn clean install sonar:sonar -Dsonar.host.url=http://hostname:9095/sonar -Dsonar.projectKey=mavensam
mvn clean install sonar:sonar -Dsonar.host.url=http://hostname:9095/sonar -Dsonar.projectKey=mavensam
This issue exists in org.sonarsource.scanner.maven.sonar-maven-plugin 3.5.0 plugin as well.
Upgrade your POM dependency to use a new Version or some earlier version like 3.2 are also stable.
org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar