From ba8ccae7dbe1f7a6e4c603a58e541493b39e9844 Mon Sep 17 00:00:00 2001 From: tillias Date: Mon, 26 Oct 2020 07:48:11 +0100 Subject: [PATCH] Test exclusions #65 For tests and resources --- pom.xml | 6 ------ sonar-project.properties | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index b47f46c..89a4214 100644 --- a/pom.xml +++ b/pom.xml @@ -87,12 +87,6 @@ ${project.testresult.directory}/test ${project.testresult.directory}/integrationTest - ${project.build.directory}/jacoco/test/jacoco.xml - - **/main/resources/**/*, - **/test/**/*, - **/main/webapp/app/admin/**/* - diff --git a/sonar-project.properties b/sonar-project.properties index 594d251..a2cabc4 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,5 @@ sonar.projectKey=microcatalog -sonar.projectName=microcatalog generated by jhipster +sonar.projectName=microcatalog sonar.projectVersion=1.0 sonar.sources=src/main/ @@ -13,7 +13,7 @@ sonar.testExecutionReportPaths=target/test-results/jest/TESTS-results-sonar.xml sonar.typescript.lcov.reportPaths=target/test-results/lcov.info sonar.sourceEncoding=UTF-8 -sonar.exclusions=src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.* +sonar.exclusions=src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.*, **/main/resources/**/*, **/test/**/*, **/main/webapp/app/admin/**/* sonar.issue.ignore.multicriteria=S3437,S4502,S4684,UndocumentedApi,BoldAndItalicTagsCheck # Rule https://sonarcloud.io/coding_rules?open=squid%3AS3437&rule_key=squid%3AS3437 is ignored, as a JPA-managed field cannot be transient