<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		 xmlns="http://maven.apache.org/POM/4.0.0"
		 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>tk.labyrinth.pandora</groupId>
	<artifactId>pandora-pattern</artifactId>
	<version>0.8.0</version>
	<!---->
	<name>${project.artifactId}</name>
	<description>A lightweight pattern tool.</description>
	<url>${project.location.http}</url>
	<!---->
	<licenses>
		<license>
			<name>MIT License</name>
			<url>http://www.opensource.org/licenses/mit-license.php</url>
		</license>
	</licenses>
	<!---->
	<developers>
		<developer>
			<name>Commitman</name>
			<email>commitman@protonmail.com</email>
		</developer>
		<developer>
			<name>Lira17</name>
			<email>lira17dev@proton.me</email>
		</developer>
	</developers>
	<!---->
	<scm>
		<connection>${project.location.git}</connection>
		<developerConnection>${project.location.git}</developerConnection>
		<url>${project.location.http}</url>
	</scm>
	<!---->
	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>
	<!---->
	<properties>
		<!-- VERSIONS BEGIN -->
		<!---->
		<!-- # Languages -->
		<!---->
		<version.java>17</version.java>
		<!---->
		<!---->
		<!-- # Libraries -->
		<!---->
		<version.apache.commons>1.10.0</version.apache.commons>
		<version.assertj>3.24.2</version.assertj>
		<version.checker>3.37.0</version.checker>
		<version.jackson>2.15.2</version.jackson>
		<version.junit>5.10.0</version.junit>
		<version.lombok>1.18.24</version.lombok>
		<version.vavr>1.0.0-alpha-4</version.vavr>
		<!---->
		<!---->
		<!-- # Plugins -->
		<!---->
		<!-- Checked on 2023-08-20 -->
		<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/exec-maven-plugin -->
		<version.plugin.exec>3.1.0</version.plugin.exec>
		<!---->
		<!-- Checked on 2023-08-20 -->
		<!-- https://mvnrepository.com/artifact/org.jacoco/jacoco-maven-plugin -->
		<version.plugin.jacoco>0.8.10</version.plugin.jacoco>
		<!---->
		<!-- Checked on 2023-08-20 -->
		<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
		<version.plugin.surefire>3.1.2</version.plugin.surefire>
		<!---->
		<!-- Checked on 2023-08-22 -->
		<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
		<version.plugin.javadoc>3.5.0</version.plugin.javadoc>
		<!-- VERSIONS END -->
		<!---->
		<!---->
		<!-- CORE-SETTINGS BEGIN -->
		<maven.compiler.source>${version.java}</maven.compiler.source>
		<maven.compiler.target>${version.java}</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<!-- CORE-SETTINGS END -->
		<!---->
		<!---->
		<!-- PROJECT-LOCATION BEGIN -->
		<project.location.parent>commi-j/pandora-project</project.location.parent>
		<project.location.name>pandora-pattern</project.location.name>
		<!---->
		<project.location.path>${project.location.parent}/${project.location.name}</project.location.path>
		<project.location.git>git@gitlab.com:${project.location.path}</project.location.git>
		<project.location.http>https://gitlab.com/${project.location.path}</project.location.http>
		<!-- PROJECT-LOCATION END -->
	</properties>
	<!---->
	<dependencies>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-annotations</artifactId>
			<version>${version.jackson}</version>
		</dependency>
		<dependency>
			<groupId>io.vavr</groupId>
			<artifactId>vavr</artifactId>
			<version>${version.vavr}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-text</artifactId>
			<version>${version.apache.commons}</version>
		</dependency>
		<dependency>
			<groupId>org.checkerframework</groupId>
			<artifactId>checker</artifactId>
			<version>${version.checker}</version>
		</dependency>
		<dependency>
			<groupId>org.checkerframework</groupId>
			<artifactId>checker-qual</artifactId>
			<version>${version.checker}</version>
		</dependency>
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<version>${version.lombok}</version>
			<scope>provided</scope>
		</dependency>
		<!---->
		<dependency>
			<groupId>org.assertj</groupId>
			<artifactId>assertj-core</artifactId>
			<version>${version.assertj}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-api</artifactId>
			<version>${version.junit}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<!---->
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>${version.plugin.surefire}</version>
					<!---->
					<configuration>
						<includes>
							<!-- Include all, because why not? -->
							<include>*</include>
						</includes>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>${version.plugin.javadoc}</version>
				<!---->
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
				<!---->
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!---->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<version>${version.plugin.exec}</version>
				<!---->
				<executions>
					<execution>
						<configuration>
							<executable>${jacoco.script.executable}</executable>
							<arguments>
								<argument>${jacoco.script.arguments}</argument>
							</arguments>
						</configuration>
						<goals>
							<goal>exec</goal>
						</goals>
						<phase>verify</phase>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>${version.plugin.jacoco}</version>
				<!---->
				<executions>
					<execution>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
					<execution>
						<id>report</id>
						<phase>test</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<!---->
	<profiles>
		<profile>
			<id>enable-gpg-plugin</id>
			<!---->
			<build>
				<plugins>
					<plugin>
						<artifactId>maven-gpg-plugin</artifactId>
						<!---->
						<executions>
							<execution>
								<id>sign</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>enable-nexus-staging-plugin</id>
			<!---->
			<build>
				<plugins>
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<!---->
						<configuration>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
							<!---->
							<!-- Mandatory for plugin to work, no extra meaning in it. -->
							<nexusUrl>https://oss.sonatype.org</nexusUrl>
							<!---->
							<!-- This is used for authentication. -->
							<serverId>ossrh</serverId>
							<!---->
							<skipRemoteStaging>true</skipRemoteStaging>
						</configuration>
						<!---->
						<extensions>true</extensions>
					</plugin>
				</plugins>
			</build>
		</profile>
		<!---->
		<profile>
			<id>jacoco-unix</id>
			<!---->
			<activation>
				<os>
					<family>unix</family>
				</os>
			</activation>
			<!---->
			<properties>
				<jacoco.script.executable>/bin/bash</jacoco.script.executable>
				<jacoco.script.arguments>${basedir}/scripts/jacoco-total-to-terminal.sh</jacoco.script.arguments>
			</properties>
		</profile>
		<profile>
			<id>jacoco-windows</id>
			<!---->
			<activation>
				<os>
					<family>windows</family>
				</os>
			</activation>
			<!---->
			<properties>
				<jacoco.script.executable>${basedir}/scripts/jacoco-total-to-terminal.bat</jacoco.script.executable>
				<jacoco.script.arguments/>
			</properties>
		</profile>
	</profiles>
	<!---->
</project>
