|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 5 |
|
4 | 6 | <modelVersion>4.0.0</modelVersion> |
5 | 7 | <groupId>org.gitlab4j</groupId> |
|
50 | 52 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
51 | 53 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
52 | 54 |
|
53 | | - <jersey.version>2.30.1</jersey.version> |
54 | | - <jackson.version>2.10.3</jackson.version> |
55 | | - <servlet.version>4.0.3</servlet.version> |
| 55 | + <jersey.version>2.34</jersey.version> |
| 56 | + <jackson.version>2.12.4</jackson.version> |
| 57 | + <servlet.version>4.0.4</servlet.version> |
56 | 58 | <activation.version>1.2.2</activation.version> |
57 | 59 |
|
58 | | - <junit.version>5.6.0</junit.version> |
59 | | - <mockito.version>3.3.0</mockito.version> |
| 60 | + <junit.version>5.7.2</junit.version> |
| 61 | + <testcontainers.version>1.15.3</testcontainers.version> |
| 62 | + <mockito.version>3.12.0</mockito.version> |
60 | 63 | <hamcrest.version>1.3</hamcrest.version> |
61 | 64 | <systemRules.version>1.19.0</systemRules.version> |
62 | 65 |
|
|
67 | 70 | <gitlab.autoremove-container>true</gitlab.autoremove-container> |
68 | 71 | <gitlab.skip-docker-start>true</gitlab.skip-docker-start> |
69 | 72 | <gitlab.port>8090</gitlab.port> |
70 | | - |
| 73 | + |
71 | 74 | <sonar.projectKey>gitlab4j_gitlab4j-api</sonar.projectKey> |
72 | 75 | <sonar.organization>gitlab4j</sonar.organization> |
73 | 76 | <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
|
121 | 124 | </plugin> |
122 | 125 |
|
123 | 126 | <plugin> |
124 | | - <groupId>biz.aQute.bnd</groupId> |
125 | | - <artifactId>bnd-maven-plugin</artifactId> |
126 | | - <executions> |
127 | | - <execution> |
128 | | - <goals> |
129 | | - <goal>bnd-process</goal> |
130 | | - </goals> |
131 | | - </execution> |
132 | | - </executions> |
| 127 | + <groupId>biz.aQute.bnd</groupId> |
| 128 | + <artifactId>bnd-maven-plugin</artifactId> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <goals> |
| 132 | + <goal>bnd-process</goal> |
| 133 | + </goals> |
| 134 | + </execution> |
| 135 | + </executions> |
133 | 136 | </plugin> |
134 | 137 |
|
135 | 138 | <plugin> |
|
179 | 182 | </plugin> |
180 | 183 |
|
181 | 184 | <plugin> |
182 | | - <groupId>org.apache.maven.plugins</groupId> |
183 | | - <artifactId>maven-jar-plugin</artifactId> |
184 | | - <version>3.2.0</version> |
185 | | - <configuration> |
186 | | - <archive> |
187 | | - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
188 | | - </archive> |
189 | | - </configuration> |
| 185 | + <groupId>org.apache.maven.plugins</groupId> |
| 186 | + <artifactId>maven-jar-plugin</artifactId> |
| 187 | + <version>3.2.0</version> |
| 188 | + <configuration> |
| 189 | + <archive> |
| 190 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 191 | + </archive> |
| 192 | + </configuration> |
190 | 193 | </plugin> |
191 | 194 |
|
192 | 195 | <plugin> |
|
235 | 238 | <plugin> |
236 | 239 | <groupId>org.apache.maven.plugins</groupId> |
237 | 240 | <artifactId>maven-surefire-plugin</artifactId> |
238 | | - <version>3.0.0-M3</version> |
| 241 | + <version>3.0.0-M5</version> |
239 | 242 | <configuration> |
240 | | - <excludedGroups>org.gitlab4j.api.IntegrationTest</excludedGroups> |
241 | 243 | <systemPropertyVariables> |
242 | 244 | <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> |
243 | 245 | </systemPropertyVariables> |
244 | 246 | </configuration> |
245 | 247 | </plugin> |
246 | 248 |
|
247 | | - <plugin> |
248 | | - <groupId>org.apache.maven.plugins</groupId> |
249 | | - <artifactId>maven-failsafe-plugin</artifactId> |
250 | | - <version>3.0.0-M3</version> |
251 | | - <configuration> |
252 | | - <groups>org.gitlab4j.api.IntegrationTest</groups> |
253 | | - <includes> |
254 | | - <include>**/IntegrationTestSuite.java</include> |
255 | | - </includes> |
256 | | - </configuration> |
257 | | - <executions> |
258 | | - <execution> |
259 | | - <goals> |
260 | | - <goal>integration-test</goal> |
261 | | - <goal>verify</goal> |
262 | | - </goals> |
263 | | - </execution> |
264 | | - </executions> |
265 | | - </plugin> |
266 | | - |
267 | 249 | <plugin> |
268 | 250 | <groupId>org.apache.maven.plugins</groupId> |
269 | 251 | <artifactId>maven-enforcer-plugin</artifactId> |
|
290 | 272 | <dependency> |
291 | 273 | <groupId>org.codehaus.mojo</groupId> |
292 | 274 | <artifactId>extra-enforcer-rules</artifactId> |
293 | | - <version>1.2</version> |
| 275 | + <version>1.3</version> |
294 | 276 | </dependency> |
295 | 277 | </dependencies> |
296 | 278 | </plugin> |
|
327 | 309 | <run> |
328 | 310 | <skip>${gitlab.skip-docker-start}</skip> |
329 | 311 | <env> |
330 | | - <GITLAB_OMNIBUS_CONFIG>gitlab_rails['initial_root_password']="password"; gitlab_rails['lfs_enabled']=false;</GITLAB_OMNIBUS_CONFIG> |
| 312 | + <GITLAB_OMNIBUS_CONFIG>gitlab_rails['initial_root_password']="password"; |
| 313 | + gitlab_rails['lfs_enabled']=false;</GITLAB_OMNIBUS_CONFIG> |
331 | 314 | </env> |
332 | 315 | <ports> |
333 | 316 | <port>${gitlab.port}:80</port> |
|
359 | 342 | </executions> |
360 | 343 | </plugin> |
361 | 344 |
|
| 345 | + <plugin> |
| 346 | + <groupId>org.owasp</groupId> |
| 347 | + <artifactId>dependency-check-maven</artifactId> |
| 348 | + <version>6.2.2</version> |
| 349 | + <executions> |
| 350 | + <execution> |
| 351 | + <goals> |
| 352 | + <goal>check</goal> |
| 353 | + </goals> |
| 354 | + </execution> |
| 355 | + </executions> |
| 356 | + </plugin> |
| 357 | + |
362 | 358 | </plugins> |
363 | 359 |
|
364 | 360 | <pluginManagement> |
|
382 | 378 | </executions> |
383 | 379 | </plugin> |
384 | 380 | <plugin> |
385 | | - <groupId>biz.aQute.bnd</groupId> |
386 | | - <artifactId>bnd-maven-plugin</artifactId> |
387 | | - <version>${bnd.version}</version> |
388 | | - <configuration> |
389 | | - <bnd><![CDATA[ |
| 381 | + <groupId>biz.aQute.bnd</groupId> |
| 382 | + <artifactId>bnd-maven-plugin</artifactId> |
| 383 | + <version>${bnd.version}</version> |
| 384 | + <configuration> |
| 385 | + <bnd><![CDATA[ |
390 | 386 | Export-Package: org.gitlab4j.api.* |
391 | 387 | ]]></bnd> |
392 | | - </configuration> |
| 388 | + </configuration> |
393 | 389 | </plugin> |
394 | 390 | </plugins> |
395 | 391 | </pluginManagement> |
|
436 | 432 | </dependency> |
437 | 433 |
|
438 | 434 | <dependency> |
439 | | - <groupId>org.junit.vintage</groupId> |
440 | | - <artifactId>junit-vintage-engine</artifactId> |
| 435 | + <groupId>org.junit.jupiter</groupId> |
| 436 | + <artifactId>junit-jupiter</artifactId> |
441 | 437 | <version>${junit.version}</version> |
442 | 438 | <scope>test</scope> |
443 | 439 | </dependency> |
|
447 | 443 | <version>${mockito.version}</version> |
448 | 444 | <scope>test</scope> |
449 | 445 | </dependency> |
| 446 | + <dependency> |
| 447 | + <groupId>org.mockito</groupId> |
| 448 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 449 | + <version>${mockito.version}</version> |
| 450 | + <scope>test</scope> |
| 451 | + </dependency> |
450 | 452 | <dependency> |
451 | 453 | <groupId>org.hamcrest</groupId> |
452 | 454 | <artifactId>hamcrest-all</artifactId> |
453 | 455 | <version>${hamcrest.version}</version> |
454 | 456 | <scope>test</scope> |
455 | 457 | </dependency> |
456 | 458 | <dependency> |
457 | | - <groupId>com.github.stefanbirkner</groupId> |
458 | | - <artifactId>system-rules</artifactId> |
459 | | - <version>${systemRules.version}</version> |
460 | | - <scope>test</scope> |
461 | | - </dependency> |
462 | | - <dependency> |
463 | | - <groupId>com.googlecode.junit-toolbox</groupId> |
464 | | - <artifactId>junit-toolbox</artifactId> |
465 | | - <version>2.4</version> |
466 | | - <scope>test</scope> |
| 459 | + <groupId>uk.org.webcompere</groupId> |
| 460 | + <artifactId>system-stubs-jupiter</artifactId> |
| 461 | + <version>1.2.0</version> |
467 | 462 | </dependency> |
468 | 463 | </dependencies> |
469 | 464 |
|
470 | 465 | <dependencyManagement> |
471 | 466 | <dependencies> |
472 | | - <!-- Needed for animal-sniffer --> |
| 467 | + <!-- Needed for animal-sniffer --> |
473 | 468 | <dependency> |
474 | 469 | <groupId>org.codehaus.mojo.signature</groupId> |
475 | 470 | <artifactId>java18</artifactId> |
|
0 commit comments