<?xml version="1.0" encoding="UTF-8"?>
<!-- =======================================================================    
        Maven Project Configuration File                                        
                                                                                
        The Geotools Project                                                    
            http://www.geotools.org/                                            
                                                                                
        Version: $Id$              
     ======================================================================= -->
  <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>

  <parent>
    <groupId>org.geotools</groupId>
    <artifactId>gt2-unsupported</artifactId>
    <version>2.4.2</version>
  </parent>
  

  <!-- =========================================================== -->
  <!--     Module Description                                      -->
  <!-- =========================================================== -->
  <groupId>org.geotools</groupId>
  <artifactId>gt2-db2</artifactId>
  <packaging>jar</packaging>
  <name>DB2 Spatial Extender module</name>
  <url>http://maven.geotools.fr/reports/modules/unsupported/db2/</url>
  
  <scm>
    <connection>
      scm:svn:http://svn.geotools.org/geotools/branches/2.4.x/modules/unsupported/db2/
    </connection>
    <url>http://svn.geotools.org/geotools/branches/2.4.x/modules/unsupported/db2/</url>
  </scm>
  
  <description>
    Provides a standard interface to the DB2 Spatial Extender.
    More information can be found at: http://www.software.ibm.com/data/spatial.
  </description>

  <licenses>
    <license>
      <name>Lesser General Public License (LGPL)</name>
      <url>http://www.gnu.org/copyleft/lesser.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>


  <!-- =========================================================== -->
  <!--     Developers and Contributors                             -->
  <!-- =========================================================== -->
  <developers>
    <developer>
      <name>David Adler</name>
      <id>dadler</id>
      <email>dadler@us.ibm.com</email>
      <organization>IBM</organization>
      <roles>
        <role>Java Developer</role>
      </roles>
    </developer>
  </developers>


  <!-- =========================================================== -->
  <!--     Dependency Management                                   -->
  <!-- =========================================================== -->
  <dependencies>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt2-jdbc</artifactId>
      <version>${project.version}</version>
    </dependency>
    
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt2-epsg-wkt</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>

    <!-- The IBM DB2 JDBC driver.                                  -->
    <!--                                                           -->
    <!-- By default, Geotools uses a dummy driver because the real -->
    <!-- driver is not free software.                              -->
    <!--                                                           -->
    <!-- When the real DB2 JDBC drivers are not available, use the -->
    <!-- first <dependency block.                                  -->
    <!--                                                           -->
    <!-- When the real drivers *are* available:                    -->
    <!--   comment out the first block and uncomment the next 2    -->
    <!--   copy the files  'db2jcc.jar' and 'db2jcc_license_cu.jar'-->
    <!--       into <home>/.m2/repository/com/ibm directory        -->
    <!--   rebuild the plugin                                      -->
    <!--                                                           -->
    <dependency>
      <groupId>com.ibm</groupId>
      <artifactId>db2jcc_dummy</artifactId>
      <version>8.2.1</version>
    </dependency>
   <!--
    <dependency>
      <groupId>com.ibm</groupId>
      <artifactId>db2jcc</artifactId>
      <version>8.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.ibm</groupId>
      <artifactId>db2jcc_license_cu</artifactId>
      <version>8.2</version>
      <scope>provided</scope>
    </dependency>
    -->
  </dependencies>



  <!-- ==================================================== -->
  <!--     Plugins configuration                            -->
  <!-- ==================================================== -->
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <!-- Comment out the following to run tests against live database. -->
          <excludes>
            <exclude>**/DB2*.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
