|
254 | 254 | <version.jar.plugin>3.4.2</version.jar.plugin> |
255 | 255 | <version.jqassistant.plugin>2.4.0</version.jqassistant.plugin> |
256 | 256 | <version.javadoc.plugin>3.10.1</version.javadoc.plugin> |
257 | | - <version.license.plugin>4.6</version.license.plugin> |
258 | 257 | <version.release.plugin>3.1.1</version.release.plugin> |
259 | 258 | <version.resources.plugin>3.3.1</version.resources.plugin> |
260 | 259 | <version.shade.plugin>3.6.0</version.shade.plugin> |
|
267 | 266 | <version.flatten-maven-plugin>1.6.0</version.flatten-maven-plugin> |
268 | 267 | <version.moditect.plugin>1.2.2.Final</version.moditect.plugin> |
269 | 268 | <version.sisu-maven-plugin>0.9.0.M3</version.sisu-maven-plugin> |
270 | | - <version.impsort-maven-plugin>1.12.0</version.impsort-maven-plugin> |
271 | | - <version.formatter-maven-plugin>2.24.1</version.formatter-maven-plugin> |
272 | 269 | <version.versions.plugin>2.17.1</version.versions.plugin> |
273 | 270 | <version.maven-wrapper-plugin>3.3.2</version.maven-wrapper-plugin> |
274 | 271 | <version.spotless-maven-plugin>2.43.0</version.spotless-maven-plugin> |
|
396 | 393 |
|
397 | 394 | <!-- Formatting --> |
398 | 395 | <format.skip>false</format.skip> |
399 | | - <goal.impsort-maven-plugin>sort</goal.impsort-maven-plugin> |
400 | | - <goal.formatter-maven-plugin>format</goal.formatter-maven-plugin> |
401 | 396 | </properties> |
402 | 397 |
|
403 | 398 | <dependencyManagement> |
|
645 | 640 | </execution> |
646 | 641 | </executions> |
647 | 642 | </plugin> |
648 | | - <plugin> |
649 | | - <groupId>com.mycila</groupId> |
650 | | - <artifactId>license-maven-plugin</artifactId> |
651 | | - </plugin> |
652 | 643 | <plugin> |
653 | 644 | <groupId>org.codehaus.mojo</groupId> |
654 | 645 | <artifactId>build-helper-maven-plugin</artifactId> |
|
908 | 899 | </execution> |
909 | 900 | </executions> |
910 | 901 | </plugin> |
911 | | - <plugin> |
912 | | - <groupId>com.mycila</groupId> |
913 | | - <artifactId>license-maven-plugin</artifactId> |
914 | | - <version>${version.license.plugin}</version> |
915 | | - <configuration> |
916 | | - <licenseSets> |
917 | | - <licenseSet> |
918 | | - <header>${hibernate-validator-parent.path}/build/build-config/src/main/resources/license.header</header> |
919 | | - <excludes> |
920 | | - <!-- Next two classes are copied from other project and have different headers --> |
921 | | - <exclude>**/org/hibernate/validator/internal/util/TypeHelper.java</exclude> |
922 | | - <exclude>**/org/hibernate/validator/test/internal/util/TypeHelperTest.java</exclude> |
923 | | - <exclude>**/settings-example.xml</exclude> |
924 | | - <exclude>**/src/test/resources/org/hibernate/validator/referenceguide/**/*.*</exclude> |
925 | | - <exclude>**/org/hibernate/validator/referenceguide/**/*.*</exclude> |
926 | | - <exclude>**/src/test/resources/org/hibernate/validator/test/internal/xml/**/*.xml</exclude> |
927 | | - <exclude>.mvn/**</exclude> |
928 | | - <exclude>**/generated-sources/**</exclude> |
929 | | - <exclude>**/javadoc-bundle-options/**</exclude> |
930 | | - </excludes> |
931 | | - <includes> |
932 | | - <include>**/*.java</include> |
933 | | - <include>**/*.xml</include> |
934 | | - </includes> |
935 | | - </licenseSet> |
936 | | - </licenseSets> |
937 | | - <strictCheck>true</strictCheck> |
938 | | - <headerDefinitions> |
939 | | - <headerDefinition>${hibernate-validator-parent.path}/build/build-config/src/main/resources/java-header-style.xml</headerDefinition> |
940 | | - <headerDefinition>${hibernate-validator-parent.path}/build/build-config/src/main/resources/xml-header-style.xml</headerDefinition> |
941 | | - </headerDefinitions> |
942 | | - <mapping> |
943 | | - <java>JAVA_CLASS_STYLE</java> |
944 | | - <xml>XML_FILE_STYLE</xml> |
945 | | - </mapping> |
946 | | - </configuration> |
947 | | - <executions> |
948 | | - <execution> |
949 | | - <id>license-headers</id> |
950 | | - <goals> |
951 | | - <goal>check</goal> |
952 | | - </goals> |
953 | | - </execution> |
954 | | - </executions> |
955 | | - </plugin> |
956 | 902 | <plugin> |
957 | 903 | <artifactId>maven-surefire-plugin</artifactId> |
958 | 904 | <version>${version.surefire.plugin}</version> |
|
1416 | 1362 | </execution> |
1417 | 1363 | </executions> |
1418 | 1364 | </plugin> |
1419 | | - <plugin> |
1420 | | - <groupId>net.revelc.code</groupId> |
1421 | | - <artifactId>impsort-maven-plugin</artifactId> |
1422 | | - <version>${version.impsort-maven-plugin}</version> |
1423 | | - <configuration> |
1424 | | - <!-- store outside of target to speed up formatting when mvn clean is used --> |
1425 | | - <cachedir>.cache/impsort-maven-plugin-${version.impsort-maven-plugin}</cachedir> |
1426 | | - <groups>org.openjdk.jmh.,java.,javax.,jakarta.,org.hibernate., org.hibernate.testing., org.hibernate.test., org.junit., org.jboss., com., *</groups> |
1427 | | - <staticGroups>*</staticGroups> |
1428 | | - <!-- To make static imports go on top: --> |
1429 | | - <staticAfter>false</staticAfter> |
1430 | | - <skip>${format.skip}</skip> |
1431 | | - <removeUnused>true</removeUnused> |
1432 | | - </configuration> |
1433 | | - <executions> |
1434 | | - <execution> |
1435 | | - <id>import-sorting</id> |
1436 | | - <goals> |
1437 | | - <goal>${goal.impsort-maven-plugin}</goal> |
1438 | | - </goals> |
1439 | | - <phase>process-sources</phase> |
1440 | | - </execution> |
1441 | | - </executions> |
1442 | | - </plugin> |
1443 | | - <plugin> |
1444 | | - <groupId>net.revelc.code.formatter</groupId> |
1445 | | - <artifactId>formatter-maven-plugin</artifactId> |
1446 | | - <version>${version.formatter-maven-plugin}</version> |
1447 | | - <dependencies> |
1448 | | - <dependency> |
1449 | | - <groupId>org.hibernate.validator</groupId> |
1450 | | - <artifactId>hibernate-validator-build-config</artifactId> |
1451 | | - <version>${project.version}</version> |
1452 | | - </dependency> |
1453 | | - </dependencies> |
1454 | | - <configuration> |
1455 | | - <!-- store outside of target to speed up formatting when mvn clean is used --> |
1456 | | - <cachedir>.cache/formatter-maven-plugin-${version.formatter-maven-plugin}</cachedir> |
1457 | | - <configFile>hibernate_validator_style.xml</configFile> |
1458 | | - <skip>${format.skip}</skip> |
1459 | | - <removeTrailingWhitespace>true</removeTrailingWhitespace> |
1460 | | - <skipJsonFormatting>true</skipJsonFormatting> |
1461 | | - <skipHtmlFormatting>true</skipHtmlFormatting> |
1462 | | - </configuration> |
1463 | | - <executions> |
1464 | | - <execution> |
1465 | | - <id>code-formatting</id> |
1466 | | - <goals> |
1467 | | - <goal>${goal.formatter-maven-plugin}</goal> |
1468 | | - </goals> |
1469 | | - <phase>process-sources</phase> |
1470 | | - </execution> |
1471 | | - </executions> |
1472 | | - </plugin> |
1473 | 1365 | <plugin> |
1474 | 1366 | <groupId>com.diffplug.spotless</groupId> |
1475 | 1367 | <artifactId>spotless-maven-plugin</artifactId> |
|
1899 | 1791 | <profile> |
1900 | 1792 | <id>ci-build</id> |
1901 | 1793 | <properties> |
1902 | | - <goal.impsort-maven-plugin>check</goal.impsort-maven-plugin> |
1903 | | - <goal.formatter-maven-plugin>validate</goal.formatter-maven-plugin> |
1904 | 1794 | </properties> |
1905 | 1795 | </profile> |
1906 | 1796 | <profile> |
|
0 commit comments