mercadolibre / java-sdk

MercadoLibre's Java SDK
46 stars 65 forks source link

Repositório Maven não possui versão do Jar Inválida #18

Open b0nn13 opened 8 years ago

b0nn13 commented 8 years ago

Na wiki do projeto java-sdk o manual de utilização utiliza como repositório para a bilbioteca de referância https://github.com/mercadolibre/java-sdk-repo/raw/master/snapshots, esse repositório.

Esse repositório não possuí a versão 0.0.3-SNAPSHOT da biblioteca com.mercadolibre.sdk

Segue versão utilizada no manual

com.mercadolibre sdk 0.0.3-SNAPSHOT
jas1 commented 7 years ago

i have the same issue, 0.0.3-SNAPSHOT
its not published in the repo: https://github.com/mercadolibre/java-sdk-repo/raw/master/snapshots

please add it to the repo so we could import from maven or other tooling;

im trying to use 0.0.2-SNAPSHOT instead , as it is published.

you can publish that or change the readme so we use the published verions; its quite annoying to use manual instalation;

thanks in advance.

tomidelucca commented 7 years ago

Does someone even read this? ML has a 4 year old version in their mvn repo.

b0nn13 commented 7 years ago

jas1 and me are referring to version 0.0.3-SNAPSHOT

image

tomidelucca commented 7 years ago

For anyone having this issue, I am circumventing it using JitPack.

Add the following repository:

<repository>
     <id>jitpack.io</id>
     <url>https://jitpack.io</url>
</repository>

And the following dependency to your pom:

<dependency>
    <groupId>com.github.mercadolibre</groupId>
    <artifactId>java-sdk</artifactId>
    <version>${com.mercadolibre.sdk.version}</version>
</dependency>

Were the version should be the short hash of the commit you are targeting. I'm currently using: e5b02dd

This will use this repo as a Maven dependency.

b0nn13 commented 7 years ago

Thanks a lot @tomidelucca .

I'll test your solution.

danilocgraciano commented 6 years ago

I have the same problem, the version 0.0.3 does not exist...