|
38 | 38 | <maven.compiler.target>17</maven.compiler.target> |
39 | 39 | <google.genai.version>0.2.0</google.genai.version> |
40 | 40 | <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> |
55 | 43 | </properties> |
56 | 44 | <dependencyManagement> |
57 | 45 | <dependencies> |
|
212 | 200 | <version>0.8.11</version> |
213 | 201 | <configuration> |
214 | 202 | <includes> |
215 | | - <!-- Only include main service and mailing packages --> |
| 203 | + <!-- Only include service package --> |
216 | 204 | <include>com/example/lostnfound/service/**/*</include> |
217 | | - <include>com/example/lostnfound/mailing/**/*</include> |
218 | 205 | </includes> |
219 | 206 | <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> |
221 | 219 | <exclude>**/*Test.*</exclude> |
222 | 220 | <exclude>**/test/**/*</exclude> |
223 | 221 | </excludes> |
|
0 commit comments