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

Grails Geb plugin versions 1.0.0 and 1.0.1 JARs are broken in official artifactory #76

Closed
hendrikstill opened this issue Nov 12, 2024 · 4 comments

Comments

@hendrikstill
Copy link

While attempting to build a legacy Grails application, I discovered that the JAR files for versions 1.0.0 and 1.0.1 of the Grails Geb plugin in the official Grails artifactory are broken.
Instead of containing the expected plugin code, these JAR files only contain an error message.

curl https://repo.grails.org/artifactory/plugins/org/grails/plugins/geb/1.0.0/geb-1.0.0.jar 
The requested path was not found.% 
curl https://repo.grails.org/artifactory/plugins/org/grails/plugins/geb/1.0.1/geb-1.0.1.jar 
The requested path was not found.%

I understand that these dependencies are very old and shouldn't be used anymore in new projects,
but I thought it was worth mentioning this issue as it affects legacy applications that still rely on these specific versions of the Geb plugin.

@jamesfredley
Copy link
Contributor

Those URLs are working. Can you check again?

@hendrikstill
Copy link
Author

@jamesfredley

The URLs still return the plaintext The requested path was not found. and not the acutal jar file.
Artifactory UI also report the size of only 33 bytes

Bildschirmfoto vom 2024-11-12 22-44-41

https://repo.grails.org/ui/repos/tree/General/plugins/org/grails/plugins/geb/1.0.1/geb-1.0.1.jar

@jamesfredley
Copy link
Contributor

Ok, they did download for me, but upon opening them, they are invalid jar files. It might be the user-agent from curl that is causing JFrog Artifactory to give you the path not found message.

Can you use version 1.0.2 (it has a valid jar) or another higher version from: https://repo.grails.org/ui/native/plugins/org/grails/plugins/geb

This is likely from the bintray retirement, although I was not part of that.

The other option would be to build those old versions using the tags on https://github.com/grails/geb/tags?after=v1.1.1 and put the jar in your app.

@hendrikstill
Copy link
Author

I believe the bintray retirement could be the reason for the broken artifacts.
If you don't plan to re-upload the broken versions, that's perfectly fine with me, as we are planning to migrate to newer versions.

@hendrikstill hendrikstill closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
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

2 participants