<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">

	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>io.bootique.modules.parent</groupId>
		<artifactId>bootique-modules-parent</artifactId>
		<version>0.2</version>
	</parent>

	<groupId>io.bootique.jdbc</groupId>
	<artifactId>bootique-jdbc-parent</artifactId>
	<version>0.13</version>
	<packaging>pom</packaging>

	<name>bootique-jdbc-parent: Parent of JDBC integration modules for Bootique</name>
	<description>
		Parent POM of JDBC and instrumented JDBC Bootique modules.
	</description>

	<properties>
		<bootique-version>0.21</bootique-version>
		<bootique-metrics-version>0.8</bootique-metrics-version>
	</properties>

	<modules>
		<module>bootique-jdbc</module>
		<module>bootique-jdbc-instrumented</module>
		<module>bootique-jdbc-test</module>
	</modules>

	<scm>
        <developerConnection>scm:git:ssh://git@github.com/bootique/bootique-jdbc</developerConnection>
        <url>https://github.com/bootique/bootique-jdbc</url>
        <tag>bootique-jdbc-parent-0.13</tag>
    </scm>

    <distributionManagement>
        <repository>
            <id>bintray-bootique-releases</id>
            <name>bintray-bootique-releases</name>
            <url>https://api.bintray.com/maven/bootique/releases/bootique-jdbc/;publish=1</url>
        </repository>
    </distributionManagement>

	<dependencyManagement>

		<dependencies>
			<dependency>
				<groupId>io.bootique</groupId>
				<artifactId>bootique</artifactId>
				<version>${bootique-version}</version>
			</dependency>
			<dependency>
				<groupId>io.bootique</groupId>
				<artifactId>bootique-test</artifactId>
				<version>${bootique-version}</version>
			</dependency>
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-simple</artifactId>
				<version>1.7.13</version>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<!-- Optional profile used to sign artifacts -->
	<profiles>
		<profile>
			<id>gpg</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>
