在我基于maven的JSF项目中,我在pom.xml
<repositories>
<repository>
<id>java.net2</id>
<name>Repository hosting the jee6 artifacts</name>
<url>http://download.java.net/maven/2</url>
</repository>
<repository>
<url>http://download.java.net/maven/2/</url>
<id>jsf20</id>
<layout>default</layout>
<name>Repository for library Library[jsf20]</name>
</repository>
</repositories>
但Netbeans警告说这些参考黑名单存储库。我应该删除这些存储库声明吗?或者我是否需要将其替换为其他人?
答案 0 :(得分:9)
{@ 3}}上的存储库已弃用,已替换为http://download.java.net/maven/2
这就是Netbeans将其列为黑名单的原因。对Netbeans的这一更改记录在以下错误中:https://maven.java.net/content/groups/public/。
只需将您的网址更改为指向新的存储库,Netbeans就不应该再抱怨了。
可以在此处找到有关java.net maven存储库的详细信息: https://netbeans.org/bugzilla/show_bug.cgi?id=203736