<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>com.hnv-tech</groupId>
	<artifactId>mvn-demo</artifactId>
	<version>1.0</version>
	<packaging>jar</packaging>

	<name>mvn-demo</name>
	<description>A demo for deployment to the Central Repository via OSSRH</description>
	<url>http://github.com/simpligility/ossrh-demo</url>

	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<name>HNV</name>
			<email>hnv@hnv-tech.com</email>
			<organization>HNV</organization>
			<organizationUrl>https://hnv-tech.com</organizationUrl>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:git://github.com/simpligility/ossrh-demo.git</connection>
		<developerConnection>
			scm:git:ssh://github.com:simpligility/ossrh-demo.git</developerConnection>
		<url>http://github.com/simpligility/ossrh-demo/tree/master</url>
	</scm>

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

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>3.8.1</version>
			<scope>test</scope>
		</dependency>
	</dependencies>


	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<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>
			<plugin>
			    <groupId>net.nicoulaj.maven.plugins</groupId>
			    <artifactId>checksum-maven-plugin</artifactId>
			    <version>1.11</version> <!-- Check for latest version -->
			    <executions>
			        <execution>
			            <goals>
			                <goal>artifacts</goal>
			            </goals>
			        </execution>
			    </executions>
			    <configuration>
			        <algorithms>
			            <algorithm>MD5</algorithm>
			            <algorithm>SHA-1</algorithm>
			        </algorithms>
			        <fileSets>
	                    <fileSet>
	                        <directory>target/</directory>
	                        <includes>
	                            <include>**/*</include>
	                        </includes>
	                        <!-- Define the files to be excluded using Ant patterns -->
	                        <excludes>
	                            <exclude>**/*.asc</exclude>
	                        </excludes>
	                    </fileSet>
	                </fileSets>
			    </configuration>
			</plugin>
		</plugins>
	</build>

</project>
