|
479 | 479 | <redirectTestOutputToFile>true</redirectTestOutputToFile>
|
480 | 480 | <trimStackTrace>false</trimStackTrace>
|
481 | 481 | <argLine>${jvm.options}</argLine>
|
482 |
| - <jdkToolchain> |
483 |
| - <version>${latest.java.version}</version> |
484 |
| - </jdkToolchain> |
485 | 482 | </configuration>
|
486 | 483 | </plugin>
|
487 | 484 |
|
|
492 | 489 | <configuration>
|
493 | 490 | <redirectTestOutputToFile>true</redirectTestOutputToFile>
|
494 | 491 | <trimStackTrace>false</trimStackTrace>
|
495 |
| - <jdkToolchain> |
496 |
| - <version>${latest.java.version}</version> |
497 |
| - </jdkToolchain> |
498 | 492 | </configuration>
|
499 | 493 | </plugin>
|
500 | 494 | </plugins>
|
501 | 495 | </pluginManagement>
|
502 | 496 |
|
503 | 497 | <plugins>
|
504 |
| - <plugin> |
505 |
| - <groupId>org.apache.maven.plugins</groupId> |
506 |
| - <artifactId>maven-toolchains-plugin</artifactId> |
507 |
| - <version>3.2.0</version> |
508 |
| - <executions> |
509 |
| - <execution> |
510 |
| - <goals> |
511 |
| - <goal>toolchain</goal> |
512 |
| - </goals> |
513 |
| - <configuration> |
514 |
| - <toolchains> |
515 |
| - <jdk> |
516 |
| - <version>${main.java.version}</version> |
517 |
| - </jdk> |
518 |
| - </toolchains> |
519 |
| - </configuration> |
520 |
| - </execution> |
521 |
| - <execution> |
522 |
| - <id>test</id> |
523 |
| - <phase>generate-test-sources</phase> |
524 |
| - <goals> |
525 |
| - <goal>toolchain</goal> |
526 |
| - </goals> |
527 |
| - <configuration> |
528 |
| - <toolchains> |
529 |
| - <jdk> |
530 |
| - <version>${latest.java.version}</version> |
531 |
| - </jdk> |
532 |
| - </toolchains> |
533 |
| - </configuration> |
534 |
| - </execution> |
535 |
| - </executions> |
536 |
| - </plugin> |
537 |
| - |
538 | 498 | <plugin>
|
539 | 499 | <groupId>org.moditect</groupId>
|
540 | 500 | <artifactId>moditect-maven-plugin</artifactId>
|
|
667 | 627 | <exclude>etc/header.txt</exclude>
|
668 | 628 | <exclude>**/.idea/**</exclude>
|
669 | 629 | <exclude>**/target/**</exclude>
|
| 630 | + <exclude>**/scripts/**</exclude> |
| 631 | + <exclude>**/src/config/**</exclude> |
| 632 | + <exclude>**/codequality/**</exclude> |
670 | 633 | <exclude>LICENSE</exclude>
|
671 | 634 | <exclude>NOTICE</exclude>
|
672 | 635 | <exclude>OSSMETADATA</exclude>
|
|
961 | 924 | <plugin>
|
962 | 925 | <groupId>org.openrewrite.maven</groupId>
|
963 | 926 | <artifactId>rewrite-maven-plugin</artifactId>
|
964 |
| - <version>5.35.0</version> |
965 |
| - |
966 |
| - <configuration> |
967 |
| - <activeRecipes> |
968 |
| - <recipe>org.openrewrite.java.testing.hamcrest.MigrateHamcrestToAssertJ</recipe> |
969 |
| - <recipe>org.openrewrite.java.testing.assertj.JUnitToAssertj</recipe> |
970 |
| - <recipe>org.openrewrite.java.testing.assertj.Assertj</recipe> |
971 |
| - <recipe>org.openrewrite.java.migrate.UpgradeToJava21</recipe> |
972 |
| - </activeRecipes> |
973 |
| - <exclusions> |
974 |
| - <exclusion>**/src/main/java/**</exclusion> |
975 |
| - <exclusion>**/pom.xml</exclusion> |
976 |
| - </exclusions> |
977 |
| - </configuration> |
| 927 | + <version>5.36.0</version> |
978 | 928 |
|
979 | 929 | <dependencies>
|
980 | 930 | <dependency>
|
981 | 931 | <groupId>org.openrewrite.recipe</groupId>
|
982 | 932 | <artifactId>rewrite-testing-frameworks</artifactId>
|
983 |
| - <version>2.13.0</version> |
| 933 | + <version>2.14.0</version> |
984 | 934 | </dependency>
|
985 | 935 | <dependency>
|
986 | 936 | <groupId>org.openrewrite.recipe</groupId>
|
987 | 937 | <artifactId>rewrite-migrate-java</artifactId>
|
988 |
| - <version>2.19.0</version> |
| 938 | + <version>2.20.0</version> |
989 | 939 | </dependency>
|
990 | 940 | </dependencies>
|
991 | 941 |
|
992 | 942 | <executions>
|
993 | 943 | <execution>
|
| 944 | + <id>tests</id> |
994 | 945 | <goals>
|
995 | 946 | <goal>runNoFork</goal>
|
996 | 947 | </goals>
|
997 | 948 | <phase>verify</phase>
|
| 949 | + <configuration> |
| 950 | + <exportDatatables>true</exportDatatables> |
| 951 | + <activeRecipes> |
| 952 | + <recipe>org.openrewrite.java.testing.hamcrest.MigrateHamcrestToAssertJ</recipe> |
| 953 | + <recipe>org.openrewrite.java.testing.assertj.JUnitToAssertj</recipe> |
| 954 | + <recipe>org.openrewrite.java.testing.assertj.Assertj</recipe> |
| 955 | + <recipe>org.openrewrite.java.migrate.UpgradeToJava21</recipe> |
| 956 | + </activeRecipes> |
| 957 | + <exclusions> |
| 958 | + <exclusion>**/src/main/java/**</exclusion> |
| 959 | + <exclusion>pom.xml</exclusion> |
| 960 | + </exclusions> |
| 961 | + </configuration> |
| 962 | + </execution> |
| 963 | + <execution> |
| 964 | + <id>sources</id> |
| 965 | + <goals> |
| 966 | + <goal>runNoFork</goal> |
| 967 | + </goals> |
| 968 | + <phase>verify</phase> |
| 969 | + <configuration> |
| 970 | + <exportDatatables>true</exportDatatables> |
| 971 | + <activeRecipes> |
| 972 | + <recipe>org.openrewrite.java.migrate.UpgradeToJava8</recipe> |
| 973 | + </activeRecipes> |
| 974 | + </configuration> |
| 975 | + </execution> |
| 976 | + </executions> |
| 977 | + </plugin> |
| 978 | + </plugins> |
| 979 | + </build> |
| 980 | + </profile> |
| 981 | + |
| 982 | + <profile> |
| 983 | + <id>toolchain</id> |
| 984 | + <activation> |
| 985 | + <property> |
| 986 | + <name>!toolchain.skip</name> |
| 987 | + </property> |
| 988 | + </activation> |
| 989 | + |
| 990 | + <build> |
| 991 | + <plugins> |
| 992 | + <plugin> |
| 993 | + <groupId>org.apache.maven.plugins</groupId> |
| 994 | + <artifactId>maven-toolchains-plugin</artifactId> |
| 995 | + <version>3.2.0</version> |
| 996 | + <executions> |
| 997 | + <execution> |
| 998 | + <goals> |
| 999 | + <goal>toolchain</goal> |
| 1000 | + </goals> |
| 1001 | + <configuration> |
| 1002 | + <toolchains> |
| 1003 | + <jdk> |
| 1004 | + <version>${main.java.version}</version> |
| 1005 | + </jdk> |
| 1006 | + </toolchains> |
| 1007 | + </configuration> |
| 1008 | + </execution> |
| 1009 | + <execution> |
| 1010 | + <id>test</id> |
| 1011 | + <goals> |
| 1012 | + <goal>toolchain</goal> |
| 1013 | + </goals> |
| 1014 | + <phase>generate-test-sources</phase> |
| 1015 | + <configuration> |
| 1016 | + <toolchains> |
| 1017 | + <jdk> |
| 1018 | + <version>${latest.java.version}</version> |
| 1019 | + </jdk> |
| 1020 | + </toolchains> |
| 1021 | + </configuration> |
998 | 1022 | </execution>
|
999 | 1023 | </executions>
|
1000 | 1024 | </plugin>
|
| 1025 | + <plugin> |
| 1026 | + <groupId>org.apache.maven.plugins</groupId> |
| 1027 | + <artifactId>maven-surefire-plugin</artifactId> |
| 1028 | + <configuration> |
| 1029 | + <jdkToolchain> |
| 1030 | + <version>${latest.java.version}</version> |
| 1031 | + </jdkToolchain> |
| 1032 | + </configuration> |
| 1033 | + </plugin> |
| 1034 | + <plugin> |
| 1035 | + <groupId>org.apache.maven.plugins</groupId> |
| 1036 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 1037 | + <configuration> |
| 1038 | + <jdkToolchain> |
| 1039 | + <version>${latest.java.version}</version> |
| 1040 | + </jdkToolchain> |
| 1041 | + </configuration> |
| 1042 | + </plugin> |
1001 | 1043 | </plugins>
|
1002 | 1044 | </build>
|
1003 | 1045 | </profile>
|
|
0 commit comments