<?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>
    <groupId>org.orbisgis</groupId>
    <artifactId>h2gis</artifactId>
    <packaging>pom</packaging>
    <version>1.2.3</version>
    <name>H2GIS</name>
    <description>H2GIS is a spatial extension of the H2 database engine in the spirit of PostGIS.  It adds support for the Open Geospatial Consortium (OGC) Simple Features for SQL (SFSQL) functions.</description>
    <organization>
        <name>CNRS</name>
        <url>http://www.orbisgis.org</url>
    </organization>
    <url>http://github.com/orbisgis/H2GIS</url>
    <licenses>
        <license>
            <name>GNU General Public License (GPLV3+)</name>
            <url>http://www.gnu.org/licenses/gpl-3.0.html</url>
        </license>
    </licenses>
    <modules>
        <module>spatial-utilities</module>
        <module>h2spatial-api</module>
        <module>test-utilities</module>
        <module>h2spatial</module>
        <module>h2spatial-ext</module>
        <module>h2drivers</module>
        <module>h2spatial-osgi</module>
        <module>h2spatial-ext-osgi</module>
        <module>h2network</module>
    </modules>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <stagingDirectory>${project.build.directory}/staging/${project.version}</stagingDirectory>
        <!-- Dependency versions -->
        <maven-bundle-plugin-version>2.3.7</maven-bundle-plugin-version>
        <osgi-core-version>4.3.1</osgi-core-version>
        <h2-version>1.4.188</h2-version>
        <h2-package>com.h2database</h2-package>
        <org.osgi.compendium-version>4.3.1</org.osgi.compendium-version>
        <jts-version>1.13</jts-version>
        <sl4j-version>1.6.0</sl4j-version>
        <cts-version>1.3.3</cts-version>
        <junit-version>4.12</junit-version>
    </properties>
    <scm>
        <connection>scm:git:https://github.com/orbisgis/H2GIS.git</connection>
        <developerConnection>scm:git:https://github.com/orbisgis/H2GIS.git</developerConnection>
        <url>git@github.com:orbisgis/H2GIS.git</url>
    </scm>
    <profiles>
        <profile>
            <id>osgi</id>
            <modules>
                <module>jts-osgi</module>
                <module>h2spatialtest</module>
            </modules>
        </profile>
        <profile>
            <id>standalone</id>
            <modules>
                <module>h2-dist</module>
            </modules>
        </profile>
    </profiles>
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                        <manifestEntries>
                            <Specification-Vendor-URL>${project.organization.url}</Specification-Vendor-URL>
                            <Specification-URL>${project.url}</Specification-URL>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <developers>
        <developer>
            <name>Nicolas Fortin</name>
            <organization>CNRS-FR-2488</organization>
        </developer>
        <developer>
            <name>Erwan Bocher</name>
            <organization>CNRS-FR-2488</organization>
        </developer>
        <developer>
            <name>Adam Gouge</name>
            <organization>CNRS-FR-2488</organization>
        </developer>
    </developers>
    <parent>
        <groupId>org.orbisgis</groupId>
        <artifactId>orbisgis-nexus</artifactId>
        <version>1</version>
    </parent>
</project>
