Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Can't install wit Java 7 and maven 3 #80

Open
maxg1972 opened this issue Nov 8, 2019 · 1 comment
Open

Can't install wit Java 7 and maven 3 #80

maxg1972 opened this issue Nov 8, 2019 · 1 comment

Comments

@maxg1972
Copy link

maxg1972 commented Nov 8, 2019

Hi,
on my system i've:

  • java version "1.7.0_80"
  • Apache Maven 3.6.2
    but when i run "mvn install" i get this error:
    [ERROR] 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 central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version

How can i fix it?

Thanks.
installing error

@disintegrat3
Copy link

I had a similar issue, which I solved after digging through stackoverflow (haha, where else!).

  1. Create a .mvn directory at the root of the Sharpen directory.
  2. Add a "jvm.config" file with the contents "-Dhttps.protocols=TLSv1.2".

After that I was able to build the Sharpen JAR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants