-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Unable to install recent version of asciidoctor-kroki in a maven build #367
Comments
I don't really know as I've never encountered this error... 🤔 It seems related to rubygems, I found a similar issue (with the same error message): rubygems/rubygems#3050 (not sure if it's related or not). Do you know when this issue appeared? (As you said "a recent version" which implies that it previously worked?) |
I'll collect some occurences of that weirdness. We have
|
Seems like I have an other thing to check: when opening the asciidoctor-kroki file (obtained from the rubygems maven mriror at torquebox), I have the following content (which is neither zip *nor tar)
I may be wrong, but it seems like http://rubygems-proxy.torquebox.org/releases is no more a good url to fetch gems for maven projects ... And indeed, the link in the script fragment directs to sedoparking.com/frmpark/rubygems-proxy.torquebox.org/tierraexpired/park.js Suddelny, all clarifies : there is an issue on rubygems project: torquebox.org domain is expired |
Thanks to Twitter I've found an alternative proxy! |
Well, that's weird, when trying to get asciidoctor-kroki through the http://mavengems.jruby.org/releases repository, I get the same file, which means that "new" url directs to the same content. |
Let's try to give more visibility to that question ... I've asked it on StackOverflow. |
Fixed by switching to another rubygem download maven plugin : the mavengem download plugin dynamically converts rubygem repository structure to maven one, allowing download of rubygems in amven without relying upon a translating proxy. |
I think that's the right approach. We should probably recommend it on the Asciidoctor documentation. I don't mind adding instruction on how to install the Asciidoctor Kroki extension using Maven (and potentially Gradle) in the README. Could you please share a minimal pom.xml that converts an AsciiDoc file to HTML with the Asciidoctor Kroki extension enabled? |
I'm using asciidoctor-kroki to write my diagrams for my conferences
Since asciidoctor-kroki is available as a ruby gem, I have to use torquebox maven plugin to install asciidoctor-kroki.
So I have this dependency definition
And this configuration for the gem-maven-plugin
Unfortunatly, my build always fails with this error
I've started a small debug session, revealing that gem-maven-plugin in fact invokes the Java executable
Do you have ay idea how I could fix that ?
The text was updated successfully, but these errors were encountered: