Skip to content

Revisit jar-dependencies and ruby-maven issue#211

Merged
headius merged 1 commit intoruby:masterfrom
headius:more_ruby_maven_stuff
Mar 16, 2026
Merged

Revisit jar-dependencies and ruby-maven issue#211
headius merged 1 commit intoruby:masterfrom
headius:more_ruby_maven_stuff

Conversation

@headius
Copy link
Contributor

@headius headius commented Mar 16, 2026

ruby-maven is only used at build time to fetch a Maven install and use it as a tool to build the JRuby extension and jar file. If we have this as a direct development dependency when it is also being installed lazily by gems like psych (transitive dep of rdoc) there are issues with the installed ruby-maven getting overwritten mid- install by bundler.

See ruby/rubygems#9386

This is an attempt to remove the ruby-maven dependency so it does not conflict with the bundling process and we can take a bit more time to figure out the long-term solution.

ruby-maven is only used at build time to fetch a Maven install and
use it as a tool to build the JRuby extension and jar file. If we
have this as a direct development dependency when it is also being
installed lazily by gems like psych (transitive dep of rdoc) there
are issues with the installed ruby-maven getting overwritten mid-
install by bundler.

See ruby/rubygems#9386

This is an attempt to remove the ruby-maven dependency so it does
not conflict with the bundling process and we can take a bit more
time to figure out the long-term solution.
@headius headius force-pushed the more_ruby_maven_stuff branch from c9cad26 to 5d99d53 Compare March 16, 2026 20:29
@headius headius merged commit 0c71377 into ruby:master Mar 16, 2026
68 checks passed
@headius headius deleted the more_ruby_maven_stuff branch March 16, 2026 20:36
@headius
Copy link
Contributor Author

headius commented Mar 16, 2026

Relates to #126.

The ruby-maven dependency does not appear to be necessary for the build to be green, so we're going to work around the bundler issue by removing it and I have reverted the upstream changes to jar-dependencies.

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

Successfully merging this pull request may close these issues.

1 participant