|
26 | 26 | <maven-deploy-plugin.version>2.7</maven-deploy-plugin.version>
|
27 | 27 | <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
|
28 | 28 | <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
|
| 29 | + <maven-sources-plugin.version>3.2.1</maven-sources-plugin.version> |
| 30 | + <jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version> |
| 31 | + <jacoco-maven-plugin.coverage-ratio>80%</jacoco-maven-plugin.coverage-ratio> |
29 | 32 | <maven.compiler.source>11</maven.compiler.source>
|
30 | 33 | <maven.compiler.target>11</maven.compiler.target>
|
31 | 34 | <maven.compiler.release>11</maven.compiler.release>
|
|
42 | 45 | <argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
|
43 | 46 | <failsafe.version>3.2.2</failsafe.version>
|
44 | 47 | <surefire.version>3.2.2</surefire.version>
|
45 |
| - <junit-bom.version>5.8.2</junit-bom.version> |
| 48 | + <junit-bom.version>5.11.4</junit-bom.version> |
46 | 49 | <snakeyaml.version>2.0</snakeyaml.version>
|
47 |
| - <testcontainers.version>1.20.0</testcontainers.version> |
| 50 | + <testcontainers.version>1.20.5</testcontainers.version> |
48 | 51 | <springboot.version>3.4.3</springboot.version>
|
49 | 52 | <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
|
50 | 53 | </properties>
|
|
95 | 98 | <groupId>org.mockito</groupId>
|
96 | 99 | <artifactId>mockito-core</artifactId>
|
97 | 100 | <version>3.11.2</version>
|
98 |
| - <scope>test</scope> |
99 | 101 | </dependency>
|
100 | 102 | <dependency>
|
101 | 103 | <groupId>io.projectreactor</groupId>
|
|
120 | 122 | <artifactId>kotlin-stdlib</artifactId>
|
121 | 123 | <version>2.1.0</version>
|
122 | 124 | </dependency>
|
| 125 | + <dependency> |
| 126 | + <groupId>org.yaml</groupId> |
| 127 | + <artifactId>snakeyaml</artifactId> |
| 128 | + <version>${snakeyaml.version}</version> |
| 129 | + </dependency> |
| 130 | + <dependency> |
| 131 | + <groupId>org.testcontainers</groupId> |
| 132 | + <artifactId>testcontainers</artifactId> |
| 133 | + <version>${testcontainers.version}</version> |
| 134 | + </dependency> |
| 135 | + <dependency> |
| 136 | + <groupId>io.dapr</groupId> |
| 137 | + <artifactId>dapr-sdk</artifactId> |
| 138 | + <version>${dapr.sdk.version}</version> |
| 139 | + <scope>compile</scope> |
| 140 | + </dependency> |
| 141 | + <dependency> |
| 142 | + <groupId>org.junit.jupiter</groupId> |
| 143 | + <artifactId>junit-jupiter</artifactId> |
| 144 | + <version>${junit-bom.version}</version> |
| 145 | + </dependency> |
| 146 | + <dependency> |
| 147 | + <groupId>org.junit.jupiter</groupId> |
| 148 | + <artifactId>junit-jupiter-api</artifactId> |
| 149 | + <version>${junit-bom.version}</version> |
| 150 | + </dependency> |
| 151 | + <dependency> |
| 152 | + <groupId>org.junit.jupiter</groupId> |
| 153 | + <artifactId>junit-jupiter-engine</artifactId> |
| 154 | + <version>${junit-bom.version}</version> |
| 155 | + </dependency> |
| 156 | + <dependency> |
| 157 | + <groupId>org.junit.jupiter</groupId> |
| 158 | + <artifactId>junit-jupiter-params</artifactId> |
| 159 | + <version>${junit-bom.version}</version> |
| 160 | + </dependency> |
| 161 | + <dependency> |
| 162 | + <groupId>org.testcontainers</groupId> |
| 163 | + <artifactId>junit-jupiter</artifactId> |
| 164 | + <version>${testcontainers.version}</version> |
| 165 | + </dependency> |
| 166 | + <dependency> |
| 167 | + <groupId>org.testcontainers</groupId> |
| 168 | + <artifactId>kafka</artifactId> |
| 169 | + <version>${testcontainers.version}</version> |
| 170 | + </dependency> |
| 171 | + <dependency> |
| 172 | + <groupId>org.springframework.boot</groupId> |
| 173 | + <artifactId>spring-boot-dependencies</artifactId> |
| 174 | + <version>${springboot.version}</version> |
| 175 | + <type>pom</type> |
| 176 | + </dependency> |
| 177 | + <dependency> |
| 178 | + <groupId>org.testcontainers</groupId> |
| 179 | + <artifactId>postgresql</artifactId> |
| 180 | + <version>${testcontainers.version}</version> |
| 181 | + </dependency> |
| 182 | + <dependency> |
| 183 | + <groupId>org.testcontainers</groupId> |
| 184 | + <artifactId>rabbitmq</artifactId> |
| 185 | + <version>${testcontainers.version}</version> |
| 186 | + </dependency> |
| 187 | + <dependency> |
| 188 | + <groupId>io.rest-assured</groupId> |
| 189 | + <artifactId>rest-assured</artifactId> |
| 190 | + <version>5.5.1</version> |
| 191 | + </dependency> |
| 192 | + <dependency> |
| 193 | + <groupId>io.dapr.spring</groupId> |
| 194 | + <artifactId>dapr-spring-boot-starter</artifactId> |
| 195 | + <version>${dapr.sdk.alpha.version}</version> |
| 196 | + </dependency> |
| 197 | + <dependency> |
| 198 | + <groupId>io.dapr.spring</groupId> |
| 199 | + <artifactId>dapr-spring-boot-starter-test</artifactId> |
| 200 | + <version>${dapr.sdk.alpha.version}</version> |
| 201 | + </dependency> |
| 202 | + <dependency> |
| 203 | + <groupId>org.springframework.boot</groupId> |
| 204 | + <artifactId>spring-boot-starter-web</artifactId> |
| 205 | + <version>${springboot.version}</version> |
| 206 | + </dependency> |
| 207 | + <dependency> |
| 208 | + <groupId>org.springframework.boot</groupId> |
| 209 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 210 | + <version>${springboot.version}</version> |
| 211 | + </dependency> |
| 212 | + <dependency> |
| 213 | + <groupId>org.springframework.boot</groupId> |
| 214 | + <artifactId>spring-boot-starter-test</artifactId> |
| 215 | + <version>${springboot.version}</version> |
| 216 | + </dependency> |
| 217 | + <dependency> |
| 218 | + <groupId>org.springframework.data</groupId> |
| 219 | + <artifactId>spring-data-keyvalue</artifactId> |
| 220 | + <version>${springboot.version}</version> |
| 221 | + </dependency> |
| 222 | + <dependency> |
| 223 | + <groupId>org.springframework.data</groupId> |
| 224 | + <artifactId>spring-data-commons</artifactId> |
| 225 | + <version>${springboot.version}</version> |
| 226 | + </dependency> |
| 227 | + <dependency> |
| 228 | + <groupId>org.springframework.boot</groupId> |
| 229 | + <artifactId>spring-boot-testcontainers</artifactId> |
| 230 | + <version>${springboot.version}</version> |
| 231 | + </dependency> |
123 | 232 | </dependencies>
|
124 | 233 | </dependencyManagement>
|
125 | 234 |
|
126 | 235 | <build>
|
127 | 236 | <pluginManagement>
|
128 | 237 | <plugins>
|
| 238 | + <plugin> |
| 239 | + <groupId>org.springframework.boot</groupId> |
| 240 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 241 | + <version>${springboot.version}</version> |
| 242 | + </plugin> |
| 243 | + <plugin> |
| 244 | + <groupId>org.apache.maven.plugins</groupId> |
| 245 | + <artifactId>maven-source-plugin</artifactId> |
| 246 | + <version>${maven-sources-plugin.version}</version> |
| 247 | + </plugin> |
129 | 248 | <plugin>
|
130 | 249 | <groupId>org.apache.maven.plugins</groupId>
|
131 | 250 | <artifactId>maven-compiler-plugin</artifactId>
|
|
174 | 293 | <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
175 | 294 | </configuration>
|
176 | 295 | </plugin>
|
| 296 | + <plugin> |
| 297 | + <groupId>org.jacoco</groupId> |
| 298 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 299 | + <version>${jacoco-maven-plugin.version}</version> |
| 300 | + <executions> |
| 301 | + <execution> |
| 302 | + <id>default-prepare-agent</id> |
| 303 | + <goals> |
| 304 | + <goal>prepare-agent</goal> |
| 305 | + </goals> |
| 306 | + </execution> |
| 307 | + <execution> |
| 308 | + <id>report</id> |
| 309 | + <phase>test</phase> |
| 310 | + <goals> |
| 311 | + <goal>report</goal> |
| 312 | + </goals> |
| 313 | + <configuration> |
| 314 | + <outputDirectory>target/jacoco-report/</outputDirectory> |
| 315 | + </configuration> |
| 316 | + </execution> |
| 317 | + <execution> |
| 318 | + <id>check</id> |
| 319 | + <goals> |
| 320 | + <goal>check</goal> |
| 321 | + </goals> |
| 322 | + <configuration> |
| 323 | + <rules> |
| 324 | + <rule> |
| 325 | + <element>BUNDLE</element> |
| 326 | + <limits> |
| 327 | + <limit> |
| 328 | + <counter>LINE</counter> |
| 329 | + <value>COVEREDRATIO</value> |
| 330 | + <minimum>${jacoco-maven-plugin.coverage-ratio}</minimum> |
| 331 | + </limit> |
| 332 | + </limits> |
| 333 | + </rule> |
| 334 | + </rules> |
| 335 | + </configuration> |
| 336 | + </execution> |
| 337 | + </executions> |
| 338 | + </plugin> |
177 | 339 | </plugins>
|
178 | 340 | </pluginManagement>
|
179 | 341 | <plugins>
|
|
0 commit comments