Scanner command used when applicable (private details masked)
mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=XXX
Languages of the repository: Java
Hi
Running the following Command fails with error that project key og organisation is missing: mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=XXX
The Command is copied from https://sonarcloud.io/project/configuration?:
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project XXX: Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR_TOKEN’ environment variable, or contact the project administrator
Is the project key’ and organization not a part of the analyze command, or do I also have to add it to some property file locally on the Machine.