erights/README.md

9 lines
602 B
Markdown

#Trigger SonarQube Analysis
```shell script
mvn -P dependencies-check,security-check,static-analysis,code-coverage,javadoc clean install checkstyle:checkstyle spotbugs:spotbugs dependency-check:aggregate sonar:sonar -DfailIfNoTests=false
```
to run the analysis with reduced log level use the following command:
```shell script
mvn -P dependencies-check,security-check,static-analysis,code-coverage,javadoc clean install checkstyle:checkstyle spotbugs:spotbugs dependency-check:aggregate sonar:sonar -Dlog4j.configuration=file:"./e-rights-common/src/main/resources/log4j.xml" -DfailIfNoTests=false
```