From e1218c97d8d1804ad5152c08fe97b0dc1d83afcd Mon Sep 17 00:00:00 2001 From: Abhijeet V <31417623+abvaidya@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:31:33 -0700 Subject: [PATCH] Adding sonar config details, disabling progress indicator in maven (#1355) Signed-off-by: Abhijeet V <31417623+abvaidya@users.noreply.github.com> --- pom.xml | 3 +++ screwdriver/scripts/build.sh | 2 +- sonar-project.properties | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 sonar-project.properties diff --git a/pom.xml b/pom.xml index a2d23803c25..0d0c98c5efa 100644 --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,9 @@ UTF-8 0.95 -Dlogback.configurationFile=src/test/resources/sd_logback.xml + AthenzSonar-${project.groupId}:${project.artifactId} + athenz + https://sonarcloud.io diff --git a/screwdriver/scripts/build.sh b/screwdriver/scripts/build.sh index 1cae4d8560e..54f5c4f79bd 100755 --- a/screwdriver/scripts/build.sh +++ b/screwdriver/scripts/build.sh @@ -3,4 +3,4 @@ set -e export PATH=$PATH:/usr/local/go/bin -mvn install +mvn -B install diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000000..920f05f0ea2 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,6 @@ +sonar.sources=src/main/java +sonar.tests=src/test/java +sonar.java.binaries=target/classes +sonar.java.test.binaries=target/test-classes +sonar.junit.reportPaths=target/surefire-reports +sonar.jacoco.reportPaths=target/jacoco.exec \ No newline at end of file