Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect references to contained artifacts on JitPack? #14

Closed
ohtejera opened this issue Jun 3, 2016 · 2 comments
Closed

Incorrect references to contained artifacts on JitPack? #14

ohtejera opened this issue Jun 3, 2016 · 2 comments

Comments

@ohtejera
Copy link

ohtejera commented Jun 3, 2016

I'm attempting to use jadb as a JitPack enabled dependency on a Maven project.
I have this on the POM file:

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

    <dependencies>
        <dependency>
            <groupId>com.github.vidstige</groupId>
            <artifactId>jadb</artifactId>
            <version>v1.1</version>
        </dependency>
    </dependencies>

The message I get when trying to compile looks like this:

Could not resolve dependencies for project com.example:example:jar:0.0.1-SNAPSHOT: Failure to find com.github.vidstige:jadb:jar:v1.1 in https://jitpack.io was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced

When I look at JitPack in order to get the available version, I don't see the version v1.1.

Also I tried with the version V1.0 but I get the same error:

Could not resolve dependencies for project com.example:example:jar:0.0.1-SNAPSHOT: Failure to find com.github.vidstige:jadb:jar:v1.0 in https://jitpack.io was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced

Am I missing something?

Regards.
Henry

@adelolmo
Copy link

adelolmo commented Jun 3, 2016

HI @ohtejera ,
You're not missing anything. The library has to be released to the version v.1.2 before support for maven is active.
Otherwise you should use a "tag" as version instead of a "release". The latest tag is "94ebf38".

@ohtejera
Copy link
Author

ohtejera commented Jun 3, 2016

HI @adelolmo ,

Works like a charm. Thank you.

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

    <dependencies>
        <dependency>
            <groupId>com.github.vidstige</groupId>
            <artifactId>jadb</artifactId>
            <version>94ebf38</version>
        </dependency>
    </dependencies>

Regards
Henry

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

No branches or pull requests

2 participants