parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>dk.trustworks.essentials</groupId>
<artifactId>parent</artifactId>
<version>0.40.27</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021-2025 the original author or authors.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>dk.trustworks.essentials</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>0.40.27</version>
<name>parent</name>
<description>
Essentials is a set of Java version 17 (and later) building blocks built from the ground up to have no
dependencies on other libraries, unless explicitly mentioned.
The Essentials philosophy is to provide high level building blocks and coding constructs that allows for concise
and strongly typed code, which doesn't depend on other libraries or frameworks, but instead allows easy integrations
with many of the most popular libraries and frameworks such as Jackson, Spring Boot, Spring Data, JPA, etc.
</description>
<url>https://github.com/trustworksdk/essentials-project</url>
<scm>
<url>https://github.com/trustworksdk/essentials-project</url>
<developerConnection>scm:https://github.com/trustworksdk/essentials-project.git</developerConnection>
<connection>scm:https://github.com/trustworksdk/essentials-project.git</connection>
</scm>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Jeppe Cramon</name>
<organization>Trustworks</organization>
<organizationUrl>https://www.trustworks.dk</organizationUrl>
<url>https://github.com/jeppec</url>
</developer>
<developer>
<name>Lasse Cramon</name>
<organization>Trustworks</organization>
<organizationUrl>https://www.trustworks.dk</organizationUrl>
<url>https://github.com/lcramon-tw</url>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<kotlin.version>2.1.21</kotlin.version>
<revision>DEV-SNAPSHOT</revision>
<skipDependencyCheck>false</skipDependencyCheck>
<spring-boot.version>3.3.13</spring-boot.version>
<spring-framework-bom.version>6.1.21</spring-framework-bom.version>
<reactor-bom.version>2024.0.11</reactor-bom.version>
<spring-data-mongodb.version>4.3.13</spring-data-mongodb.version>
<spring-data-jpa.version>3.3.13</spring-data-jpa.version>
<objenesis.version>3.4</objenesis.version>
<postgresql.version>42.7.8</postgresql.version>
<slf4j.version>2.0.17</slf4j.version>
<awaitility.version>4.3.0</awaitility.version>
<assertj.version>3.27.6</assertj.version>
<mongodb-driver-sync.version>5.0.1</mongodb-driver-sync.version>
<log4j-to-slf4j.version>2.25.2</log4j-to-slf4j.version>
<json-smart.version>2.5.2</json-smart.version>
<json-path.version>2.9.0</json-path.version>
<snakeyaml.version>2.4</snakeyaml.version>
<micrometer.version>1.13.15</micrometer.version>
<micrometer-tracing.version>1.3.13</micrometer-tracing.version>
<junit-bom.version>5.14.0</junit-bom.version>
<testcontainers-bom.version>1.21.3</testcontainers-bom.version>
<jdbi3-bom.version>3.49.5</jdbi3-bom.version>
<jackson-bom.version>2.19.2</jackson-bom.version>
<mockito-bom.version>5.20.0</mockito-bom.version>
<logback.version>1.5.19</logback.version>
<avro.version>1.12.0</avro.version>
<commons-compress.version>1.28.0</commons-compress.version>
<commons-lang3.version>3.19.0</commons-lang3.version>
<xmlunit-core.version>2.10.4</xmlunit-core.version>
<vaadin.version>24.7.14</vaadin.version>
<spring.security.version>6.3.10</spring.security.version>
<kaributesting.version>2.3.0</kaributesting.version>
<kaributesting.servlet.version>1.3.24</kaributesting.servlet.version>
<tomcat-embed.version>10.1.48</tomcat-embed.version>
<dokka.version>2.0.0</dokka.version>
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version>
<maven-project-info-reports-plugin.version>3.9.0</maven-project-info-reports-plugin.version>
<maven-clean-plugin.version>3.5.0</maven-clean-plugin.version>
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
<maven-site-plugin.version>3.21.0</maven-site-plugin.version>
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-failsafe-plugin.version>3.5.4</maven-failsafe-plugin.version>
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
<maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version>
<versions-maven-plugin.version>2.19.1</versions-maven-plugin.version>
<maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
<minimum-maven-version>3.8.8</minimum-maven-version>
<dependency-check-maven.version>12.1.8</dependency-check-maven.version>
<flatten-maven-plugin.version>1.7.2</flatten-maven-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<maven.docker.plugin.version>0.46.0</maven.docker.plugin.version>
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
</properties>
<modules>
<module>shared</module>
<module>types</module>
<module>types-jackson</module>
<module>types-springdata-mongo</module>
<module>types-springdata-jpa</module>
<module>types-jdbi</module>
<module>types-avro</module>
<module>types-spring-web</module>
<module>immutable</module>
<module>immutable-jackson</module>
<module>reactive</module>
<module>components/foundation</module>
<module>components/foundation-types</module>
<module>components/foundation-test</module>
<module>components/eventsourced-aggregates</module>
<module>components/spring-boot-starter-postgresql</module>
<module>components/spring-boot-starter-postgresql-event-store</module>
<module>components/spring-boot-starter-mongodb</module>
<module>components/postgresql-distributed-fenced-lock</module>
<module>components/postgresql-event-store</module>
<module>components/postgresql-queue</module>
<module>components/spring-postgresql-event-store</module>
<module>components/springdata-mongo-distributed-fenced-lock</module>
<module>components/springdata-mongo-queue</module>
<module>components/kotlin-eventsourcing</module>
<module>components/postgresql-document-db</module>
<module>components/vaadin-ui</module>
<module>components/spring-boot-starter-admin-ui</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-bom</artifactId>
<version>${jdbi3-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bom</artifactId>
<version>${reactor-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring-framework-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>${mockito-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Due to CVE-2023-42503, CVE-2024-26308, CVE-2024-25710 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${commons-compress.version}</version>
<scope>provided</scope>
</dependency>
<!-- Due to CVE-2025-48924 in version 3.16.0 and 3.17.0 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<version>${vaadin.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<!-- Due to CVE-2024-31573 in xmlunit-core-2.9.1.jar -->
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<version>${xmlunit-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>${maven.multiModuleProjectDirectory}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE.txt</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
<testResource>
<directory>${maven.multiModuleProjectDirectory}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE.txt</include>
</includes>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>${dokka.version}</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>dokka</goal>
<goal>javadoc</goal>
<goal>javadocJar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${maven-project-info-reports-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<License>Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt</License>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<id>dokka-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${project.build.directory}/dokka</classesDirectory>
<skipIfEmpty>true</skipIfEmpty>
<archive>
<manifestEntries>
<License>Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt</License>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifestEntries>
<License>Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt</License>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
<archive>
<manifestEntries>
<License>Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt</License>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<parallel>classes</parallel> <!-- Can also use "classes" or "both" -->
<threadCount>1</threadCount>
<forkCount>2</forkCount> <!-- Number of JVM forks for parallel execution -->
<reuseForks>true</reuseForks> <!-- Reuse JVM forks for efficiency -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<rulesUri>file:///${maven.multiModuleProjectDirectory}/versions-update-rules.xml</rulesUri>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>display-dependency-updates</goal>
<goal>display-plugin-updates</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>${minimum-maven-version}</version>
</requireMavenVersion>
<requireJavaVersion>
<version>${java.version}</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
<configuration>
<skipTestScope>false</skipTestScope>
<failBuildOnCVSS>0</failBuildOnCVSS>
<suppressionFile>${maven.multiModuleProjectDirectory}/project-suppression.xml</suppressionFile>
<skip>${skipDependencyCheck}</skip>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
</project>