Skip to content

Switch to jar-deps based on mima - #9515

Merged
headius merged 2 commits into
jruby:masterfrom
headius:test_mima_jar_deps
Sep 2, 2026
Merged

headius merged 2 commits into
jruby:masterfrom
headius:test_mima_jar_deps

Conversation

@headius

@headius headius commented Jun 30, 2026 •

Copy link
Copy Markdown
Member

We have a working version of jar-dependencies now using the mima stripped-down Maven dependency resolver. This PR will switch us to jar-dependencies 0.6.0 to eliminate issues with post-install hooks trying to install ruby-maven and hitting concurrency challenges.

This is based on finalization changes in jruby/jar-dependencies#107.

@headius headius added this to the JRuby 10.1.1.0 milestone Jun 30, 2026
@headius

headius commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

Premature to try to merger this into 10.1.1.0 so we'll punt for one more release.

@headius headius modified the milestones: JRuby 10.1.1.0, JRuby 10.1.2.0 Jul 8, 2026
@kares

kares commented Jul 9, 2026

Copy link
Copy Markdown
Member

@headius

headius commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

All the PRs that @kares pointed out have been merged and released in pre2, along with:

A separate ping for @mkristian here... we are about to move forward with this.

Once jar-dependencies 0.6.0 is released we'll also update JRuby 10.1 dev builds and see if it impacts anyone. 🤞

@headius

headius commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

Also need to include the update of mima in 0.6.0 final:

@mkristian

mkristian commented Aug 28, 2026 via email

Copy link
Copy Markdown
Member

@headius
headius force-pushed the test_mima_jar_deps branch 2 times, most recently from c77f0bc to 9b0b8ab Compare September 2, 2026 20:07
This new version uses "mima" a stripped-down library for Maven
dependency resolution. This eliminates the need for a post-install
hook to install ruby-maven (problematic for many reasons) and
means that JRuby includes everything needed for jar-deps in the
box.

Fixes jruby#9301
@headius headius modified the milestones: JRuby 10.1.x, JRuby 10.1.2.0 Sep 2, 2026
jar-dependencies 0.6.0 includes mima in the box to avoid the many
issues involved when installing ruby-maven in a post-install hook.
This means a larger JRuby + stdlib. We will continue to look at
ways to reduce this in the future.
@headius headius linked an issue Sep 2, 2026 that may be closed by this pull request
@headius
headius merged commit aaa3d06 into jruby:master Sep 2, 2026
133 of 134 checks passed
@headius
headius deleted the test_mima_jar_deps branch September 2, 2026 20:53
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.

Find an alternative to shipping ruby-maven

3 participants