<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>org.coldis</groupId>
	<artifactId>configuration</artifactId>
	<version>2.0.152</version>
	<packaging>pom</packaging>

	<name>Common configuration</name>
	<description>Common configuration and dependencies.</description>
	<url>http://coldis.org/project/configuration</url>
	<licenses>
		<license>
			<name>GPL</name>
		</license>
	</licenses>
	<developers>
		<developer>
			<email>me@rvcoutinho.com</email>
		</developer>
	</developers>

	<properties>

		<project.verbose>false</project.verbose>

		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<project.target>${project.basedir}/target</project.target>

		<project.config.source.main.resources.include>**/**</project.config.source.main.resources.include>
		<project.config.source.main.resources.exclude>zzz</project.config.source.main.resources.exclude>
		<project.config.spring.aop.phase>none</project.config.spring.aop.phase>
		<project.config.process.annotations.phase>generate-sources</project.config.process.annotations.phase>
		<project.config.process.test.annotations.phase>generate-test-sources</project.config.process.test.annotations.phase>
		<project.config.source.main.compile.include>**/*.java</project.config.source.main.compile.include>
		<project.config.source.main.compile.exclude>zzz</project.config.source.main.compile.exclude>
		<project.config.source.main.compile.annotationProcessors />
		<project.config.source.main.aspect.phase>process-classes</project.config.source.main.aspect.phase>
		<project.config.source.test.compile.include>**/*.java</project.config.source.test.compile.include>
		<project.config.source.test.compile.exclude>zzz</project.config.source.test.compile.exclude>
		<project.config.source.test.compile.annotationProcessors />
		<project.config.source.test.aspect.phase>process-test-classes</project.config.source.test.aspect.phase>
		<project.config.infrastructure.include>*</project.config.infrastructure.include>
		<project.config.infrastructure.build.path />
		<project.config.infrastructure.build.phase>none</project.config.infrastructure.build.phase>
		<project.config.infrastructure.deploy.path>
			${project.config.infrastructure.build.path}</project.config.infrastructure.deploy.path>
		<project.config.infrastructure.deploy.phase>none</project.config.infrastructure.deploy.phase>
		<project.config.infrastructure.release.path>
			${project.config.infrastructure.build.path}</project.config.infrastructure.release.path>
		<project.config.infrastructure.release.phase>none</project.config.infrastructure.release.phase>
		<project.config.jacoco.prepare>none</project.config.jacoco.prepare>
		<project.config.jacoco.report>none</project.config.jacoco.report>
		<project.config.spring.aspect.ltw.phase>none</project.config.spring.aspect.ltw.phase>
		<project.config.spring.aspect.ltw.args>-javaagent:${project.target}/aspectjweaver.jar
			-javaagent:${project.target}/spring-instrument.jar</project.config.spring.aspect.ltw.args>
		<project.config.source.test.args>-Xms512m -Xmx3g</project.config.source.test.args>
		<project.config.source.test.fork-count>1</project.config.source.test.fork-count>
		<project.config.source.test.thread-count>10</project.config.source.test.thread-count>
		<project.config.source.test.retry-and-fail-fast.max-attempts>1</project.config.source.test.retry-and-fail-fast.max-attempts>
		<project.config.source.test.retry-and-fail-fast.fail-fast-enabled>false</project.config.source.test.retry-and-fail-fast.fail-fast-enabled>
		<project.config.assembly.phase>none</project.config.assembly.phase>
		<project.config.assembly.descriptors />
		<project.config.source.main.package.include>**/**</project.config.source.main.package.include>
		<project.config.source.main.package.exclude>zzz</project.config.source.main.package.exclude>
		<project.config.attach.sources.phase>package</project.config.attach.sources.phase>
		<project.config.attach.javadocs.phase>package</project.config.attach.javadocs.phase>
		<project.config.spring.boot.package.phase>none</project.config.spring.boot.package.phase>
		<project.config.spring.boot.package.args />
		<project.config.spring.boot.package.main />
		<project.config.release.arguments>-DskipTests -Dnet.bytebuddy.experimental=true -Dmaven.deploy.skip=true</project.config.release.arguments>
		<project.config.release.goals>deploy</project.config.release.goals>
		<project.config.release.gpg.passphrase />
		<project.config.release.gpg.phase>verify</project.config.release.gpg.phase>

		<project.config.repository>central</project.config.repository>
		<project.config.repository.snapshot.url>
			https://central.sonatype.com/repository/maven-snapshots/</project.config.repository.snapshot.url>
		<project.config.repository.release.url>
			https://central.sonatype.com/</project.config.repository.release.url>

		<java.version>21</java.version>
		<byte-buddy.version>1.18.8</byte-buddy.version>
		<jackson.version>2.20.1</jackson.version>
		<slf4j.version>2.0.17</slf4j.version>
		<aspectj.tools.version>1.9.25.1</aspectj.tools.version>
		<junit-jupiter.version>5.12.2</junit-jupiter.version>
		<junit-platform.version>1.12.2</junit-platform.version>
		<testcontainers.version>1.21.4</testcontainers.version>
		<spring.boot.version>3.5.13</spring.boot.version>
		<spring-authorization-server.version>1.4.4</spring-authorization-server.version>
		<apache.commons.version>3.20.0</apache.commons.version>
		<apache.collections.version>4.5.0</apache.collections.version>
		<apache.text.version>1.15.0</apache.text.version>
		<apache.io.version>2.21.0</apache.io.version>
		<apache.math.version>3.6.1</apache.math.version>
		<fury.version>0.10.3</fury.version>
		<fory.version>0.17.0</fory.version>
		<velocity.version>2.4.1</velocity.version>
		<hikaricp.version>7.0.2</hikaricp.version>
		<postgresql.version>42.7.10</postgresql.version>
		<hibernate.version>7.1.7.Final</hibernate.version>
		<tomcat.version>11.0.20</tomcat.version>
		<artemis.version>2.53.0</artemis.version>
		<swagger-api.version>2.2.46</swagger-api.version>
		<swagger-ui.version>5.32.1</swagger-ui.version>
		<swagger-spring.version>2.8.16</swagger-spring.version>
		<sun-ws.version>4.0.3</sun-ws.version>
		<ical4j.version>4.2.5</ical4j.version>
		<metadata-extractor.version>2.19.0</metadata-extractor.version>
		<yauaa.version>8.1.1</yauaa.version>

		<maven.dependency.version>3.10.0</maven.dependency.version>
		<maven.compiler.version>3.15.0</maven.compiler.version>
		<maven.aspectj.version>1.16.0</maven.aspectj.version>
		<maven.source.version>3.4.0</maven.source.version>
		<maven.javadoc.version>3.12.0</maven.javadoc.version>
		<maven.jar.version>3.5.0</maven.jar.version>
		<maven.exec.version>3.6.3</maven.exec.version>
		<maven.asm.version>9.9.1</maven.asm.version>
		<maven.assembly.version>3.8.0</maven.assembly.version>
		<maven.jacoco.version>0.8.14</maven.jacoco.version>
		<maven.surefire.version>3.5.5</maven.surefire.version>
		<maven.deploy.version>3.1.4</maven.deploy.version>
		<maven.release.version>3.1.1</maven.release.version>
		<maven.gpg.version>3.2.8</maven.gpg.version>
		<maven.nexus.staging.version>1.7.0</maven.nexus.staging.version>

	</properties>

	<scm>
		<url>https://github.com/coldis-org/configuration</url>
		<connection>scm:git:https://github.com/coldis-org/configuration.git</connection>
		<developerConnection>scm:git:git@github.com:coldis-org/configuration.git</developerConnection>
		<tag>configuration-2.0.152</tag>
	</scm>

	<distributionManagement>
		<snapshotRepository>
			<id>${project.config.repository}</id>
			<url>${project.config.repository.snapshot.url}</url>
		</snapshotRepository>
		<repository>
			<id>${project.config.repository}</id>
			<url>${project.config.repository.release.url}</url>
		</repository>
	</distributionManagement>

	<dependencyManagement>
		<dependencies>

			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-starter-parent</artifactId>
				<version>${spring.boot.version}</version>
				<scope>import</scope>
				<type>pom</type>
			</dependency>

			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>${apache.io.version}</version>
			</dependency>

			<dependency>
				<groupId>org.apache.velocity</groupId>
				<artifactId>velocity-engine-core</artifactId>
				<version>${velocity.version}</version>
			</dependency>

			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-collections4</artifactId>
				<version>${apache.collections.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-text</artifactId>
				<version>${apache.text.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.commons</groupId>
				<artifactId>commons-math3</artifactId>
				<version>${apache.math.version}</version>
			</dependency>

			<dependency>
				<groupId>org.postgresql</groupId>
				<artifactId>postgresql</artifactId>
				<version>${postgresql.version}</version>
			</dependency>

			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-project</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-pom</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-server</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-jakarta-client</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-jms-server</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-jms-client</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-core-client</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-jdbc-store</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-journal</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-lockmanager-api</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-service-extensions</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-commons</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.activemq</groupId>
				<artifactId>artemis-selector</artifactId>
				<version>${artemis.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.fury</groupId>
				<artifactId>fury-core</artifactId>
				<version>${fury.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.fury</groupId>
				<artifactId>fury-format</artifactId>
				<version>${fury.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.fory</groupId>
				<artifactId>fory-core</artifactId>
				<version>${fory.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.fory</groupId>
				<artifactId>fory-format</artifactId>
				<version>${fory.version}</version>
			</dependency>

			<dependency>
				<groupId>net.bytebuddy</groupId>
				<artifactId>byte-buddy</artifactId>
				<version>${byte-buddy.version}</version>
			</dependency>
			<dependency>
				<groupId>net.bytebuddy</groupId>
				<artifactId>byte-buddy-agent</artifactId>
				<version>${byte-buddy.version}</version>
			</dependency>

			<dependency>
				<groupId>io.swagger.core.v3</groupId>
				<artifactId>swagger-core-jakarta</artifactId>
				<version>${swagger-api.version}</version>
			</dependency>
			<dependency>
				<groupId>org.webjars</groupId>
				<artifactId>swagger-ui</artifactId>
				<version>${swagger-ui.version}</version>
			</dependency>

			<dependency>
				<groupId>org.springdoc</groupId>
				<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
				<version>${swagger-spring.version}</version>
			</dependency>

			<dependency>
				<groupId>com.zaxxer</groupId>
				<artifactId>HikariCP</artifactId>
				<version>${hikaricp.version}</version>
			</dependency>

			<dependency>
				<groupId>org.mnode.ical4j</groupId>
				<artifactId>ical4j</artifactId>
				<version>${ical4j.version}</version>
			</dependency>

			<dependency>
				<groupId>com.drewnoakes</groupId>
				<artifactId>metadata-extractor</artifactId>
				<version>${metadata-extractor.version}</version>
			</dependency>

			<dependency>
				<groupId>nl.basjes.parse.useragent</groupId>
				<artifactId>yauaa</artifactId>
				<version>${yauaa.version}</version>
			</dependency>

		</dependencies>
	</dependencyManagement>

	<dependencies />

	<build>

		<directory>${project.target}</directory>

		<resources>

			<resource>
				<directory>${project.basedir}/src/main/resources</directory>
				<includes>
					<include>${project.config.source.main.resources.include}</include>
				</includes>
				<excludes>
					<exclude>${project.config.source.main.resources.exclude}</exclude>
				</excludes>
			</resource>
			<resource>
				<directory>${project.basedir}</directory>
				<includes>
					<include>artifact.properties</include>
					<include>artifact_properties.groovy</include>
				</includes>
				<targetPath>${project.target}</targetPath>
				<filtering>true</filtering>
			</resource>

		</resources>

		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>${maven.dependency.version}</version>
				<executions>
					<execution>
						<phase>${project.config.spring.aspect.ltw.phase}</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<overWriteReleases>false</overWriteReleases>
							<overWriteSnapshots>false</overWriteSnapshots>
							<artifactItems>
								<artifactItem>
									<groupId>org.aspectj</groupId>
									<artifactId>aspectjweaver</artifactId>
									<type>jar</type>
									<overWrite>true</overWrite>
									<outputDirectory>${project.build.directory}</outputDirectory>
									<destFileName>aspectjweaver.jar</destFileName>
								</artifactItem>
								<artifactItem>
									<groupId>org.springframework</groupId>
									<artifactId>spring-instrument</artifactId>
									<type>jar</type>
									<overWrite>true</overWrite>
									<outputDirectory>${project.build.directory}</outputDirectory>
									<destFileName>spring-instrument.jar</destFileName>
								</artifactItem>
							</artifactItems>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>${maven.compiler.version}</version>

				<configuration>
					<release>${java.version}</release>
					<source>${java.version}</source>
					<target>${java.version}</target>
					<compilerArgs>
						<arg>-parameters</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
						<arg>
							-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
						<arg>
							-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
						<arg>
							-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
					</compilerArgs>
				</configuration>

				<executions>

					<execution>
						<id>process-annotations</id>
						<phase>${project.config.process.annotations.phase}</phase>
						<goals>
							<goal>compile</goal>
						</goals>
						<configuration>
							<fork>true</fork>
							<showWarnings>true</showWarnings>
							<proc>only</proc>
							<failOnError>false</failOnError>
							<includes>
								<include>
									${project.config.source.main.compile.include}</include>
							</includes>
							<excludes>
								<exclude>
									${project.config.source.main.compile.exclude}</exclude>
							</excludes>
							<annotationProcessors>
								${project.config.source.main.compile.annotationProcessors}</annotationProcessors>
						</configuration>
					</execution>

					<execution>
						<id>process-test-annotations</id>
						<phase>${project.config.process.test.annotations.phase}</phase>
						<goals>
							<goal>testCompile</goal>
						</goals>
						<configuration>
							<fork>true</fork>
							<showWarnings>true</showWarnings>
							<proc>only</proc>
							<failOnError>false</failOnError>
							<debug>${project.verbose}</debug>
							<testIncludes>
								<testInclude>
									${project.config.source.test.compile.include}</testInclude>
							</testIncludes>
							<testExcludes>
								<testExclude>
									${project.config.source.test.compile.exclude}</testExclude>
							</testExcludes>
							<annotationProcessors>
								${project.config.source.test.compile.annotationProcessors}</annotationProcessors>
						</configuration>
					</execution>

					<execution>
						<id>compile</id>
						<goals>
							<goal>compile</goal>
						</goals>
						<configuration>
							<proc>none</proc>
							<includes>
								<include>
									${project.config.source.main.compile.include}</include>
							</includes>
							<excludes>
								<exclude>
									${project.config.source.main.compile.exclude}</exclude>
							</excludes>
						</configuration>
					</execution>

					<execution>
						<id>test-compile</id>
						<goals>
							<goal>testCompile</goal>
						</goals>
						<configuration>
							<proc>none</proc>
							<testIncludes>
								<testInclude>
									${project.config.source.test.compile.include}</testInclude>
							</testIncludes>
							<testExcludes>
								<testExclude>
									${project.config.source.test.compile.exclude}</testExclude>
							</testExcludes>
						</configuration>
					</execution>

				</executions>

				<dependencies>
					<dependency>
						<groupId>org.ow2.asm</groupId>
						<artifactId>asm</artifactId>
						<version>${maven.asm.version}</version> <!-- Use newer
						version of ASM -->
					</dependency>
				</dependencies>

			</plugin>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>aspectj-maven-plugin</artifactId>
				<version>${maven.aspectj.version}</version>
				<configuration>
					<source>${java.version}</source>
					<target>${java.version}</target>
					<parameters>true</parameters>
					<proc>none</proc>
					<complianceLevel>${java.version}</complianceLevel>
					<showWeaveInfo>true</showWeaveInfo>
					<verbose>${project.verbose}</verbose>
					<Xlint>ignore</Xlint>
					<aspectLibraries>
						<aspectLibrary>
							<groupId>org.springframework</groupId>
							<artifactId>spring-aspects</artifactId>
						</aspectLibrary>
						<aspectLibrary>
							<groupId>org.springframework.security</groupId>
							<artifactId>spring-security-aspects</artifactId>
						</aspectLibrary>
					</aspectLibraries>
				</configuration>
				<executions>
					<execution>
						<id>aspectj-compile</id>
						<phase>${project.config.source.main.aspect.phase}</phase>
						<goals>
							<goal>compile</goal>
						</goals>
					</execution>
					<execution>
						<id>aspectj-test-compile</id>
						<phase>${project.config.source.test.aspect.phase}</phase>
						<goals>
							<goal>test-compile</goal>
						</goals>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>org.aspectj</groupId>
						<artifactId>aspectjtools</artifactId>
						<version>${aspectj.tools.version}</version>
					</dependency>
				</dependencies>

			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>${maven.jar.version}</version>
				<configuration>
					<includes>
						<include>${project.config.source.main.package.include}</include>
					</includes>
					<excludes>
						<exclude>${project.config.source.main.package.exclude}</exclude>
					</excludes>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<version>${maven.exec.version}</version>
				<executions>
					<execution>
						<id>docker-build</id>
						<goals>
							<goal>exec</goal>
						</goals>
						<phase>${project.config.infrastructure.build.phase}</phase>
						<configuration>
							<executable>operational_utils_docker_build_modules</executable>
							<arguments>
								<argument>--base-directory</argument>
								<argument>
									${project.config.infrastructure.build.path}</argument>
								<argument>--include-modules</argument>
								<argument>
									${project.config.infrastructure.include}</argument>
								<argument>--version</argument>
								<argument>${project.version}</argument>
							</arguments>
						</configuration>
					</execution>
					<execution>
						<id>docker-push-latest</id>
						<goals>
							<goal>exec</goal>
						</goals>
						<phase>${project.config.infrastructure.deploy.phase}</phase>
						<configuration>
							<executable>operational_utils_docker_build_modules</executable>
							<arguments>
								<argument>--push</argument>
								<argument>--base-directory</argument>
								<argument>
									${project.config.infrastructure.deploy.path}</argument>
								<argument>--include-modules</argument>
								<argument>
									${project.config.infrastructure.include}</argument>
								<argument>--version</argument>
								<argument>${project.version}</argument>
							</arguments>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>${maven.assembly.version}</version>
				<executions>
					<execution>
						<phase>${project.config.assembly.phase}</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<descriptors> ${project.config.assembly.descriptors} </descriptors>
						</configuration>
					</execution>
				</executions>
			</plugin>


			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>${maven.jacoco.version}</version>
				<configuration>
					<destFile>
						${project.build.directory}/coverage-reports/jacoco-unit.exec</destFile>
					<dataFile>
						${project.build.directory}/coverage-reports/jacoco-unit.exec</dataFile>
				</configuration>
				<executions>

					<execution>
						<id>jacoco-prepare</id>
						<phase>${project.config.jacoco.prepare}</phase>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>

					<execution>
						<id>jacoco-report</id>
						<phase>${project.config.jacoco.report}</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>

				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>${maven.surefire.version}</version>
				<configuration>
					<argLine>
						--add-opens java.base/java.lang=ALL-UNNAMED
						--add-opens java.base/java.util=ALL-UNNAMED
						--add-opens java.base/java.io=ALL-UNNAMED
						--add-opens java.base/java.math=ALL-UNNAMED
						--add-opens java.base/java.time=ALL-UNNAMED
						--add-opens java.naming/jakarta.naming=ALL-UNNAMED
						${project.config.source.test.args}
					</argLine>
					<parallel>classes</parallel>
					<groups>${test.tags}</groups>
					<threadCount>${project.config.source.test.thread-count}</threadCount>
					<forkCount>${project.config.source.test.fork-count}</forkCount>
					<systemPropertyVariables>
						<forkNumber>$${surefire.forkNumber}</forkNumber>
						<FORK_NUMBER>$${surefire.forkNumber}</FORK_NUMBER>
					</systemPropertyVariables>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.hibernate.orm.tooling</groupId>
				<artifactId>hibernate-enhance-maven-plugin</artifactId>
				<version>7.0.0.Beta1</version>
				<executions>
					<execution>
						<goals>
							<goal>enhance</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<version>${spring.boot.version}</version>
				<executions>
					<execution>
						<phase>${project.config.spring.boot.package.phase}</phase>
						<goals>
							<goal>repackage</goal>
						</goals>
						<configuration>
							<mainClass>
								${project.config.spring.boot.package.main}</mainClass>
							<jvmArguments>
								${project.config.spring.boot.package.args}</jvmArguments>
							<classifier>run</classifier>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>${maven.deploy.version}</version>
				<executions>
					<execution>
						<id>default-deploy</id>
						<phase>deploy</phase>
						<goals>
							<goal>deploy</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>${maven.release.version}</version>
				<configuration>
					<localCheckout>true</localCheckout>
					<arguments>${project.config.release.arguments}</arguments>
					<goals>${project.config.release.goals}</goals>
					<waitBeforeTagging>10</waitBeforeTagging>
					<releaseProfiles>release</releaseProfiles>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.sonatype.central</groupId>
				<artifactId>central-publishing-maven-plugin</artifactId>
				<version>0.10.0</version>
				<extensions>true</extensions>
				<executions>
					<execution>
						<id>injected-central-publishing</id>
						<phase>deploy</phase>
						<goals>
							<goal>publish</goal>
						</goals>
						<configuration>
							<publishingServerId>${project.config.repository}</publishingServerId>
							<autoPublish>true</autoPublish>
							<waitUntil>validated</waitUntil>
							<waitMaxTime>7200</waitMaxTime>
						</configuration>
					</execution>
				</executions>
			</plugin>

		</plugins>

	</build>

	<profiles>

		<profile>
			<id>release</id>
			<activation>
				<activeByDefault>false</activeByDefault>
			</activation>
			<build>
				<plugins>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>${maven.source.version}</version>
						<executions>
							<execution>
								<id>attach-sources</id>
								<phase>${project.config.attach.sources.phase}</phase>
								<goals>
									<goal>jar</goal>
								</goals>
								<configuration>
									<includes>
										<include>
											${project.config.source.main.compile.include}</include>
									</includes>
									<excludes>
										<exclude>
											${project.config.source.main.compile.exclude}</exclude>
									</excludes>
								</configuration>
							</execution>
						</executions>
					</plugin>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>${maven.javadoc.version}</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<phase>${project.config.attach.javadocs.phase}</phase>
								<goals>
									<goal>jar</goal>
								</goals>
								<configuration>
									<failOnError>false</failOnError>
									<sourceFileIncludes>
										<sourceFileInclude>
											${project.config.source.main.compile.include}</sourceFileInclude>
									</sourceFileIncludes>
									<sourceFileExcludes>
										<sourceFileExclude>
											${project.config.source.main.compile.exclude}</sourceFileExclude>
									</sourceFileExcludes>
								</configuration>
							</execution>
						</executions>
					</plugin>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>${maven.gpg.version}</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>${project.config.release.gpg.phase}</phase>
								<goals>
									<goal>sign</goal>
								</goals>
								<configuration>
									<passphrase>
										${project.config.release.gpg.passphrase}</passphrase>
								</configuration>
							</execution>
						</executions>
					</plugin>

					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>exec-maven-plugin</artifactId>
						<version>${maven.exec.version}</version>
						<executions>
							<execution>
								<id>docker-push-release</id>
								<goals>
									<goal>exec</goal>
								</goals>
								<phase>
									${project.config.infrastructure.release.phase}</phase>
								<configuration>
									<executable>
										operational_utils_docker_build_modules</executable>
									<arguments>
										<argument>--push</argument>
										<argument>--base-directory</argument>
										<argument>
											${project.config.infrastructure.release.path}</argument>
										<argument>--version</argument>
										<argument>${project.version}</argument>
									</arguments>
								</configuration>
							</execution>
						</executions>
					</plugin>

				</plugins>
			</build>
		</profile>

	</profiles>

</project>