The former OpenGeo Maven repository (
http://repo.opengeo.org
) where the GeoTools dependencies were present is no longer available. It has moved multiple times, the most recent one (2021) being the one below.
The GeoTools releases are available in the OSGeo Maven repository (
http://download.osgeo.org/webdav/geotools/
):
1 <repository>
2 <id>osgeo</id>
3 <name>OSGeo Release Repository</name>
4 <url>https://repo.osgeo.org/repository/release/</url>
5 <snapshots><enabled>false</enabled></snapshots>
6 <releases><enabled>true</enabled></releases>
7 </repository>
And the GeoTools snapshots are available in the following repository (
http://repo.boundlessgeo.com/main/
):
1 <repository>
2 <id>osgeo</id>
3 <name>OSGeo Snapshot Repository</name>
4 <url>https://repo.osgeo.org/repository/snapshot/</url>
5 <snapshots><enabled>true</enabled></snapshots>
6 <releases><enabled>false</enabled></releases>
7 </repository>
See also
GeoTools user guide Creating a new project item
7.