An experimental Maven 2 repository is up and running. Geotools 2.2 snapshots are published there:

    http://maven.geotools.org/gt2/org/geotools

Developpers who build their project with Maven 2 (http://maven.apache.org) can configure their project in order to download automatically those files. Maven checks for new Geotools snapshot release once a day.

Attached is the minimal pom.xml file needed for a Maven 2 project using the above-cited repository. See the Maven 2 documentation on the Apache web site for more details.

Note that this repository is experimental. Some adjustements may be done according users and developpers feedback.

        Martin.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- =========================================================================== -->
<!--   Minimal configuration file for a Maven 2 project using Geotools library   -->
<!--   http://maven.apache.org                         http://www.geotools.org   -->
<!-- =========================================================================== -->
<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>com.mycompany</groupId>
  <artifactId>myproject</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>My project</name>

  <dependencies>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt2-main</artifactId>
      <version>2.2-SNAPSHOT</version>
    </dependency>
  </dependencies>

  <repositories>
    <repository>
      <id>Geotools</id>
      <name>Geotools 2 repository</name>
      <url>http://maven.geotools.org/gt2</url>
    </repository>
  </repositories>

</project>

Reply via email to