Thanks Stefano,

Yes that did the trick. The reason for the confusion is that in the Maven Quickstart example (http://docs.geotools.org/latest/userguide/tutorial/quickstart/maven.html) Step 7 lists the required repositories section in the POM file, but there is an empty box for production versions. I overlooked this and just assumed that only SNAPSHOT versions required a repository entry.

So this is a small but important omission in the Maven Quickstart that I would fix if I would have the rights to do so.

In any case, many thanks for the quick help.

Gert

On 23/10/15 22:39, Stefano Costa wrote:
Hi Gert,
you are using Maven for your project, right? ;-)

If that is the case, just add this repository to your POM file:

    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>osgeo</id>
      <name>Open Source Geospatial Foundation Repository</name>
    </repository>

The above repository contains most (all?) GeoTools releases (latest one is 14.0).
In case you are building against a snapshot version (i.e. 15-SNAPSHOT), also add this repo:

    <repository>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>boundless</id>
      <name>Boundless Maven Repository</name>
    </repository>

Hope this helps.


On Fri, Oct 23, 2015 at 8:50 PM, Gert van Spijker <gert.van.spij...@moovware.com> wrote:
Hi all,

I am new here and about to evaluate Geotools for my project. I tried
building some of the trivial "Getting Started" examples but the required
modules are not found in the official maven repositories, nor can I find
a valid alternative repository.

I am quite convinced I am overlooking something obvious but I would
appreciate any help finding a repository rather than building Geotools
myself, which is not an option for my project.

Gert


------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to