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 as the snakeyaml-android dependency referred in Quarkus do not exist #25287

Closed
mrin9 opened this issue May 1, 2022 · 3 comments
Labels
area/gradle Gradle kind/bug Something isn't working

Comments

@mrin9
Copy link

mrin9 commented May 1, 2022

Describe the bug

Gradle is unable to locate the following dependency referred in Quarkus
https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.30/snakeyaml-1.30-android.jar

org.yaml:snakeyaml:1.30 do exist in MavenCentral but Gradle's dependency resolution also includes the android classifier that creates dependency on org.yaml:snakeyaml:1.30-android - which doesn't exist

I think it can be fixed if you remove <classifier>android</classifier> from the snakeyaml dependency.

Build tool (ie. output of mvnw --version or gradlew --version)

Gradle 7.4.2

@mrin9 mrin9 added the kind/bug Something isn't working label May 1, 2022
@quarkus-bot quarkus-bot bot added the area/gradle Gradle label May 1, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented May 1, 2022

/cc @glefloch, @quarkusio/devtools

@glefloch
Copy link
Member

glefloch commented May 1, 2022

Thanks for reporting this. Do you have a sample project? Or are you just trying to add a dependency on snakeyaml with the android classifier?

@mrin9
Copy link
Author

mrin9 commented May 1, 2022

I started getting this error after I upgraded Quarkus to 2.7.0 in this release snakeyaml was upgraded from 1.29 to 1.30 which made me believe that it is stemming from the upgrade as all the prior releases of Quarkus works fine

However, I found that there was another issue report on this #23371
but the cause was due to a different library JavaFaker .
A reproducing Repo https://github.com/Epic-Breakfast-Productions/OpenQuarterMaster/tree/main/software/plugins/open-qm-plugin-demo is provided too.

It has fixed my issue too.
Sorry for the false alarm, closing it

@mrin9 mrin9 closed this as completed May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gradle Gradle kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants