本文介绍了当前的Maven会话包含禁止的插件存储库URL,请仔细检查您的pom或settings.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将wildfly quickstart 17.0.0最终部署.但是我在Maven方面遇到了一些问题.

I tryed to deploy wildfly quickstart 17.0.0 final. But i had some problems with maven.

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedRepositories failed with message:
Current maven session contains banned repository urls, please double check your pom or settings.xml:
jboss-earlyaccess-repository - http://maven.repository.redhat.com/earlyaccess/all/
jboss-ga-repository - http://maven.repository.redhat.com/techpreview/all

 Current maven session contains banned plugin repository urls, please double check your pom or settings.xml:
jboss-earlyaccess-plugin-repository - http://maven.repository.redhat.com/earlyaccess/all/
jboss-ga-plugin-repository - http://maven.repository.redhat.com/techpreview/all

我不知道该怎么办.

如果您需要其他任何信息,请告诉我.

If you need any other information, plz let me know.

推荐答案

您需要使用SSL在您的网址中将HTTP替换为https.

You need to use SSL replace http with https in your urls.

这篇关于当前的Maven会话包含禁止的插件存储库URL,请仔细检查您的pom或settings.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 23:37