Skip to content

Commit d58d672

Browse files
committed
testing
1 parent 99b92f4 commit d58d672

2 files changed

Lines changed: 15 additions & 50 deletions

File tree

pom.xml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,8 @@
3838
<maven.compiler.target>17</maven.compiler.target>
3939
<google.genai.version>0.2.0</google.genai.version>
4040
<spring-ai.version>1.0.0-M6</spring-ai.version>
41-
<!-- Sonar properties -->
42-
<sonar.coverage.exclusions>
43-
**/config/**/*,
44-
**/model/**/*,
45-
**/repository/**/*,
46-
**/controller/**/*,
47-
**/dto/**/*,
48-
**/enums/**/*,
49-
**/exception/**/*
50-
</sonar.coverage.exclusions>
51-
<sonar.coverage.inclusions>
52-
**/service/**/*,
53-
**/mailing/**/*
54-
</sonar.coverage.inclusions>
41+
<sonar.coverage.exclusions>**/config/**,**/model/**,**/repository/**,**/controller/**,**/dto/**,**/enums/**,**/exception/**,**/faker/**,**/util/**,**/mailing/**,**/LostnFoundApplication.java</sonar.coverage.exclusions>
42+
<sonar.coverage.inclusions>**/service/**</sonar.coverage.inclusions>
5543
</properties>
5644
<dependencyManagement>
5745
<dependencies>
@@ -212,12 +200,22 @@
212200
<version>0.8.11</version>
213201
<configuration>
214202
<includes>
215-
<!-- Only include main service and mailing packages -->
203+
<!-- Only include service package -->
216204
<include>com/example/lostnfound/service/**/*</include>
217-
<include>com/example/lostnfound/mailing/**/*</include>
218205
</includes>
219206
<excludes>
220-
<!-- Exclude test files -->
207+
<!-- Exclude everything else -->
208+
<exclude>com/example/lostnfound/config/**/*</exclude>
209+
<exclude>com/example/lostnfound/model/**/*</exclude>
210+
<exclude>com/example/lostnfound/repository/**/*</exclude>
211+
<exclude>com/example/lostnfound/controller/**/*</exclude>
212+
<exclude>com/example/lostnfound/dto/**/*</exclude>
213+
<exclude>com/example/lostnfound/enums/**/*</exclude>
214+
<exclude>com/example/lostnfound/exception/**/*</exclude>
215+
<exclude>com/example/lostnfound/faker/**/*</exclude>
216+
<exclude>com/example/lostnfound/util/**/*</exclude>
217+
<exclude>com/example/lostnfound/mailing/**/*</exclude>
218+
<exclude>com/example/lostnfound/LostnFoundApplication.class</exclude>
221219
<exclude>**/*Test.*</exclude>
222220
<exclude>**/test/**/*</exclude>
223221
</excludes>

sonar-project.properties

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)