Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 9.1
-
Component/s: Documentation, Web
-
Labels:
-
Edition:Community
-
Production Notes:None
Description
Currently, the tutorial for running a Maven analysis locally says that the command to be run is
mvn sonar:sonar \ -Dsonar.projectKey={project-key} \ -Dsonar.host.url={sq-url} \ -Dsonar.login={sq-token}
However, not compiling the source code and then running this analysis may result on an error that states "Your project contains .java fils, please provide compiled classes...".
Moreover, in our documentation we say that the command to run should be
mvn clean verify sonar:sonar -Dsonar.login=myAuthenticationToken
Therefore the Maven tutorial should be aligned to follow this.