lavaplayer icon indicating copy to clipboard operation
lavaplayer copied to clipboard

lavaplayer-natives-extra in new Maven repository

Open hannesbraun opened this issue 3 years ago • 11 comments

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?

hannesbraun avatar May 05 '21 14:05 hannesbraun

[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

xlab avatar May 09 '21 11:05 xlab

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.

MrGazdag avatar May 28 '21 23:05 MrGazdag

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.

Djinnistorm avatar Jun 27 '21 02:06 Djinnistorm

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.

MrGazdag avatar Jun 27 '21 07:06 MrGazdag

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?

jocull avatar Oct 21 '21 22:10 jocull

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

MCOfficer avatar Oct 21 '21 22:10 MCOfficer

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).

jocull avatar Oct 22 '21 01:10 jocull

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..

MCOfficer avatar Oct 22 '21 09:10 MCOfficer

Where would this local repo be in ubuntu 20.04?

huntastikus avatar Jan 02 '22 01:01 huntastikus

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

aikaterna avatar Feb 06 '22 01:02 aikaterna

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

ArtemRuslanovich avatar Jan 18 '24 14:01 ArtemRuslanovich