<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>net.theblackchamber</groupId>
	<artifactId>commons-encryption</artifactId>
	<version>1.2.0</version>
	<url>http://theblackchamber.github.io/commons-encryption/</url>
	<name>commons-encryption</name>
	<description>Utility project to provide common encryption support to applications. The goal being to provide encryption services to applications in as transparent and simple (while secure) method as possible.</description>
	<inceptionYear>2014</inceptionYear>

	<issueManagement>
		<system>GitHub Issues</system>
		<url>https://github.com/TheBlackChamber/commons-encryption/issues</url>
	</issueManagement>

	<organization>
		<name>The Black Chamber</name>
		<url>https://github.com/TheBlackChamber</url>
	</organization>

	<scm>
		<url>https://github.com/TheBlackChamber/commons-encryption</url>
		<connection>scm:git:git://github.com/TheBlackChamber/commons-encryption.git</connection>
		<developerConnection>scm:git:git@github.com:TheBlackChamber/commons-encryption.git</developerConnection>
	</scm>

	<developers>
		<developer>
			<id>sminogue</id>
			<name>Seamus Minogue</name>
			<roles>
				<role>architect</role>
				<role>developer</role>
			</roles>
			<organizationUrl>https://github.com/sminogue</organizationUrl>
		</developer>
	</developers>

	<licenses>
		<license>
			<name>The MIT License (MIT)</name>
			<url>http://opensource.org/licenses/MIT</url>
			<distribution>repo</distribution>
			<comments>The MIT License (MIT)</comments>
		</license>
	</licenses>

	<dependencies>
		<dependency>
			<groupId>org.bouncycastle</groupId>
			<artifactId>bcprov-jdk15on</artifactId>
			<version>1.52</version>
		</dependency>
		<dependency>
			<groupId>org.jasypt</groupId>
			<artifactId>jasypt</artifactId>
			<version>1.9.2</version>
		</dependency>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.3</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.3</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
			<version>3.0</version>
		</dependency>
	</dependencies>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

    <build>
        <plugins>
                	<plugin>
      					<groupId>org.sonatype.plugins</groupId>
      					<artifactId>nexus-staging-maven-plugin</artifactId>
      					<version>1.6.2</version>
      					<extensions>true</extensions>
      					<configuration>
        					<serverId>ossrh</serverId>
        					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
        					<autoReleaseAfterClose>false</autoReleaseAfterClose>
      					</configuration>
    				</plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>central</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </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-gpg-plugin</artifactId>
                        <version>1.5</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>
