Latest 3.3 sonar-maven-plugin and 5.6 LTS as web server.
Running sonar analysis with mvn sonar:sonar
( Scanner for Maven )
ignores sonar-project.prop
That is correct: the scanner for Maven ignores the sonar-project.properties
file.
To pass analysis parameters when using the scanner for Maven,
set them as
in the pom.xml
, for example:
http://yourserver
Or, you could also pass parameters using -D
on the command line, for example:
mvn sonar:sonar -Dsonar.host.url=http://yourserver