<?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.hibernatespatial</groupId>
    <artifactId>hibernate-spatial-maven</artifactId>
    <version>1.1.3.2</version>
    <name>Hibernate Spatial</name>
    <description>
        This is the Maven parent project for all Hibernate Spatial
        Extension Modules. The main module is Hibernate Spatial, which
        provides the core extension classes. The other modules are the
        dialect providers for the Oracle 10g and Postgresql geographic
        data support. For more information on how to use Spatial
        Hibernate, go to the Hibernate Spatial site.
    </description>
    <url>http://www.hibernatespatial.org/maven</url>
    <packaging>pom</packaging>
    <modules>
        <module>hibernate-spatial</module>
        <module>test-suite</module>
        <module>hibernate-spatial-postgis</module>
        <module>hibernate-spatial-oracle</module>
<!--
        <module>hibernate-spatial-mysql</module>
        <module>hibernate-spatial-sqlserver</module>
 -->
        <module>hibernate-spatial-h2-geodb</module>

    </modules>

    <properties>
        <hibernate.version>3.6.9.Final</hibernate.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            <!--generate source artefacts -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
                <version>2.2.1</version>
            </plugin>
            <!--  this ensures that the common testsuite-suite cases are available for providers -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
                <version>2.4</version>
            </plugin>
            <!-- Release plugin -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.4.1</version>
                <configuration>
                    <autoVersionSubmodules>true</autoVersionSubmodules>
                    <tagNameFormat>@{project.version}</tagNameFormat>
                </configuration>
            </plugin>
        </plugins>

        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <!-- artifactId>wagon-webdav</artifactId>
                <version>1.0-beta-2</version -->
                <artifactId>wagon-ftp</artifactId>
                <version>2.6</version>
            </extension>
        </extensions>

    </build>

    <scm>
        <developerConnection>scm:git:git@github.com:jacques-finalist/hibernate-spatial1.git</developerConnection>
        <tag>HEAD</tag>
    </scm>

    <issueManagement>
        <system>JIRA</system>
        <url>http://www.hibernatespatial.org/jira/browse/HIBSPA</url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>hibernatespatial-dev</name>
            <subscribe>
                http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-dev
            </subscribe>
            <unsubscribe>
                http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-dev
            </unsubscribe>
            <archive>
                http://www.hibernatespatial.org/pipermail/hibernatespatial-dev/
            </archive>
        </mailingList>

        <mailingList>
            <name>hibernatespatial-users</name>
            <subscribe>
                http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
            </subscribe>
            <unsubscribe>
                http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
            </unsubscribe>

            <archive>
                http://www.hibernatespatial.org/pipermail/hibernatespatial-users/
            </archive>
        </mailingList>

        <mailingList>
            <name>hibernatespatial-announce</name>
            <subscribe>
                http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-announce
            </subscribe>
            <unsubscribe>
                http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-announce
            </unsubscribe>

            <archive>
                http://www.hibernatespatial.org/pipermail/hibernatespatial-announce
            </archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1</name>
            <url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <organization>
        <name>hibernatespatial.org</name>
        <url>http://www.hibernatespatial.org/</url>
    </organization>
    <dependencies>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>${hibernate.version}</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-testing</artifactId>
            <scope>test</scope>
            <version>${hibernate.version}</version>
        </dependency>
        <dependency>
            <groupId>org.locationtech.jts</groupId>
            <artifactId>jts-core</artifactId>
            <version>1.17.1</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit-dep</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.11.0.GA</version>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.6.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <scope>test</scope>
            <!--<version>[1.2.2,)</version>-->
            <version>1.4</version>
        </dependency>

        <dependency>
            <groupId>jaxen</groupId>
            <artifactId>jaxen</artifactId>
            <scope>test</scope>
            <version>1.1.1</version>
        </dependency>

    </dependencies>

    <profiles>
        <profile>
            <id>skip-functional-testing</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.14</version>
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <!-- postgresql + postgis -->
        <profile>
            <id>postgresql83</id>
            <dependencies>
                <dependency>
                    <groupId>postgresql</groupId>
                    <artifactId>postgresql</artifactId>
                    <version>8.4-701.jdbc3</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>org.postgis</groupId>
                    <artifactId>postgis-jdbc</artifactId>
                    <version>[1.5.2,)</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-postgis</artifactId>
                    <version>${project.version}</version>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-postgis</artifactId>
                    <version>${project.version}</version>
                    <classifier>tests</classifier>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernatespatial.postgis.PostgisDialect</db.dialect>
                <jdbc.driver>org.postgresql.Driver</jdbc.driver>
                <jdbc.url>jdbc:postgresql://localhost:5432:hibbrtru</jdbc.url>
                <jdbc.user>hibbrtru</jdbc.user>
                <jdbc.pass>hibbrtru</jdbc.pass>
                <jdbc.isolation />
            </properties>
        </profile>

        <!-- GeoDB (H2) -->
        <profile>
            <id>geodb</id>
            <dependencies>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-h2-geodb</artifactId>
                    <version>${project.version}</version>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-h2-geodb</artifactId>
                    <version>${project.version}</version>
                    <classifier>tests</classifier>
                </dependency>
                <dependency>
                    <groupId>org.opengeo</groupId>
                    <artifactId>geodb</artifactId>
                    <version>0.7</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernatespatial.geodb.GeoDBDialect</db.dialect>
                <jdbc.driver>org.h2.Driver</jdbc.driver>
                <jdbc.url>jdbc:h2:mem:testhbs;DB_CLOSE_DELAY=-1;MVCC=true</jdbc.url>
                <jdbc.user>sa</jdbc.user>
                <jdbc.pass>sa</jdbc.pass>
                <jdbc.isolation />
            </properties>
        </profile>

        <!-- Microsoft SQL Server 2008 -->
        <profile>
            <id>sqlserver-2008</id>
            <dependencies>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-sqlserver</artifactId>
                    <version>${project.version}</version>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-sqlserver</artifactId>
                    <version>${project.version}</version>
                    <classifier>tests</classifier>
                </dependency>
                <dependency>
                    <groupId>com.microsoft</groupId>
                    <artifactId>sqljdbc</artifactId>
                    <scope>test</scope>
                    <version>[2.0,)</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernatespatial.sqlserver.SQLServerSpatialDialect</db.dialect>
                <jdbc.driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</jdbc.driver>
                <jdbc.url>jdbc:sqlserver://192.168.122.67:1433;databaseName=HBS</jdbc.url>
                <jdbc.user>hbs</jdbc.user>
                <jdbc.pass>hbs</jdbc.pass>
                <jdbc.isolation />
            </properties>
        </profile>

        <!-- MySQL -->
        <profile>
            <id>mysql</id>
            <dependencies>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-mysql</artifactId>
                    <version>${project.version}</version>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-mysql</artifactId>
                    <version>${project.version}</version>
                    <classifier>tests</classifier>
                </dependency>
                <dependency>
                    <groupId>mysql</groupId>
                    <artifactId>mysql-connector-java</artifactId>
                    <scope>provided</scope>
                    <version>[5.0.5,)</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernatespatial.mysql.MySQLSpatialDialect</db.dialect>
                <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
                <jdbc.url>jdbc:mysql://localhost/testhbs</jdbc.url>
                <jdbc.user>hibernate</jdbc.user>
                <jdbc.pass>hibernate</jdbc.pass>
            </properties>
        </profile>

        <profile>
            <id>mysqlinnodb</id>
            <dependencies>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-mysql</artifactId>
                    <version>${project.version}</version>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-mysql</artifactId>
                    <version>${project.version}</version>
                    <classifier>tests</classifier>
                </dependency>
                <dependency>
                    <groupId>mysql</groupId>
                    <artifactId>mysql-connector-java</artifactId>
                    <scope>provided</scope>
                    <version>[5.0.5,)</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernatespatial.mysql.MySQLSpatialInnoDBDialect</db.dialect>
                <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
                <jdbc.url>jdbc:mysql://localhost/testhbs</jdbc.url>
                <jdbc.user>hibernate</jdbc.user>
                <jdbc.pass>hibernate</jdbc.pass>
            </properties>
        </profile>

        <!-- Oracle -->
        <profile>
            <id>oracle10g</id>
            <dependencies>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-oracle</artifactId>
                    <version>${project.version}</version>
                </dependency>
                <dependency>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>hibernate-spatial-oracle</artifactId>
                    <version>${project.version}</version>
                    <classifier>tests</classifier>
                </dependency>
                <dependency>
                    <groupId>com.oracle.jdbc</groupId>
                    <!--<artifactId>ojdbc14</artifactId>-->
                    <artifactId>ojdbc6</artifactId>
                    <scope>provided</scope>
                    <!--<version>10.2.0.1.0</version>-->
                    <version>[11.1.0.6.0,)</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernatespatial.oracle.OracleSpatial10gDialect</db.dialect>
                <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
                <jdbc.url>jdbc:oracle:thin:@oracle.geovise.com/ORCL</jdbc.url>
                <jdbc.user>hbs</jdbc.user>
                <jdbc.pass>hbs</jdbc.pass>
            </properties>
        </profile>
    </profiles>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.6.1</version>
            </plugin>
        </plugins>
    </reporting>

    <distributionManagement>
        <downloadUrl>http://maven.geo-solutions.it</downloadUrl>
        <repository>
          <uniqueVersion>false</uniqueVersion>
          <id>geosolutions</id>
          <url>ftp://maven.geo-solutions.it/</url>
        </repository>
     </distributionManagement>
    
    <developers>
        <developer>
            <id>maesenka</id>
            <name>Karel Maesen</name>
            <email>karel@geovise.com</email>
            <roles>
                <role>Project Lead</role>
                <role>Committer</role>
            </roles>
        </developer>
        <developer>
            <id>jandm</id>
            <name>Jan De Moerlose</name>
            <email>janDM@dfc.be</email>
            <roles>
                <role>Contributor</role>
            </roles>
        </developer>
        <developer>
            <id>pieterdg</id>
            <name>Pieter De Graef</name>
            <email>pieter@dfc.be</email>
            <roles>
                <role>Contributor</role>
            </roles>
        </developer>
        <developer>
            <id>AcreeTom</id>
            <name>Tom Acree</name>
            <email />
            <roles>
                <role>Contributor</role>
            </roles>
        </developer>
        <developer>
            <id>MartinSteinwender</id>
            <name>Martin Steinwender</name>
            <email />
            <roles>
                <role>Contributor</role>
            </roles>
        </developer>
        <developer>
            <id>janb</id>
            <name>Jan Boonen</name>
            <email>jan.boonen@geodan.nl</email>
            <roles>
                <role>H2-geodb Project Lead</role>
                <role>H2-geodb Committer</role>
            </roles>
        </developer>
        <developer>
            <id>reinoldp</id>
            <name>Reinold Pasterkamp</name>
            <email>reinold.pasterkamp@geodan.nl</email>
            <roles>
                <role>H2-geodb Committer</role>
            </roles>
        </developer>

    </developers>


</project>
