<?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</groupId>
	<artifactId>expresso-parent</artifactId>
	<version>1.1.3</version>
	<!---->
	<packaging>pom</packaging>
	<!---->
	<name>${project.groupId}:${project.artifactId}</name>
	<description>Expresso Parent</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>
	</developers>
	<!---->
	<modules>
		<module>expresso-lang</module>
		<module>expresso-query</module>
	</modules>
	<!---->
	<scm>
		<connection>${project.location.git}</connection>
		<developerConnection>${project.location.git}</developerConnection>
		<url>${project.location.http}</url>
	</scm>
	<!---->
	<properties>
		<!-- VERSIONS BEGIN -->
		<!---->
		<!-- Languages -->
		<version.java>11</version.java>
		<!---->
		<!---->
		<!-- Libraries -->
		<version.auto-service>1.0-rc6</version.auto-service>
		<version.hibernate>5.4.0.Final</version.hibernate>
		<version.hsqldb>2.4.1</version.hsqldb>
		<version.jsr305>3.0.2</version.jsr305>
		<version.junit5>5.5.2</version.junit5>
		<version.lombok>1.18.12</version.lombok>
		<version.mongo-java-server>1.10.0</version.mongo-java-server>
		<version.slf4j>1.7.28</version.slf4j>
		<version.spring>5.1.3.RELEASE</version.spring>
		<version.spring-data-mongodb>2.1.3.RELEASE</version.spring-data-mongodb>
		<!---->
		<!---->
		<!-- Plugins -->
		<!---->
		<!-- Checked at 2020-11-12 -->
		<version.plugin.compiler>3.8.1</version.plugin.compiler>
		<!---->
		<!-- Checked at 2020-11-12 -->
		<version.plugin.javadoc>3.2.0</version.plugin.javadoc>
		<!---->
		<!-- Checked at 2020-11-12 -->
		<version.plugin.source>3.2.1</version.plugin.source>
		<!---->
		<!-- Checked at 2020-11-12 -->
		<version.plugin.surefire>3.0.0-M5</version.plugin.surefire>
		<!---->
		<!-- 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</project.location.parent>
		<project.location.name>expresso</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>
	<!---->
	<dependencyManagement>
		<dependencies>
			<!-- COMPILE BEGIN -->
			<dependency>
				<groupId>tk.labyrinth</groupId>
				<artifactId>expresso-lang</artifactId>
				<version>${project.version}</version>
			</dependency>
			<!-- COMPILE END -->
			<!---->
			<!-- PROVIDED BEGIN -->
			<dependency>
				<groupId>org.hibernate</groupId>
				<artifactId>hibernate-core</artifactId>
				<version>${version.hibernate}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.springframework.data</groupId>
				<artifactId>spring-data-mongodb</artifactId>
				<version>${version.spring-data-mongodb}</version>
				<scope>provided</scope>
			</dependency>
			<!-- PROVIDED END -->
			<!---->
			<!-- RUNTIME BEGIN -->
			<!-- RUNTIME END -->
			<!---->
			<!-- TEST BEGIN -->
			<dependency>
				<groupId>de.bwaldvogel</groupId>
				<artifactId>mongo-java-server</artifactId>
				<version>${version.mongo-java-server}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.hsqldb</groupId>
				<artifactId>hsqldb</artifactId>
				<version>${version.hsqldb}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-orm</artifactId>
				<version>${version.spring}</version>
				<scope>test</scope>
			</dependency>
			<!-- TEST END -->
			<!---->
			<!-- IMPORT BEGIN -->
			<!-- IMPORT END -->
		</dependencies>
	</dependencyManagement>
	<!---->
	<dependencies>
		<!-- COMPILE BEGIN -->
		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<version>${version.jsr305}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>${version.slf4j}</version>
		</dependency>
		<!-- COMPILE END -->
		<!---->
		<!-- PROVIDED BEGIN -->
		<dependency>
			<groupId>com.google.auto.service</groupId>
			<artifactId>auto-service</artifactId>
			<version>${version.auto-service}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<version>${version.lombok}</version>
			<scope>provided</scope>
		</dependency>
		<!-- PROVIDED END -->
		<!---->
		<!-- RUNTIME BEGIN -->
		<!-- RUNTIME END -->
		<!---->
		<!-- TEST BEGIN -->
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter</artifactId>
			<version>${version.junit5}</version>
			<scope>test</scope>
		</dependency>
		<!-- TEST END -->
	</dependencies>
	<!---->
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>${version.plugin.compiler}</version>
				</plugin>
				<plugin>
					<artifactId>maven-javadoc-plugin</artifactId>
					<version>${version.plugin.javadoc}</version>
				</plugin>
				<plugin>
					<artifactId>maven-source-plugin</artifactId>
					<version>${version.plugin.source}</version>
				</plugin>
				<plugin>
					<artifactId>maven-surefire-plugin</artifactId>
					<configuration>
						<includes>
							<!-- Include all, because why not? -->
							<include>*</include>
						</includes>
					</configuration>
					<version>${version.plugin.surefire}</version>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.6</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
						<configuration>
							<gpgArguments>
								<!---->
								<!-- If your key has passphrase it should be specified with gpg.passphrase property. -->
								<!-- You may want to specify gpg.keyname property to identify key. -->
								<!-- See .m2/settings.xml for these properties. -->
								<!---->
								<!-- For gpg 2.1+ We need to specify "&#45;&#45;pinentry-mode loopback" to disable passphrase prompt. -->
								<!-- Docs: https://www.gnupg.org/documentation/manuals/gnupg/GPG-Esoteric-Options.html#GPG-Esoteric-Options -->
								<!-- Option name and value must be passed as two different arguments, -->
								<!-- otherwise gpg would say it is invalid option. Examples of the error: -->
								<!--  gpg: signing failed: Inappropriate ioctl for device -->
								<argument>--pinentry-mode</argument>
								<argument>loopback</argument>
								<!---->
							</gpgArguments>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<!---->
				<!-- You need to specify server with id = ossrh, and username/password credentials for Nexus. -->
				<!---->
				<!-- This plugin replaces default maven-deploy-plugin and during deploy phase it creates -->
				<!-- new Nexus repository, deploys artifacts to it, closes, releases and drops it. -->
				<!---->
				<!-- Docs: https://github.com/sonatype/nexus-maven-plugins/tree/master/staging/maven-plugin -->
				<!-- Docs: https://help.sonatype.com/repomanager2/staging-releases/configuring-your-project-for-deployment#ConfiguringYourProjectforDeployment-DeploymentwiththeNexusStagingMavenPlugin -->
				<!---->
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.8</version>
				<extensions>true</extensions>
				<configuration>
					<!-- Immediately release on successful close operation. -->
					<autoReleaseAfterClose>true</autoReleaseAfterClose>
					<!-- Mandatory. Has to point to the base URL of target Nexus. -->
					<nexusUrl>https://oss.sonatype.org</nexusUrl>
					<!-- Mandatory. Has to hold an ID of a <server> section from Maven's settings.xml -->
					<!-- to pick authentication information from. -->
					<serverId>ossrh</serverId>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<!---->
</project>
