Search code examples
javamavenjboss

Current maven session contains banned plugin repository urls, please double check your pom or settings.xml


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

I dont know what should i do.

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


Solution

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