bytedeco / javacpp-presets

The missing Java distribution of native C++ libraries
Other
2.68k stars 744 forks source link

Unresolveable build extension error when using the command "mvn clean install" #963

Open berkturk95 opened 4 years ago

berkturk95 commented 4 years ago

Hello, I cloned javacpp and javacpp-presets successfully but when I try to do the command mvn clean install, it gives this error and I can't process any further:

Downloading: https://repo.maven.apache.org/maven2/org/sonatype/plugins/nexus-staging-maven-plugin/1.6.8/nexus-staging-maven-plugin-1.6.8.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.sonatype.plugins:nexus-staging-maven-plugin:jar:1.6.8 @

saudet commented 4 years ago

That's just a network failure. Try again until it downloads successfully.

berkturk95 commented 4 years ago

I tried several times but it still gave this error. Is there any other solution that I can use?

junlarsen commented 4 years ago

Your network may be blocking it, ie a firewall. Try using a proxy

saudet commented 4 years ago

Make sure you're retrying with mvn -U ...

berkturk95 commented 4 years ago

This does not work either.

saudet commented 4 years ago

BTW, there is no need to build anything by yourself. Everything is all available as snapshots: http://bytedeco.org/builds/