Hey, thanks for the quick reply! So, basically, what I was doing wrong was, I thought that I should use groupId: org.geotools and artifactId: gt-jdbc-postgis. Instead, I should have used this:
<dependency> <groupId>org.geotools.jdbc</groupId> <artifactId>gt-jdbc-postgis</artifactId> <version>2.7.0</version> <type>jar</type> </dependency> Which, of course, works! Thanks again On Tue, Apr 19, 2011 at 2:48 PM, Jody Garnett <[email protected]> wrote: > Interesting; I know we don't published unsupported jars; but this seems to > be a gap. A lot of projects work right from the snapshot repository; which > has something .... > - http://repo.opengeo.org/org/geotools/gt-jdbc-postgis/ > > Ah ha .. I found them for you: > - http://repo.opengeo.org/org/geotools/jdbc/gt-jdbc-postgis/ > > And again: > - > http://download.osgeo.org/webdav/geotools/org/geotools/jdbc/gt-jdbc-postgis/ > > Cheers, > Jody > > > On Tue, Apr 19, 2011 at 9:30 PM, Kostis Pristouris <[email protected]> wrote: >> >> Hello everyone, >> >> This is the first time I write here, but I've using geotools for some >> time now... For the past few months I've been using maven for >> dependency resolving and has helped me a lot... It seems though that >> the 2.7 release of geotools doesn't work with maven properly, that is, >> the repository at http://download.osgeo.org/webdav/geotools/ misses >> some files. >> >> Specifically, I've been trying to use the new jdbc datastores >> (gt-jdbc-postgis to be exact), and they're not updated there. The >> directories are there, but they have no releases inside. At first I >> thought those directories were leftovers or something, and noticed >> that gt-postgis was updated with a 2.7.0.1 version, so I assumed that >> that's were I would find the new datastores, for instance >> org.geotools.data.postgis.PostgisNGDataStoreFactory , which is also in >> the tutorials. After failing to locate that class, I downloaded the >> zip file distribution and found the missing jars! I also noticed that >> there was no jar for gt-postgis in the zip file, even though both a >> 2.7.0 and a 2.7.0.1 version of it exists in maven. >> >> Anyway, I just thought that it's strange it seems no one has reported >> this before, so I'm not sure if I'm not doing anything wrong... >> >> Thank you, >> >> Kostis Pristouris >> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about >> boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> Geotools-gt2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
