You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Failed to execute goal on project JMusicBot: Could not resolve dependencies for project com.jagrosh:JMusicBot:jar:0.4.0: Could not find artifact dev.arbjerg:lavaplayer:jar:727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT in dv8tion (https://m2.dv8tion.net/releases) -> [Help 1]
[builduser@mysystem jmusicbot]$ rm -rf src pkg && makepkg --force
==> Making package: jmusicbot 0.4.0-1 (Sa 09 Mär 2024 16:56:15 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading JMusicBot-0.4.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.8M 0 10.8M 0 0 6904k 0 --:--:-- 0:00:01 --:--:-- 8426k
-> Found fix-pom.xslt
-> Found jmusicbot@.service
-> Found jmusicbot.service
==> Validating source files with sha384sums...
JMusicBot-0.4.0.tar.gz ... Passed
fix-pom.xslt ... Passed
jmusicbot@.service ... Passed
jmusicbot.service ... Passed
==> Extracting sources...
-> Extracting JMusicBot-0.4.0.tar.gz with bsdtar
==> Starting build()...
JAVA_HOME is "/usr/lib/jvm/default"
MVN_HOME is "/opt/maven"
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.jagrosh:JMusicBot >------------------------
[INFO] Building JMusicBot 0.4.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ JMusicBot ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.102 s
[INFO] Finished at: 2024-03-09T16:56:18+01:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.jagrosh:JMusicBot >------------------------
[INFO] Building JMusicBot 0.4.0
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from jitpack.io: https://jitpack.io/dev/arbjerg/lavaplayer/727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xml
Downloading from m2.duncte123.dev: https://m2.duncte123.dev/releases/dev/arbjerg/lavaplayer/727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xml
(...)
[WARNING] Could not transfer metadata dev.arbjerg:lavaplayer:727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xml from/to arbjergDev-snapshots (https://maven.lavalink.dev/snapshots): transfer failed for https://maven.lavalink.dev/snapshots/dev/arbjerg/lavaplayer/727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xml, status: 502 Bad Gateway
[WARNING] dev.arbjerg:lavaplayer:727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xmlfailed to transfer from https://maven.lavalink.dev/snapshots during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of arbjergDev-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata dev.arbjerg:lavaplayer:727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xml from/to arbjergDev-snapshots (https://maven.lavalink.dev/snapshots): transfer failed for https://maven.lavalink.dev/snapshots/dev/arbjerg/lavaplayer/727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/maven-metadata.xml, status: 502 Bad Gateway
(...)
[WARNING] The POM for dev.arbjerg:lavaplayer:jar:727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT is missing, no dependency information available
Downloading from central: https://jcenter.bintray.com/com/github/jagrosh/JLyrics/master-SNAPSHOT/maven-metadata.xml
(...)
Downloaded from m2.duncte123.dev: https://m2.duncte123.dev/releases/com/dunctebot/sourcemanagers/1.9.0/sourcemanagers-1.9.0.jar (65 kB at 23 kB/s)
Downloading from arbjergDev-snapshots: https://maven.lavalink.dev/snapshots/dev/arbjerg/lavaplayer/727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT/lavaplayer-727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.556 s
[INFO] Finished at: 2024-03-09T16:56:38+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project JMusicBot: Could not resolve dependencies for project com.jagrosh:JMusicBot:jar:0.4.0: Could not find artifact dev.arbjerg:lavaplayer:jar:727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT in dv8tion (https://m2.dv8tion.net/releases) -> [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
==> ERROR: A failure occurred in build().
Aborting...
[builduser@mysystem jmusicbot]$
Bug Description
Building with Maven fails with this error:
Context: Updating the AUR package
Command line session:
Steps to Reproduce
pom.xml
file ismvn clean
followed bymvn install
Expected Result
JMusicBot 0.4.0 to be built successfully by Maven
Debug Output
Does not apply since no working .jar can be built
Additional Info
Before running the
mvn
commands thePKGBUILD
replaces in thepom.xml
with
This was not a problem with JMusicBot 0.3.9 and I do not assume it to be causative for this build error.
Checklist
The text was updated successfully, but these errors were encountered: