|
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>
|
|
138 | 141 | <dependency>
|
139 | 142 | <groupId>org.junit.jupiter</groupId>
|
140 | 143 | <artifactId>junit-jupiter</artifactId>
|
141 |
| - <version>5.11.4</version> |
| 144 | + <version>${junit-bom.version}</version> |
142 | 145 | </dependency>
|
143 | 146 | <dependency>
|
144 | 147 | <groupId>org.junit.jupiter</groupId>
|
145 | 148 | <artifactId>junit-jupiter-api</artifactId>
|
146 |
| - <version>5.11.4</version> |
| 149 | + <version>${junit-bom.version}</version> |
147 | 150 | </dependency>
|
148 | 151 | <dependency>
|
149 | 152 | <groupId>org.junit.jupiter</groupId>
|
150 | 153 | <artifactId>junit-jupiter-engine</artifactId>
|
151 |
| - <version>5.11.4</version> |
| 154 | + <version>${junit-bom.version}</version> |
152 | 155 | </dependency>
|
153 | 156 | <dependency>
|
154 | 157 | <groupId>org.junit.jupiter</groupId>
|
155 | 158 | <artifactId>junit-jupiter-params</artifactId>
|
156 |
| - <version>5.11.4</version> |
| 159 | + <version>${junit-bom.version}</version> |
157 | 160 | </dependency>
|
158 | 161 | <dependency>
|
159 | 162 | <groupId>org.testcontainers</groupId>
|
160 | 163 | <artifactId>junit-jupiter</artifactId>
|
161 |
| - <version>1.19.8</version> |
| 164 | + <version>${testcontainers.version}</version> |
162 | 165 | </dependency>
|
163 | 166 | <dependency>
|
164 | 167 | <groupId>org.testcontainers</groupId>
|
165 | 168 | <artifactId>kafka</artifactId>
|
166 |
| - <version>1.20.0</version> |
| 169 | + <version>${testcontainers.version}</version> |
167 | 170 | </dependency>
|
168 | 171 | <dependency>
|
169 | 172 | <groupId>org.springframework.boot</groupId>
|
|
174 | 177 | <dependency>
|
175 | 178 | <groupId>org.testcontainers</groupId>
|
176 | 179 | <artifactId>postgresql</artifactId>
|
177 |
| - <version>1.20.0</version> |
| 180 | + <version>${testcontainers.version}</version> |
178 | 181 | </dependency>
|
179 | 182 | <dependency>
|
180 | 183 | <groupId>org.testcontainers</groupId>
|
181 | 184 | <artifactId>rabbitmq</artifactId>
|
182 |
| - <version>1.20.0</version> |
| 185 | + <version>${testcontainers.version}</version> |
183 | 186 | </dependency>
|
184 | 187 | <dependency>
|
185 | 188 | <groupId>io.rest-assured</groupId>
|
186 | 189 | <artifactId>rest-assured</artifactId>
|
187 | 190 | <version>5.5.1</version>
|
188 |
| - <scope>test</scope> |
189 | 191 | </dependency>
|
190 | 192 | <dependency>
|
191 | 193 | <groupId>io.dapr.spring</groupId>
|
|
226 | 228 | <plugin>
|
227 | 229 | <groupId>org.apache.maven.plugins</groupId>
|
228 | 230 | <artifactId>maven-source-plugin</artifactId>
|
229 |
| - <version>3.2.1</version> |
| 231 | + <version>${maven-sources-plugin.version}</version> |
230 | 232 | </plugin>
|
231 | 233 | <plugin>
|
232 | 234 | <groupId>org.apache.maven.plugins</groupId>
|
|
279 | 281 | <plugin>
|
280 | 282 | <groupId>org.jacoco</groupId>
|
281 | 283 | <artifactId>jacoco-maven-plugin</artifactId>
|
282 |
| - <version>0.8.11</version> |
| 284 | + <version>${jacoco-maven-plugin.version}</version> |
283 | 285 | <executions>
|
284 | 286 | <execution>
|
285 | 287 | <id>default-prepare-agent</id>
|
|
310 | 312 | <limit>
|
311 | 313 | <counter>LINE</counter>
|
312 | 314 | <value>COVEREDRATIO</value>
|
313 |
| - <minimum>80%</minimum> |
| 315 | + <minimum>${jacoco-maven-plugin.coverage-ratio}</minimum> |
314 | 316 | </limit>
|
315 | 317 | </limits>
|
316 | 318 | </rule>
|
|
0 commit comments