|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<project |
| 2 | + 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/xsd/maven-4.0.0.xsd" |
| 5 | +> |
3 | 6 | <modelVersion>4.0.0</modelVersion> |
4 | 7 |
|
5 | 8 | <groupId>io.toolisticon.maven.parent</groupId> |
6 | 9 | <artifactId>maven-parent-kotlin-base</artifactId> |
7 | | - <version>2025.7.2</version> |
| 10 | + <version>2025.8.0</version> |
8 | 11 |
|
9 | 12 | <name>Maven Parent - Kotlin Base</name> |
10 | 13 | <description>Maven parent for a holistic kotlin lib project.</description> |
|
14 | 17 | <properties> |
15 | 18 | <!-- MAVEN PROJECT SETTINGS --> |
16 | 19 | <project.encoding>UTF-8</project.encoding> |
17 | | - <project.build.sourceEncoding>${project.encoding}</project.build.sourceEncoding> |
18 | | - <project.reporting.outputEncoding>${project.encoding}</project.reporting.outputEncoding> |
| 20 | + <project.build.sourceEncoding |
| 21 | + >${project.encoding}</project.build.sourceEncoding> |
| 22 | + <project.reporting.outputEncoding |
| 23 | + >${project.encoding}</project.reporting.outputEncoding> |
19 | 24 |
|
20 | 25 | <!-- KOTLIN PROJECT (KP) CUSTOM SETTINGS --> |
21 | | - <kp.generatedSources>${project.build.directory}/generated-sources</kp.generatedSources> |
22 | | - <kp.generatedTestSources>${project.build.directory}/generated-test-sources</kp.generatedTestSources> |
23 | | - <kp.generatedResources>${project.build.directory}/generated-resources</kp.generatedResources> |
24 | | - <kp.generatedTestResources>${project.build.directory}/generated-test-resources</kp.generatedTestResources> |
| 26 | + <kp.generatedSources |
| 27 | + >${project.build.directory}/generated-sources</kp.generatedSources> |
| 28 | + <kp.generatedTestSources |
| 29 | + >${project.build.directory}/generated-test-sources</kp.generatedTestSources> |
| 30 | + <kp.generatedResources |
| 31 | + >${project.build.directory}/generated-resources</kp.generatedResources> |
| 32 | + <kp.generatedTestResources |
| 33 | + >${project.build.directory}/generated-test-resources</kp.generatedTestResources> |
25 | 34 |
|
26 | 35 | <kp.mainSources>${project.basedir}/src/main/kotlin</kp.mainSources> |
27 | 36 | <kp.mainResources>${project.basedir}/src/main/resources</kp.mainResources> |
|
31 | 40 | <!-- set to true to skip deployment (of submodule e.g.) --> |
32 | 41 | <kp.plugin.skipDeploy>false</kp.plugin.skipDeploy> |
33 | 42 | <kp.plugin.generateBackupPoms>false</kp.plugin.generateBackupPoms> |
34 | | - <kp.compile.useIncrementalKotlinCompiler>false</kp.compile.useIncrementalKotlinCompiler> |
| 43 | + <kp.compile.useIncrementalKotlinCompiler |
| 44 | + >false</kp.compile.useIncrementalKotlinCompiler> |
35 | 45 | <kp.patternClassITest>**/*ITest.*</kp.patternClassITest> |
36 | 46 | <kp.patternClassTCTest>**/*TCTest.*</kp.patternClassTCTest> |
37 | | - <kp.javaOpenModules>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED |
| 47 | + <kp.javaOpenModules |
| 48 | + >--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED |
38 | 49 | </kp.javaOpenModules> |
39 | 50 | <kp.skipITests>false</kp.skipITests> |
40 | 51 |
|
41 | 52 | <!-- LANGUAGE VERSIONS --> |
42 | | - <kotlin.version>2.2.0</kotlin.version> |
| 53 | + <kotlin.version>2.2.10</kotlin.version> |
43 | 54 |
|
44 | | - <kotlin.compiler.apiVersion>2.1</kotlin.compiler.apiVersion> |
45 | | - <kotlin.compiler.languageVersion>2.1</kotlin.compiler.languageVersion> |
46 | | - <kotlin.compiler.incremental>${kp.compile.useIncrementalKotlinCompiler}</kotlin.compiler.incremental> |
| 55 | + <kotlin.compiler.apiVersion>2.2</kotlin.compiler.apiVersion> |
| 56 | + <kotlin.compiler.languageVersion>2.2</kotlin.compiler.languageVersion> |
| 57 | + <kotlin.compiler.incremental |
| 58 | + >${kp.compile.useIncrementalKotlinCompiler}</kotlin.compiler.incremental> |
47 | 59 | <kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget> |
48 | 60 | <java.version>17</java.version> |
49 | 61 | <jdk.version>17</jdk.version> |
50 | 62 |
|
51 | 63 | <kotlinx-serialization.version>1.9.0</kotlinx-serialization.version> |
52 | 64 | <kotlinx-coroutines.version>1.10.2</kotlinx-coroutines.version> |
53 | | - <kotlin-logging.version>7.0.7</kotlin-logging.version> |
| 65 | + <kotlin-logging.version>7.0.13</kotlin-logging.version> |
54 | 66 |
|
55 | 67 | <jetbrains-annotations.version>26.0.2</jetbrains-annotations.version> |
56 | 68 |
|
57 | 69 | <!-- TEST --> |
58 | | - <junit5.version>5.13.3</junit5.version> |
| 70 | + <junit5.version>5.13.4</junit5.version> |
59 | 71 | </properties> |
60 | 72 |
|
61 | 73 | <dependencyManagement> |
|
417 | 429 | <configuration> |
418 | 430 | <jvmTarget>${java.version}</jvmTarget> |
419 | 431 | <apiVersion>${kotlin.compiler.apiVersion}</apiVersion> |
420 | | - <languageVersion>${kotlin.compiler.languageVersion}</languageVersion> |
| 432 | + <languageVersion |
| 433 | + >${kotlin.compiler.languageVersion}</languageVersion> |
421 | 434 |
|
422 | 435 | <!-- Compiler plugins need to be configured on this level for IntelliJ to recognize them --> |
423 | 436 | <compilerPlugins> |
|
431 | 444 | <!-- <option>all-open:annotation=javax.persistence.Entity</option>--> |
432 | 445 | <!-- <option>all-open:annotation=javax.persistence.MappedSuperclass</option>--> |
433 | 446 | <!-- <option>all-open:annotation=javax.persistence.Embeddable</option>--> |
434 | | - <option>all-open:annotation=io.toolisticon.testing.jgiven.JGivenKotlinStage</option> |
| 447 | + <option |
| 448 | + >all-open:annotation=io.toolisticon.testing.jgiven.JGivenKotlinStage</option> |
435 | 449 | </pluginOptions> |
436 | 450 | </configuration> |
437 | 451 |
|
|
523 | 537 | <plugin> |
524 | 538 | <groupId>org.apache.maven.plugins</groupId> |
525 | 539 | <artifactId>maven-javadoc-plugin</artifactId> |
526 | | - <version>3.11.2</version> |
| 540 | + <version>3.11.3</version> |
527 | 541 | <executions> |
528 | 542 | <execution> |
529 | 543 | <id>attach-javadocs</id> |
|
604 | 618 | <plugin> |
605 | 619 | <groupId>org.apache.maven.plugins</groupId> |
606 | 620 | <artifactId>maven-enforcer-plugin</artifactId> |
607 | | - <version>3.6.0</version> |
| 621 | + <version>3.6.1</version> |
608 | 622 | <executions> |
609 | 623 | <execution> |
610 | 624 | <id>enforce-maven</id> |
|
639 | 653 | <exclude>${kp.patternClassTCTest}</exclude> |
640 | 654 | </excludes> |
641 | 655 | <!--suppress UnresolvedMavenProperty --> |
642 | | - <argLine>${surefireArgLine} ${kp.javaOpenModules} -Djava.awt.headless=true -XX:+StartAttachListener</argLine> |
| 656 | + <argLine |
| 657 | + >${surefireArgLine} ${kp.javaOpenModules} -Djava.awt.headless=true -XX:+StartAttachListener</argLine> |
643 | 658 | <systemPropertyVariables> |
644 | | - <jgiven.report.dir>${project.build.directory}/jgiven-reports/json</jgiven.report.dir> |
| 659 | + <jgiven.report.dir |
| 660 | + >${project.build.directory}/jgiven-reports/json</jgiven.report.dir> |
645 | 661 | </systemPropertyVariables> |
646 | 662 | </configuration> |
647 | 663 | </plugin> |
|
659 | 675 | </goals> |
660 | 676 | <configuration> |
661 | 677 | <skip>${kp.skipITests}</skip> |
662 | | - <classesDirectory>${project.build.outputDirectory}</classesDirectory> |
| 678 | + <classesDirectory |
| 679 | + >${project.build.outputDirectory}</classesDirectory> |
663 | 680 | <includes> |
664 | 681 | <include>${kp.patternClassITest}</include> |
665 | 682 | <include>${kp.patternClassTCTest}</include> |
666 | 683 | </includes> |
667 | 684 | <!--suppress UnresolvedMavenProperty --> |
668 | | - <argLine>${failsafeArgLine} ${kp.javaOpenModules} -Djava.awt.headless=true -XX:+StartAttachListener</argLine> |
| 685 | + <argLine |
| 686 | + >${failsafeArgLine} ${kp.javaOpenModules} -Djava.awt.headless=true -XX:+StartAttachListener</argLine> |
669 | 687 | <systemPropertyVariables> |
670 | | - <jgiven.report.dir>${project.build.directory}/jgiven-reports/json</jgiven.report.dir> |
| 688 | + <jgiven.report.dir |
| 689 | + >${project.build.directory}/jgiven-reports/json</jgiven.report.dir> |
671 | 690 | </systemPropertyVariables> |
672 | 691 | </configuration> |
673 | 692 | </execution> |
|
758 | 777 | <configuration> |
759 | 778 | <!--suppress UnresolvedMavenProperty --> |
760 | 779 | <skip>${skipTests}</skip> |
761 | | - <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
| 780 | + <destFile |
| 781 | + >${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
762 | 782 | <propertyName>surefireArgLine</propertyName> |
763 | 783 | </configuration> |
764 | 784 | </execution> |
|
769 | 789 | </goals> |
770 | 790 | <configuration> |
771 | 791 | <skip>${kp.skipITests}</skip> |
772 | | - <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
| 792 | + <destFile |
| 793 | + >${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
773 | 794 | <propertyName>failsafeArgLine</propertyName> |
774 | 795 | </configuration> |
775 | 796 | </execution> |
|
781 | 802 | </goals> |
782 | 803 | <configuration> |
783 | 804 | <skip>${skipTests}</skip> |
784 | | - <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
785 | | - <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 805 | + <dataFile |
| 806 | + >${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| 807 | + <outputDirectory |
| 808 | + >${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
786 | 809 | </configuration> |
787 | 810 | </execution> |
788 | 811 | <execution> |
|
793 | 816 | </goals> |
794 | 817 | <configuration> |
795 | 818 | <skip>${kp.skipITests}</skip> |
796 | | - <dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile> |
797 | | - <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 819 | + <dataFile |
| 820 | + >${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile> |
| 821 | + <outputDirectory |
| 822 | + >${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
798 | 823 | </configuration> |
799 | 824 | </execution> |
800 | 825 | </executions> |
|
832 | 857 | <plugin> |
833 | 858 | <groupId>org.codehaus.mojo</groupId> |
834 | 859 | <artifactId>flatten-maven-plugin</artifactId> |
835 | | - <version>1.7.1</version> |
| 860 | + <version>1.7.2</version> |
836 | 861 | </plugin> |
837 | 862 |
|
838 | 863 | <!-- [TEST] - JGIVEN (version, configuration, execution) --> |
|
872 | 897 | <goal>write-project-properties</goal> |
873 | 898 | </goals> |
874 | 899 | <configuration> |
875 | | - <outputFile>${project.build.outputDirectory}/${project.artifactId}-maven.properties</outputFile> |
| 900 | + <outputFile |
| 901 | + >${project.build.outputDirectory}/${project.artifactId}-maven.properties</outputFile> |
876 | 902 | </configuration> |
877 | 903 | </execution> |
878 | 904 | </executions> |
|
902 | 928 | <artifactId>versions-maven-plugin</artifactId> |
903 | 929 | <version>2.18.0</version> |
904 | 930 | <configuration> |
905 | | - <generateBackupPoms>${kp.plugin.generateBackupPoms}</generateBackupPoms> |
| 931 | + <generateBackupPoms |
| 932 | + >${kp.plugin.generateBackupPoms}</generateBackupPoms> |
906 | 933 | </configuration> |
907 | 934 | </plugin> |
908 | 935 |
|
|
1004 | 1031 | <configuration> |
1005 | 1032 | <archive> |
1006 | 1033 | <manifest> |
1007 | | - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
1008 | | - <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 1034 | + <addDefaultImplementationEntries |
| 1035 | + >true</addDefaultImplementationEntries> |
| 1036 | + <addDefaultSpecificationEntries |
| 1037 | + >true</addDefaultSpecificationEntries> |
1009 | 1038 | </manifest> |
1010 | 1039 | </archive> |
1011 | 1040 | </configuration> |
|
1042 | 1071 | </licenses> |
1043 | 1072 |
|
1044 | 1073 | <scm> |
1045 | | - < connection>scm:git: [email protected]:toolisticon/maven-parent-kotlin-base.git</ connection> |
| 1074 | + <connection |
| 1075 | + >scm:git: [email protected]:toolisticon/maven-parent-kotlin-base.git</ connection> |
1046 | 1076 | < url>scm:git: [email protected]:toolisticon/maven-parent-kotlin-base.git</ url> |
1047 | | - < developerConnection>scm:git: [email protected]:toolisticon/maven-parent-kotlin-base.git</ developerConnection> |
| 1077 | + <developerConnection |
| 1078 | + >scm:git: [email protected]:toolisticon/maven-parent-kotlin-base.git</ developerConnection> |
1048 | 1079 | <tag>HEAD</tag> |
1049 | 1080 | </scm> |
1050 | 1081 |
|
|
0 commit comments