<!-- ~ This file is part of the GeoLatte project. ~ ~ GeoLatte is free software: 
	you can redistribute it and/or modify ~ it under the terms of the GNU Lesser 
	General Public License as published by ~ the Free Software Foundation, either 
	version 3 of the License, or ~ (at your option) any later version. ~ ~ GeoLatte 
	is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; 
	without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR 
	PURPOSE. See the ~ GNU Lesser General Public License for more details. ~ 
	~ You should have received a copy of the GNU Lesser General Public License 
	~ along with GeoLatte. If not, see <http://www.gnu.org/licenses />. ~ ~ Copyright 
	(C) 2010 - 2011 and Ownership of code is shared by: ~ Qmino bvba - Romeinsestraat 
	18 - 3001 Heverlee (http://www.qmino.com) ~ Geovise bvba - Generaal Eisenhowerlei 
	9 - 2140 Antwerpen (http://www.geovise.com) -->

<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>org.geolatte</groupId>
    <artifactId>geolatte</artifactId>
    <name>geolatte</name>
    <packaging>pom</packaging>
    <version>1.3.0</version>

	<description>
		This geoLatte-geom project contains modules for working with geometries.
	</description>
	<url>https://github.com/geolatte/geolatte-geom</url>

	<modules>
		<module>geom</module>
		<module>json</module>
	</modules>


	<organization>
		<name>geolatte.org</name>
		<url>http://www.geolatte.org/</url>
	</organization>

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

	<licenses>
		<license>
			<name>LGPL 3.0</name>
			<url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<scm>
		<connection>scm:git:git@github.com:GeoLatte/geolatte-geom.git</connection>
		<url>scm:git:git@github.com:GeoLatte/geolatte-geom.git</url>
		<developerConnection>scm:git:git@github.com:GeoLatte/geolatte-geom.git</developerConnection>
	</scm>

	<developers>
		<developer>
			<id>maesenka</id>
			<name>Karel Maesen</name>
			<email>karel@geovise.com</email>
			<roles>
				<role>Contributor</role>
				<role>Committer</role>
			</roles>
		</developer>
		<developer>
			<id>bertvh</id>
			<name>Bert Vanhooff</name>
			<email>bert.vanhooff@qmino.com</email>
			<roles>
				<role>Contributor</role>
				<role>Committer</role>
			</roles>
		</developer>
		<developer>
			<id>yvesv</id>
			<name>Yves Vandewoude</name>
			<email>yves.vandewoude@qmino.com</email>
			<roles>
				<role>Contributor</role>
				<role>Committer</role>
			</roles>
		</developer>
		<developer>
			<id>rigolepe</id>
			<name>Peter Rigole</name>
			<email>peter.rigole@qmino.com</email>
			<roles>
				<role>Contributor</role>
				<role>Committer</role>
			</roles>
		</developer>
	</developers>

	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<!--generate source artefacts -->
					<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>

					<!-- generate javadoc artefacts -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<!-- doclint config removed for building with jdk < 8 (as in Travis) -->
						<!--<configuration> -->
						<!--<additionalparam>-Xdoclint:none</additionalparam> -->
						<!--</configuration> -->
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>

					<!-- GPG Signed components -->
					<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>

					<!-- Sonatype release plugin -->
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.3</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
					</plugin>


				</plugins>
			</build>

		</profile>
	</profiles>
	<build>
		<plugins>
			<!-- generate compiled (binary) artefacts -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>

			<!--generate source artefacts -->
			<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>

			<!-- generate javadoc artefacts -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.9.1</version>
                <configuration>
                    <additionalparam>-Xdoclint:none</additionalparam>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

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


		</plugins>
	</build>



	<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>

	<repositories>
		<repository>
			<id>OSGEO</id>
			<url>http://download.osgeo.org/webdav/geotools</url>
		</repository>
		<repository>
			<id>sonatype-snapshots</id>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<url>http://oss.sonatype.org/content/repositories/snapshots</url>
		</repository>
	</repositories>
</project>
