sedmelluq / lavaplayer

Audio player library for Discord
Apache License 2.0
959 stars 247 forks source link

lavaplayer-natives-extra in new Maven repository #622

Open hannesbraun opened 3 years ago

hannesbraun commented 3 years ago

The lavaplayer-natives-extra dependency is not available anymore due to the JCenter/Bintray shutdown. Will it be available again through the new Maven repository or do I now need to support those platforms myself?

xlab commented 3 years ago

[ERROR] Failed to execute goal on project JMusicBot: Could not resolve dependencies for project com.jagrosh:JMusicBot:jar:Snapshot: Failed to collect dependencies at com.sedmelluq:lavaplayer-natives-extra:jar:1.3.13: Failed to read artifact descriptor for com.sedmelluq:lavaplayer-natives-extra:jar:1.3.13: Could not transfer artifact com.sedmelluq:lavaplayer-natives-extra:pom:1.3.13 from/to bintray-sedmelluq-com.sedmelluq (https://dl.bintray.com/sedmelluq/com.sedmelluq): Authorization failed for https://dl.bintray.com/sedmelluq/com.sedmelluq/com/sedmelluq/lavaplayer-natives-extra/1.3.13/lavaplayer-natives-extra-1.3.13.pom 403 Forbidden -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

MrGazdag commented 3 years ago

For anyone who wants to use this, as a temporary solution, here are the files for version 1.3.13 lavaplayer-natives-extra-1.3.13.zip Just extract the archive into your local maven repo (com/sedmelluq/lavaplayer-natives-extra/1.3.13/) and you're good to go.

Djinnistorm commented 3 years ago

For anyone who wants to use this, as a temporary solution, here are the files for version 1.3.13 lavaplayer-natives-extra-1.3.13.zip Just extract the archive into your local maven repo (com/sedmelluq/lavaplayer-natives-extra/1.3.13/) and you're good to go.

I'm sorry, I'm new with maven and this type of thing. Could you explain the last step in more detail? I'm not sure where I need to put the archive, and what I would need to change in this other project's pom, if anything, to work with this change.

MrGazdag commented 3 years ago

For anyone who wants to use this, as a temporary solution, here are the files for version 1.3.13 lavaplayer-natives-extra-1.3.13.zip Just extract the archive into your local maven repo (com/sedmelluq/lavaplayer-natives-extra/1.3.13/) and you're good to go.

I'm sorry, I'm new with maven and this type of thing. Could you explain the last step in more detail? I'm not sure where I need to put the archive, and what I would need to change in this other project's pom, if anything, to work with this change.

You can manually install the contents of the artifact in your local maven repository (if you're on Windows, then it is in your user directory, under .m2/repository). After that, navigate to the folder com/sedmelluq/lavaplayer-natives-extra/1.3.13/ (and create missing folders), then extract the archive into that folder (so, for example, if your username is Djinnistorm, then you should extract the archive to C:\Users\Djinnistorm\.m2\repository\com\sedmelluq\lavaplayer-natives-extra\1.3.13\). Maven will pick up the artifact from there. You don't need to change the pom.

jocull commented 2 years ago

Is there anything else that can be done here besides a manual installation? Can the package be added to a different repo such as Maven central?

MCOfficer commented 2 years ago

It should be part of the new default repo, https://m2.dv8tion.net/

jocull commented 2 years ago

Hmmm. I see the natives in there, but not natives-extra. It looks like perhaps the only difference is that natives-extra includes ARM support? That was the one I was missing for running on a Raspberry Pi 4 (aarch64).

MCOfficer commented 2 years ago

My bad, i got things confused. Yes, you can probably add them to a different repo yourself (under a different signature, possibly), but the only official thing that can happen is that we wait for sed to push it to the new maven repo..

huntastikus commented 2 years ago

Where would this local repo be in ubuntu 20.04?

aikaterna commented 2 years ago

The lavaplayer-natives-extra has been republished at https://jitpack.io/#aikaterna/lavaplayer-natives/original-SNAPSHOT

ArtemRuslanovich commented 7 months ago

Who from 2024. This works https://github.com/sedmelluq/lavaplayer?tab=readme-ov-file. Btw imports the same + image