|
83 | 83 | <plugins> |
84 | 84 | <plugin> |
85 | 85 | <artifactId>maven-surefire-plugin</artifactId> |
86 | | - <version>2.22.2</version> |
| 86 | + <version>3.2.2</version> |
87 | 87 | <configuration> |
88 | 88 | <!-- SUREFIRE-1226 workaround --> |
89 | 89 | <trimStackTrace>false</trimStackTrace> |
|
458 | 458 | </plugins> |
459 | 459 | </build> |
460 | 460 |
|
| 461 | + <dependencyManagement> |
| 462 | + <dependencies> |
| 463 | + <dependency> |
| 464 | + <groupId>com.fasterxml.jackson</groupId> |
| 465 | + <artifactId>jackson-bom</artifactId> |
| 466 | + <version>2.15.3</version> |
| 467 | + <scope>import</scope> |
| 468 | + <type>pom</type> |
| 469 | + </dependency> |
| 470 | + </dependencies> |
| 471 | + </dependencyManagement> |
| 472 | + |
461 | 473 | <dependencies> |
462 | 474 | <dependency> |
463 | 475 | <groupId>org.apache.commons</groupId> |
|
510 | 522 | <dependency> |
511 | 523 | <groupId>com.fasterxml.jackson.core</groupId> |
512 | 524 | <artifactId>jackson-databind</artifactId> |
513 | | - <version>2.15.2</version> |
514 | 525 | </dependency> |
515 | 526 | <dependency> |
516 | 527 | <groupId>commons-io</groupId> |
|
652 | 663 | <profiles> |
653 | 664 | <!-- only enable slow-or-flaky-test if -Dtest= is not present --> |
654 | 665 | <profile> |
655 | | - <id>test-slow-multireleasejar-flaky</id> |
| 666 | + <id>test-jwt-slow-multireleasejar-flaky</id> |
656 | 667 | <activation> |
657 | 668 | <property> |
658 | 669 | <name>!test</name> |
|
715 | 726 | <includesFile>src/test/resources/slow-or-flaky-tests.txt</includesFile> |
716 | 727 | </configuration> |
717 | 728 | </execution> |
| 729 | + <execution> |
| 730 | + <!-- Verify that JWT suite 0.11.x still works --> |
| 731 | + <id>jwt0.11.x-test</id> |
| 732 | + <phase>integration-test</phase> |
| 733 | + <goals> |
| 734 | + <goal>test</goal> |
| 735 | + </goals> |
| 736 | + <configuration> |
| 737 | + <classesDirectory>${project.basedir}/target/github-api-${project.version}.jar</classesDirectory> |
| 738 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 739 | + <excludesFile>src/test/resources/slow-or-flaky-tests.txt</excludesFile> |
| 740 | + <argLine>@{jacoco.surefire.argLine} ${surefire.argLine} -Dtest.github.connector=okhttp</argLine> |
| 741 | + <classpathDependencyExcludes> |
| 742 | + <classpathDependencyExclude>io.jsonwebtoken:*</classpathDependencyExclude> |
| 743 | + </classpathDependencyExcludes> |
| 744 | + <additionalClasspathDependencies> |
| 745 | + <additionalClasspathDependency> |
| 746 | + <groupId>io.jsonwebtoken</groupId> |
| 747 | + <artifactId>jjwt-api</artifactId> |
| 748 | + <version>0.11.5</version> |
| 749 | + </additionalClasspathDependency> |
| 750 | + <additionalClasspathDependency> |
| 751 | + <groupId>io.jsonwebtoken</groupId> |
| 752 | + <artifactId>jjwt-impl</artifactId> |
| 753 | + <version>0.11.5</version> |
| 754 | + </additionalClasspathDependency> |
| 755 | + <additionalClasspathDependency> |
| 756 | + <groupId>io.jsonwebtoken</groupId> |
| 757 | + <artifactId>jjwt-jackson</artifactId> |
| 758 | + <version>0.11.5</version> |
| 759 | + </additionalClasspathDependency> |
| 760 | + </additionalClasspathDependencies> |
| 761 | + </configuration> |
| 762 | + </execution> |
718 | 763 | </executions> |
719 | 764 | </plugin> |
720 | 765 | </plugins> |
|
0 commit comments