<?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>be.frankcornelis</groupId>
		<artifactId>MDEP-60</artifactId>
		<version>1.0-SNAPSHOT</version>
	</parent>
	<groupId>be.frankcornelis.MDEP-60</groupId>
	<artifactId>MDEP-60-package</artifactId>
	<packaging>jar</packaging>
	<version>1.0-SNAPSHOT</version>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>2.0-alpha-2-SNAPSHOT</version>
				<executions>
					<execution>
						<id>unpack-keystore</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>unpack-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>
								${project.build.directory}/keystore
							</outputDirectory>
							<includeArtifactIds>
								MDEP-60-keystore
							</includeArtifactIds>
						</configuration>
					</execution>
					<execution>
						<id>unpack-deps</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>unpack-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>
								${project.build.directory}/classes
							</outputDirectory>
							<excludeArtifactIds>
								MDEP-60-keystore
							</excludeArtifactIds>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<keystore>
						${project.build.directory}/keystore/keystore.jks
					</keystore>
					<alias>key</alias>
					<storepass>secret</storepass>
					<keypass>secret</keypass>
					<verify>true</verify>
					<verbose>true</verbose>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging-api</artifactId>
			<version>1.0.4</version>
		</dependency>
		<dependency>
			<groupId>be.frankcornelis.MDEP-60</groupId>
			<artifactId>MDEP-60-keystore</artifactId>
			<version>1.0-SNAPSHOT</version>
		</dependency>
	</dependencies>
</project>