|
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.8.2</junit.version> |
| 61 | + <testcontainers.version>1.15.3</testcontainers.version> |
| 62 | + <mockito.version>4.1.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> |
193 | 196 | <groupId>org.jacoco</groupId> |
194 | 197 | <artifactId>jacoco-maven-plugin</artifactId> |
195 | | - <version>0.8.3</version> |
| 198 | + <version>0.8.7</version> |
196 | 199 | <executions> |
197 | 200 | <execution> |
198 | 201 | <id>default-prepare-agent</id> |
|
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> |
| 246 | + <excludedGroups>integration</excludedGroups> |
244 | 247 | </configuration> |
245 | 248 | </plugin> |
246 | 249 |
|
| 250 | + |
247 | 251 | <plugin> |
248 | 252 | <groupId>org.apache.maven.plugins</groupId> |
249 | 253 | <artifactId>maven-failsafe-plugin</artifactId> |
250 | | - <version>3.0.0-M3</version> |
| 254 | + <version>3.0.0-M5</version> |
251 | 255 | <configuration> |
252 | | - <groups>org.gitlab4j.api.IntegrationTest</groups> |
| 256 | + <groups>integration</groups> |
253 | 257 | <includes> |
254 | | - <include>**/IntegrationTestSuite.java</include> |
| 258 | + <include>**/*.java</include> |
255 | 259 | </includes> |
256 | 260 | </configuration> |
257 | 261 | <executions> |
|
290 | 294 | <dependency> |
291 | 295 | <groupId>org.codehaus.mojo</groupId> |
292 | 296 | <artifactId>extra-enforcer-rules</artifactId> |
293 | | - <version>1.2</version> |
| 297 | + <version>1.3</version> |
294 | 298 | </dependency> |
295 | 299 | </dependencies> |
296 | 300 | </plugin> |
297 | 301 |
|
298 | 302 | <plugin> |
299 | 303 | <groupId>org.codehaus.mojo</groupId> |
300 | 304 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
301 | | - <version>1.17</version> |
| 305 | + <version>1.20</version> |
302 | 306 | <executions> |
303 | 307 | <execution> |
304 | 308 | <goals> |
|
327 | 331 | <run> |
328 | 332 | <skip>${gitlab.skip-docker-start}</skip> |
329 | 333 | <env> |
330 | | - <GITLAB_OMNIBUS_CONFIG>gitlab_rails['initial_root_password']="password"; gitlab_rails['lfs_enabled']=false;</GITLAB_OMNIBUS_CONFIG> |
| 334 | + <GITLAB_OMNIBUS_CONFIG>gitlab_rails['initial_root_password']="password"; |
| 335 | + gitlab_rails['lfs_enabled']=false;</GITLAB_OMNIBUS_CONFIG> |
331 | 336 | </env> |
332 | 337 | <ports> |
333 | 338 | <port>${gitlab.port}:80</port> |
|
358 | 363 | </execution> |
359 | 364 | </executions> |
360 | 365 | </plugin> |
361 | | - |
362 | 366 | </plugins> |
363 | 367 |
|
364 | 368 | <pluginManagement> |
365 | 369 | <plugins> |
366 | | - <!-- The se.bjurr.gitchangelog:git-changelog-maven-plugin needs to be in --> |
| 370 | + <!-- The se.bjurr.gitchangelog:git-changelog-maven-plugin needs to be |
| 371 | + in --> |
367 | 372 | <!-- this section (pluginManagement) for it to work correctly. --> |
368 | 373 | <plugin> |
369 | 374 | <groupId>se.bjurr.gitchangelog</groupId> |
|
382 | 387 | </executions> |
383 | 388 | </plugin> |
384 | 389 | <plugin> |
385 | | - <groupId>biz.aQute.bnd</groupId> |
386 | | - <artifactId>bnd-maven-plugin</artifactId> |
387 | | - <version>${bnd.version}</version> |
388 | | - <configuration> |
389 | | - <bnd><![CDATA[ |
| 390 | + <groupId>biz.aQute.bnd</groupId> |
| 391 | + <artifactId>bnd-maven-plugin</artifactId> |
| 392 | + <version>${bnd.version}</version> |
| 393 | + <configuration> |
| 394 | + <bnd><![CDATA[ |
390 | 395 | Export-Package: org.gitlab4j.api.* |
391 | 396 | ]]></bnd> |
392 | | - </configuration> |
| 397 | + </configuration> |
393 | 398 | </plugin> |
394 | 399 | </plugins> |
395 | 400 | </pluginManagement> |
|
435 | 440 | </dependency> |
436 | 441 |
|
437 | 442 | <dependency> |
438 | | - <groupId>org.junit.vintage</groupId> |
439 | | - <artifactId>junit-vintage-engine</artifactId> |
| 443 | + <groupId>org.junit.jupiter</groupId> |
| 444 | + <artifactId>junit-jupiter</artifactId> |
440 | 445 | <version>${junit.version}</version> |
441 | 446 | <scope>test</scope> |
442 | 447 | </dependency> |
|
447 | 452 | <scope>test</scope> |
448 | 453 | </dependency> |
449 | 454 | <dependency> |
450 | | - <groupId>org.hamcrest</groupId> |
451 | | - <artifactId>hamcrest-all</artifactId> |
452 | | - <version>${hamcrest.version}</version> |
| 455 | + <groupId>org.mockito</groupId> |
| 456 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 457 | + <version>${mockito.version}</version> |
453 | 458 | <scope>test</scope> |
454 | 459 | </dependency> |
455 | 460 | <dependency> |
456 | | - <groupId>com.github.stefanbirkner</groupId> |
457 | | - <artifactId>system-rules</artifactId> |
458 | | - <version>${systemRules.version}</version> |
| 461 | + <groupId>org.hamcrest</groupId> |
| 462 | + <artifactId>hamcrest-all</artifactId> |
| 463 | + <version>${hamcrest.version}</version> |
459 | 464 | <scope>test</scope> |
460 | 465 | </dependency> |
461 | 466 | <dependency> |
462 | | - <groupId>com.googlecode.junit-toolbox</groupId> |
463 | | - <artifactId>junit-toolbox</artifactId> |
464 | | - <version>2.4</version> |
465 | | - <scope>test</scope> |
| 467 | + <groupId>uk.org.webcompere</groupId> |
| 468 | + <artifactId>system-stubs-jupiter</artifactId> |
| 469 | + <version>1.2.0</version> |
466 | 470 | </dependency> |
467 | 471 | </dependencies> |
468 | 472 |
|
469 | 473 | <dependencyManagement> |
470 | 474 | <dependencies> |
471 | | - <!-- Needed for animal-sniffer --> |
| 475 | + <!-- Needed for animal-sniffer --> |
472 | 476 | <dependency> |
473 | 477 | <groupId>org.codehaus.mojo.signature</groupId> |
474 | 478 | <artifactId>java18</artifactId> |
|
0 commit comments