|
11 | 11 | <connection>scm:git:git@github.com/hub4j/${project.artifactId}.git</connection> |
12 | 12 | <developerConnection>scm:git:ssh://git@github.com/hub4j/${project.artifactId}.git</developerConnection> |
13 | 13 | <url>https://github.com/hub4j/github-api/</url> |
14 | | - <tag>HEAD</tag> |
| 14 | + <tag>github-api-1.317</tag> |
15 | 15 | </scm> |
16 | 16 |
|
17 | 17 | <distributionManagement> |
|
38 | 38 | <spotbugs-maven-plugin.failOnError>true</spotbugs-maven-plugin.failOnError> |
39 | 39 | <hamcrest.version>2.2</hamcrest.version> |
40 | 40 | <okhttp3.version>4.9.2</okhttp3.version> |
41 | | - <okio.version>2.10.0</okio.version> |
| 41 | + <okio.version>3.5.0</okio.version> |
42 | 42 | <!-- Using this as the minimum bar for code coverage. Adding methods without covering them will fail this. --> |
43 | 43 | <jacoco.coverage.target.bundle.method>0.70</jacoco.coverage.target.bundle.method> |
44 | 44 | <jacoco.coverage.target.class.method>0.50</jacoco.coverage.target.class.method> |
|
92 | 92 | <plugin> |
93 | 93 | <groupId>org.apache.maven.plugins</groupId> |
94 | 94 | <artifactId>maven-source-plugin</artifactId> |
95 | | - <version>3.2.1</version> |
| 95 | + <version>3.3.0</version> |
96 | 96 | </plugin> |
97 | 97 | <plugin> |
98 | 98 | <groupId>org.apache.maven.plugins</groupId> |
99 | 99 | <artifactId>maven-gpg-plugin</artifactId> |
100 | | - <version>3.0.1</version> |
| 100 | + <version>3.1.0</version> |
101 | 101 | </plugin> |
102 | 102 | <plugin> |
103 | 103 | <groupId>org.jacoco</groupId> |
104 | 104 | <artifactId>jacoco-maven-plugin</artifactId> |
105 | | - <version>0.8.8</version> |
| 105 | + <version>0.8.10</version> |
106 | 106 | <configuration> |
107 | 107 | <!-- no need to get data about external code. It dramatically reduces performance of JaCoCo for nothing --> |
108 | 108 | <excludes> |
|
241 | 241 | <artifactId>java18</artifactId> |
242 | 242 | <version>1.0</version> |
243 | 243 | </signature> |
| 244 | + <ignores> |
| 245 | + java.net.http.* |
| 246 | + </ignores> |
244 | 247 | </configuration> |
245 | 248 | <executions> |
246 | 249 | <execution> |
|
278 | 281 | <plugin> |
279 | 282 | <groupId>org.apache.maven.plugins</groupId> |
280 | 283 | <artifactId>maven-project-info-reports-plugin</artifactId> |
281 | | - <version>3.4.1</version> |
| 284 | + <version>3.4.2</version> |
282 | 285 | <dependencies> |
283 | 286 | <dependency> |
284 | 287 | <groupId>org.apache.bcel</groupId> |
|
301 | 304 | </annotationProcessorPath> |
302 | 305 | </annotationProcessorPaths> |
303 | 306 | </configuration> |
| 307 | + <executions> |
| 308 | + <execution> |
| 309 | + <id>compile-java-11</id> |
| 310 | + <phase>compile</phase> |
| 311 | + <goals> |
| 312 | + <goal>compile</goal> |
| 313 | + </goals> |
| 314 | + <configuration> |
| 315 | + <release>11</release> |
| 316 | + <source>11</source> |
| 317 | + <target>11</target> |
| 318 | + <compileSourceRoots> |
| 319 | + <compileSourceRoot>${project.basedir}/src/main/java11</compileSourceRoot> |
| 320 | + </compileSourceRoots> |
| 321 | + <multiReleaseOutput>true</multiReleaseOutput> |
| 322 | + </configuration> |
| 323 | + </execution> |
| 324 | + </executions> |
304 | 325 | </plugin> |
305 | 326 | <plugin> |
306 | 327 | <artifactId>maven-surefire-plugin</artifactId> |
| 328 | + <configuration> |
| 329 | + <argLine>@{jacoco.surefire.argLine} ${surefire.argLine}</argLine> |
| 330 | + </configuration> |
307 | 331 | <executions> |
308 | 332 | <execution> |
309 | 333 | <id>default-test</id> |
310 | 334 | <configuration> |
311 | 335 | <excludesFile>src/test/resources/slow-or-flaky-tests.txt</excludesFile> |
312 | | - <argLine>@{jacoco.surefire.argLine} ${surefire.argLine}</argLine> |
313 | 336 | </configuration> |
314 | 337 | </execution> |
315 | 338 | </executions> |
316 | 339 | </plugin> |
| 340 | + <plugin> |
| 341 | + <groupId>org.apache.maven.plugins</groupId> |
| 342 | + <artifactId>maven-jar-plugin</artifactId> |
| 343 | + <version>3.3.0</version> |
| 344 | + <configuration> |
| 345 | + <archive> |
| 346 | + <manifestEntries> |
| 347 | + <Automatic-Module-Name>org.kohsuke.github.api</Automatic-Module-Name> |
| 348 | + <Multi-Release>true</Multi-Release> |
| 349 | + </manifestEntries> |
| 350 | + </archive> |
| 351 | + </configuration> |
| 352 | + </plugin> |
317 | 353 | <plugin> |
318 | 354 | <groupId>org.codehaus.mojo</groupId> |
319 | 355 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
|
431 | 467 | <dependency> |
432 | 468 | <groupId>com.tngtech.archunit</groupId> |
433 | 469 | <artifactId>archunit</artifactId> |
434 | | - <version>0.23.1</version> |
| 470 | + <version>1.1.0</version> |
435 | 471 | <scope>test</scope> |
436 | 472 | </dependency> |
437 | 473 | <dependency> |
|
453 | 489 | <version>${hamcrest.version}</version> |
454 | 490 | <scope>test</scope> |
455 | 491 | </dependency> |
| 492 | + <dependency> |
| 493 | + <groupId>com.github.npathai</groupId> |
| 494 | + <artifactId>hamcrest-optional</artifactId> |
| 495 | + <version>2.0.0</version> |
| 496 | + <scope>test</scope> |
| 497 | + </dependency> |
456 | 498 | <dependency> |
457 | 499 | <groupId>junit</groupId> |
458 | 500 | <artifactId>junit</artifactId> |
|
468 | 510 | <dependency> |
469 | 511 | <groupId>com.fasterxml.jackson.core</groupId> |
470 | 512 | <artifactId>jackson-databind</artifactId> |
471 | | - <version>2.14.0</version> |
| 513 | + <version>2.15.2</version> |
472 | 514 | </dependency> |
473 | 515 | <dependency> |
474 | 516 | <groupId>commons-io</groupId> |
|
485 | 527 | <dependency> |
486 | 528 | <groupId>commons-fileupload</groupId> |
487 | 529 | <artifactId>commons-fileupload</artifactId> |
488 | | - <version>1.4</version> |
| 530 | + <version>1.5</version> |
489 | 531 | <scope>test</scope> |
490 | 532 | </dependency> |
491 | 533 | <!-- for stapler-jetty --> |
|
511 | 553 | <dependency> |
512 | 554 | <groupId>org.eclipse.jgit</groupId> |
513 | 555 | <artifactId>org.eclipse.jgit</artifactId> |
514 | | - <version>6.4.0.202211300538-r</version> |
| 556 | + <version>6.7.0.202309050840-r</version> |
515 | 557 | <scope>test</scope> |
516 | 558 | </dependency> |
517 | 559 | <dependency> |
|
579 | 621 | <dependency> |
580 | 622 | <groupId>com.github.tomakehurst</groupId> |
581 | 623 | <artifactId>wiremock-jre8-standalone</artifactId> |
582 | | - <version>2.32.0</version> |
| 624 | + <version>2.35.1</version> |
583 | 625 | <scope>test</scope> |
584 | 626 | </dependency> |
585 | 627 | <dependency> |
|
591 | 633 | <dependency> |
592 | 634 | <groupId>org.slf4j</groupId> |
593 | 635 | <artifactId>slf4j-simple</artifactId> |
594 | | - <version>2.0.3</version> |
| 636 | + <version>2.0.7</version> |
595 | 637 | <scope>test</scope> |
596 | 638 | </dependency> |
597 | 639 | </dependencies> |
|
610 | 652 | <profiles> |
611 | 653 | <!-- only enable slow-or-flaky-test if -Dtest= is not present --> |
612 | 654 | <profile> |
613 | | - <id>slow-or-flaky-test</id> |
| 655 | + <id>test-slow-multireleasejar-flaky</id> |
614 | 656 | <activation> |
615 | 657 | <property> |
616 | 658 | <name>!test</name> |
|
0 commit comments