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

Maven dependency doesn't seem to work #13

Open
TechnoVisionDev opened this issue Jun 22, 2022 · 6 comments
Open

Maven dependency doesn't seem to work #13

TechnoVisionDev opened this issue Jun 22, 2022 · 6 comments

Comments

@TechnoVisionDev
Copy link

Im getting a Unresolved dependency: com.github.DiscordBotList:DBL-Java-Library:jar:2.1.1 error from maven but my dependency xml structure follows what is on jitpack exactly. I also have the jitpack repository as well

https://paste.ofcode.org/55mcCRchgxRj4tzajjN23U

@TechnoVisionDev
Copy link
Author

I have also tried the following dependency tag and it doesn't work either

    <dependency>
        <groupId>org.discordbots</groupId>
        <artifactId>DBL-Java-Library</artifactId>
        <version>2.1.1</version>
    </dependency>

@TechnoVisionDev
Copy link
Author

TechnoVisionDev commented Jun 22, 2022

I have also now tried searching the repo in jitpack and get a third dependency tag that ALSO does not work. What is the real dependency?

Could not find artifact com.github.top-gg:java-sdk:jar:2.1.1 in jitpack.io

    <dependency>
        <groupId>com.github.top-gg</groupId>
        <artifactId>java-sdk</artifactId>
        <version>2.1.1</version>
    </dependency>

@TechnoVisionDev
Copy link
Author

TechnoVisionDev commented Jun 22, 2022

Found ANOTHER dependency tag that doesn't works! This time from maven central. How many different ones are there??

    <dependency>
        <groupId>com.github.DiscordBotList</groupId>
        <artifactId>DBL-Java-Wrapper</artifactId>
        <version>2.1.1</version>
        <type>pom</type>
    </dependency>

@TechnoVisionDev
Copy link
Author

Found another dependency tag that doesn't work, this time from another jitpack page
https://jitpack.io/p/discordbotlist/dbl-java-library

<dependency>
    <groupId>com.github.discordbotlist</groupId>
    <artifactId>dbl-java-library</artifactId>
    <version>2.1.1</version>
</dependency>

@Thibstars
Copy link
Contributor

Thibstars commented Jul 5, 2022

I have the same issue. Seems like this PR is opened to address it: #14 can anyone provide an update please?

Update:
This one does seem to work.

		<dependency>
			<groupId>com.github.top-gg</groupId>
			<artifactId>java-sdk</artifactId>
			<version>2.0.1</version>
		</dependency>

@Hopefuls
Copy link

Resolved by #14

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

3 participants