|
91 | 91 | <version>1.2.32</version> |
92 | 92 | </dependency> |
93 | 93 |
|
| 94 | + <!-- TEST dependencies --> |
94 | 95 | <dependency> |
95 | 96 | <groupId>org.springframework.boot</groupId> |
96 | 97 | <artifactId>spring-boot-starter-test</artifactId> |
97 | 98 | <scope>test</scope> |
98 | | - <exclusions> |
99 | | - <exclusion> |
100 | | - <groupId>org.junit.vintage</groupId> |
101 | | - <artifactId>junit-vintage-engine</artifactId> |
102 | | - </exclusion> |
103 | | - </exclusions> |
104 | 99 | </dependency> |
105 | 100 | <dependency> |
106 | | - <groupId>com.tngtech.archunit</groupId> |
107 | | - <artifactId>archunit-junit5</artifactId> |
108 | | - <version>0.13.1</version> |
| 101 | + <groupId>org.spockframework</groupId> |
| 102 | + <artifactId>spock-core</artifactId> |
| 103 | + <version>1.3-groovy-2.5</version> |
| 104 | + <scope>test</scope> |
| 105 | + </dependency> |
| 106 | + <dependency> |
| 107 | + <groupId>org.spockframework</groupId> |
| 108 | + <artifactId>spock-spring</artifactId> |
| 109 | + <version>1.3-groovy-2.5</version> |
109 | 110 | <scope>test</scope> |
110 | 111 | </dependency> |
111 | 112 | <dependency> |
112 | 113 | <groupId>io.rest-assured</groupId> |
113 | 114 | <artifactId>rest-assured</artifactId> |
| 115 | + <scope>test</scope> |
| 116 | + </dependency> |
| 117 | + <dependency> |
| 118 | + <groupId>com.tngtech.archunit</groupId> |
| 119 | + <artifactId>archunit-junit5</artifactId> |
| 120 | + <version>0.13.1</version> |
| 121 | + <scope>test</scope> |
114 | 122 | </dependency> |
| 123 | + |
115 | 124 | </dependencies> |
116 | 125 |
|
117 | 126 | <build> |
|
144 | 153 | <artifactId>maven-surefire-plugin</artifactId> |
145 | 154 | <configuration> |
146 | 155 | <reportsDirectory>${surefire.and.failsafe.report.dir}</reportsDirectory> |
| 156 | + <includes> |
| 157 | + <include>**/*Spec.java</include> |
| 158 | + <include>**/*Test.java</include> |
| 159 | + </includes> |
147 | 160 | </configuration> |
148 | 161 | </plugin> |
| 162 | + <plugin> |
| 163 | + <groupId>org.codehaus.gmavenplus</groupId> |
| 164 | + <artifactId>gmavenplus-plugin</artifactId> |
| 165 | + <version>1.10.0</version> |
| 166 | + <executions> |
| 167 | + <execution> |
| 168 | + <goals> |
| 169 | + <goal>addTestSources</goal> |
| 170 | + <goal>compileTests</goal> |
| 171 | + </goals> |
| 172 | + </execution> |
| 173 | + </executions> |
| 174 | + </plugin> |
149 | 175 | <plugin> |
150 | 176 | <groupId>org.jacoco</groupId> |
151 | 177 | <artifactId>jacoco-maven-plugin</artifactId> |
|
263 | 289 | <sonar.sources>.</sonar.sources> |
264 | 290 | <sonar.inclusions>src/main/java/**,src/main/resources/**</sonar.inclusions> |
265 | 291 | <sonar.exclusions>${code.coverage.exclusions}</sonar.exclusions> |
| 292 | + <sonat.tests>src/test/groovy,src/test/java</sonat.tests> |
266 | 293 | <sonar.projectKey>wkrzywiec_library-hexagonal</sonar.projectKey> |
267 | 294 | <sonar.organization>wkrzywiec</sonar.organization> |
268 | 295 | <sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
|
0 commit comments