javacpp-presets icon indicating copy to clipboard operation
javacpp-presets copied to clipboard

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

Open berkturk95 opened this issue 5 years ago • 6 comments

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 @

berkturk95 avatar Oct 21 '20 05:10 berkturk95

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

saudet avatar Oct 21 '20 05:10 saudet

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

berkturk95 avatar Oct 21 '20 08:10 berkturk95

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

junlarsen avatar Oct 21 '20 08:10 junlarsen

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

saudet avatar Oct 21 '20 08:10 saudet

This does not work either.

berkturk95 avatar Oct 21 '20 08:10 berkturk95

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

saudet avatar Oct 23 '20 01:10 saudet