Error message: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom. Return code is: 501, ReasonPhrase: HTTPS Required. -> [Help 1]
Solution:
Here are the dependencies to be added in the settings.xml
OR mirror1 central mirror1 https://repo.maven.apache.org/maven2/ google-maven-central Google Maven Central https://maven-central.storage.googleapis.com/maven2/ central
Thanks, this helped :)
ReplyDeletethanks uuuuu <33333
ReplyDelete