报错信息:
Could not find artifact org.geotools:gt-metadata:pom:29.2 in aliyunmaven
解决方案:
将Geotools的仓库配置添加到Maven的settings.xml文件中。
在Maven安装目录下的conf文件夹中,可以找到settings.xml文件。
将以下内容添加到该文件中
<settings>
<profiles>
<profile>
<id>geotools</id>
<repositories>
<repository>
<id>osgeo</id>
<name>OSGeo Release Repository</name>
<url>https://repo.osgeo.org/repository/release/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>geotools</activeProfile>
</activeProfiles>
</settings>