sonar:sonar
Full name:
org.codehaus.mojo:sonar-maven-plugin:2.0:sonar
Description:
Analyse project. WARNING, Sonar server must be started.
Attributes:
- Requires a Maven project to be executed.
- Executes as an aggregator plugin.
- Requires dependency resolution of artifacts in scope: test.
Optional Parameters
| Name |
Type |
Since |
Description |
| localRepository |
ArtifactRepository |
- |
The local repository.
|
| sonarHostURL |
String |
- |
Sonar host URL. Default value is: http://localhost:9000. |
Parameter Details
localRepository:
The local repository.
- Type: org.apache.maven.artifact.repository.ArtifactRepository
- Required: No
- Expression: ${localRepository}
sonarHostURL:
Sonar host URL.
- Type: java.lang.String
- Required: No
- Expression: ${sonar.host.url}
- Default: http://localhost:9000