<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>at.gridgears</groupId>
    <artifactId>codechecks</artifactId>
    <version>1.0.0</version>

	<name>gridgears-codechecks</name>
	<description>Configuration for codechecks (PMD, FindBugs, etc.)</description>
    <url>https://github.com/GridGears/codechecks</url>
	 <licenses>
        <license>
            <name>MIT License</name>
            <url>http://www.opensource.org/licenses/mit-license.php</url>
        </license>
    </licenses>
    <developers>
        <developer>
            <email>andreas.liebig@gridgears.at</email>
            <name>Andreas Liebig</name>
            <url>https://github.com/aliebig</url>
            <id>aliebig</id>
        </developer>
        <developer>
            <email>michael.proestler@gridgears.at</email>
            <name>Michael Pröstler</name>
            <url>https://github.com/mproestler</url>
            <id>mproestler</id>
        </developer>
    </developers>
	<scm>
        <url>https://github.com/GridGears/codechecks</url>
        <connection>scm:git:git@github.com:GridGears/codechecks.git</connection>
        <developerConnection>scm:git:git@github.com:GridGears/codechecks.git</developerConnection>
    </scm>
	<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>
	
	 <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>                
                    <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>
                    <plugin>
                        <groupId>org.sonatype.plugins</groupId>
                        <artifactId>nexus-staging-maven-plugin</artifactId>
                        <version>1.6.7</version>
                        <extensions>true</extensions>
                        <configuration>
                            <serverId>ossrh</serverId>
                            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                            <autoReleaseAfterClose>true</autoReleaseAfterClose>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>