我有一个带有依赖项org.jboss.el:com.springsource.org.jboss.el:jar:2.0.0.GA
的项目,我正试图找到官方的Maven存储库。
我不清楚这种依赖应该来自何处。我应该下载这个并自己创建一个Nexus repo。这件神器有正式的回购吗?
[ERROR] Failed to execute goal on project myproject: Could not resolve dependencies for project myjar:jar:5.0.0-SNAPSHOT: Failure to find org.jboss.el:com.springsource.org.jboss.el:jar:2.0.0.GA in https://mynexusserver/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
答案 0 :(得分:2)
工件org.jboss.el:com.springsource.org.jboss.el:jar:2.0.0.GA
可从Spring repositories获得:
您可以通过在设置或POM中添加此代码段来添加它们:
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
请注意,您建议使用-U
选项运行Maven的错误消息,以强制更新依赖项。