Reputation: 1
How to resolve the below issue in Amazon workspace? I tried all the sources in Stack overflow, but not resolved while doing Maven clean/install:
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to UK (http://uk.maven.org/maven2): uk.maven.org: Unknown host uk.maven.org
Upvotes: 0
Views: 114
Reputation: 21
You need to check your maven settings.xml.
To get your maven directory open terminal and type the following command echo %MAVEN_HOME%
Then open the file under %MAVEN_HOME%\conf\settings.xml
and remove the UK
mirror
Can you please post your settings.xml file to see its content, this would make the analyses easier
Upvotes: 0