KilianB / JImageHash

Perceptual image hashing library used to match similar images
MIT License
397 stars 80 forks source link

Error Using Nexus repository (Resolved) #31

Closed reinaldo-pinto closed 5 years ago

reinaldo-pinto commented 5 years ago

Hi, we are with the error below:

[ERROR] Failed to execute goal on project images: Could not resolve dependencies for project br.com.auto:images:jar:0.0.2-SNAPSHOT: Failure to find com.github.kilianB:JImageHash:jar:3.0.0 in https://nexus.internal.com.br/repository/maven-group/ was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

Our Nexus this makes the download of others dependencies (ok).

Help me???

KilianB commented 5 years ago

Sadly I do not have experience working with nexus, therefore I can't exactly pinpoint your issue.

It is expected that you are not able to resolve the artifact via maven central simply due to the fact that it is not published there. The code got released to JCenter which is a mirror and superset of maven central

<repositories>
    <repository>
        <id>jcenter</id>
        <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>

If you take a look at https://dl.bintray.com/kilianb/maven/com/github/kilianB/ you can see that the code is available. In my opinion this is somehow related to your nexus configuration.

Please also take a look at https://jfrog.com/knowledge-base/using-bintray-with-nexus/

Sorry that I can't provide any further help

reinaldo-pinto commented 5 years ago

Hi Killian, thank you. Through some of their information, we were able to solve. (Resolved)

Let's share:

Thank you very much.