<?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.7</version>
	</parent>

	<groupId>io.bootique.jetty</groupId>
	<artifactId>bootique-jetty-parent</artifactId>
	<version>0.21</version>
	<packaging>pom</packaging>

	<name>bootique-jetty-parent: parent of Bootique/Jetty integration modules</name>
	<description>
		Parent POM of Jetty and instrumented Jetty Bootique modules.
	</description>

	<modules>
		<module>bootique-jetty</module>
		<module>bootique-jetty-instrumented</module>
		<module>bootique-jetty-metrics</module>
		<module>bootique-jetty-test</module>
		<module>bootique-jetty-docs</module>
	</modules>

	<properties>
		<jetty-version>9.3.6.v20151106</jetty-version>
		<bootique-version>0.23</bootique-version>
		<bootique-metrics-version>0.10</bootique-metrics-version>
	</properties>

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

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

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-server</artifactId>
				<version>${jetty-version}</version>
			</dependency>
			<dependency>
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-servlet</artifactId>
				<version>${jetty-version}</version>
			</dependency>
			<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>io.bootique.metrics</groupId>
				<artifactId>bootique-metrics</artifactId>
				<version>${bootique-metrics-version}</version>
			</dependency>
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-simple</artifactId>
				<version>${slf4j.version}</version>
			</dependency>
			<dependency>
				<groupId>org.glassfish.jersey.core</groupId>
				<artifactId>jersey-client</artifactId>
				<version>2.21</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>
