Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Repository Missing? Build Error #143

Open
5 of 6 tasks
TryNotDying opened this issue Nov 2, 2024 · 1 comment
Open
5 of 6 tasks

Repository Missing? Build Error #143

TryNotDying opened this issue Nov 2, 2024 · 1 comment

Comments

@TryNotDying
Copy link

TryNotDying commented Nov 2, 2024

Issue

Issue Checklist

Please follow the following steps before opening this issue.

Issues that do not complete the checklist may be closed without any help.

  • I have checked for similar issues on the issue tracker.
  • I have updated to the latest version of JDA-Utilities.
  • I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.

The issue tracker is reserved for issues, errors, and feature requests related
to JDA-Utilities, and not questions and other requests for help.

Issue Information

Check all that apply:

  • This is a bug report about an error, issue, or bug in JDA-Utilities.
    • I have been able to consistently reproduce this bug.
  • This is a feature request for the JDA-Utilities library.

This issue tracker does not assist or handle issues with the JDA library.

For JDA related issues, visit the JDA issue tracker
and open an issue there.

Description

Describe your issue here.

Please provide any stack-traces, code, or pictures that will help describe the issue you are encountering.

My issue is with the Repository. -http://jcenter.bintray.com

Building anything throws errors because the repository is no longer hosting JDA Utilities. I checked the link out and couldn't find JDA Utilities in the repo anywhere.

Error:

[INFO] Downloading from central: https://jcenter.bintray.com/com/jagrosh/jda-utilities/3.0.5/jda-utilities-3.0.5.pom
[INFO] Downloading from jitpack.io: https://jitpack.io/com/jagrosh/jda-utilities/3.0.5/jda-utilities-3.0.5.pom
[INFO] Downloading from m2.duncte123.dev: https://m2.duncte123.dev/releases/com/jagrosh/jda-utilities/3.0.5/jda-utilities-3.0.5.pom
[INFO] Downloading from arbjergDev: https://maven.lavalink.dev/releases/com/jagrosh/jda-utilities/3.0.5/jda-utilities-3.0.5.pom
[WARNING] The POM for com.jagrosh:jda-utilities:pom:3.0.5 is missing, no dependency information available


[ERROR] Failed to execute goal on project �[36mJMusicBot�[m: �[1;31mCould not resolve dependencies for project com.jagrosh:JMusicBot:jar:Snapshot�[m
[ERROR] �[1;31mdependency: com.jagrosh:jda-utilities:pom:3.0.5 (compile)�[m
[ERROR] �[1;31m	com.jagrosh:jda-utilities:pom:3.0.5 was not found in https://m2.dv8tion.net/releases during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of dv8tion has elapsed or updates are forced�[m
[ERROR] �[1;31m	com.jagrosh:jda-utilities:pom:3.0.5 was not found in https://jcenter.bintray.com during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced�[m
[ERROR] �[1;31m	com.jagrosh:jda-utilities:pom:3.0.5 was not found in https://jitpack.io during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of jitpack.io has elapsed or updates are forced�[m
[ERROR] �[1;31m	com.jagrosh:jda-utilities:pom:3.0.5 was not found in https://m2.duncte123.dev/releases during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of m2.duncte123.dev has elapsed or updates are forced�[m
[ERROR] �[1;31m	com.jagrosh:jda-utilities:pom:3.0.5 was not found in https://maven.lavalink.dev/releases during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of arbjergDev has elapsed or updates are forced```
@gothikieros
Copy link

Hello, after trying around for quite some time, i found the repo that contained the dependency.

Add this to your pom.xml:

<repository>
   <id>AddWhateverIdYouWant</id>
   <name>SameHere</name>
   <url>https://dl.cloudsmith.io/public/arcane/archive/maven/</url>
</repository>

This was listed here under "CS ArcaneArts": https://mvnrepository.com/artifact/com.jagrosh/jda-utilities

Then i managed to compile the bot.

Additionally make sure to have lavalink dependency to the latest version: (as of writing it is 1.11.4). Without this we cannot play youtube

<dependency>
       <groupId>dev.lavalink.youtube</groupId>
       <artifactId>common</artifactId>
       <version>1.11.4</version>
</dependency>

Hope it helped

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

No branches or pull requests

2 participants