我有一个非常旧的项目,我正在尝试重建它,并且 pom.xml 提到了以下存储库:
<repository>
<id>jboss-drools</id>
<name>JBoss-Drools Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
mvn clean install
步骤失败,并出现以下错误:
[ERROR] Failed to execute goal on project <WAR>:
Could not resolve dependencies for project <WAR>:<SNAPSHOT>:
The following artifacts could not be resolved:
org.apache.xerces:xml-apis:jar:2.10.0,
org.apache.xerces:xercesImpl:jar:2.10.0,
org.apache.xerces:resolver:jar:2.10.0,
org.apache.xerces:serializer:jar:2.10.0,
org.apache.xalan:xalan:jar:2.7.1,
org.apache.commons.ssl:not-yet-commons-ssl:jar:0.3.9:
Could not find artifact org.apache.xerces:xml-apis:jar:2.10.0
in jboss-drools (https://repository.jboss.org/nexus/content/groups/public/) ->
[Help 1]
我查看了提到的存储库链接,它不再具有 jboss-drools 依赖项。我在哪里可以找到它们?
根据https://mvnrepository.com/artifact/org.apache.xerces/xml-apis/2.10.0你可以在soffid存储库中找到这个依赖项(http://download.soffid.com/maven /)。