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

Gradle build fails on ysoserial dependency #17

Open
earthenvessel opened this issue Sep 7, 2022 · 0 comments
Open

Gradle build fails on ysoserial dependency #17

earthenvessel opened this issue Sep 7, 2022 · 0 comments

Comments

@earthenvessel
Copy link

Description of Bug

When attempting to build the Jar using Gradle, it fails with the error Could not find com.github.frohoff:ysoserial:master-SNAPSHOT.

What should the expected behavior be

All dependencies resolve properly so that the project build can successfully finish.

Steps to Reproduce

Run gradlew script to build the project

$ ./gradlew -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64 shadowJar
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
   > Could not find com.github.frohoff:ysoserial:master-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/github/frohoff/ysoserial/master-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar
       - https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/maven-metadata.xml
       - https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-2874a69f61-1.pom
       - https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-2874a69f61-1.jar
       - https://repo.spring.io/plugins-release/com/github/frohoff/ysoserial/master-SNAPSHOT/maven-metadata.xml
       - https://repo.spring.io/plugins-release/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.pom
       - https://repo.spring.io/plugins-release/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar
       - https://repo.jenkins-ci.org/public/com/github/frohoff/ysoserial/master-SNAPSHOT/maven-metadata.xml
       - https://repo.jenkins-ci.org/public/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.pom
       - https://repo.jenkins-ci.org/public/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s

Additional context

$ /usr/lib/jvm/java-8-openjdk-amd64/bin/java -version
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
earthenvessel added a commit to earthenvessel/rmiscout that referenced this issue Sep 7, 2022
Change to concrete version of ysoserial, as master-SNAPSHOT fails.
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

1 participant