0

I use Java 7 and Maven 3.2. When I try to run

mvn clean install

I got the following error

[ERROR] Plugin org.codehaus.mojo:build-helper-maven-plugin:1.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:build-helper-maven-plugin:jar:1.8: Could not transfer artifact org.codehaus.mojo:build-helper-maven-plugin:pom:1.8 from/to central (https://repo1.maven.org/maven2): Received fatal alert: protocol_version -> [Help 1]

However, if I switch to Java 8 I can run

mvn lean install

with no issues. I have access to https://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.8/build-helper-maven-plugin-1.8.pom via Google Chrome but maven can't download it. What might be the problem?

0 Answers0