jib
jib copied to clipboard
Jib extension built using Java 15 or later doesn't get executed
Environment:
- Jib version: jib-maven-plugin 3.4.0
- Build tool: Maven 3.9.6
- OS: macOS 14.3
Description of the issue:
We have created an internal company extension for Jib, which works fine, but we noticed that if we build it using Java 15 or later, then it doesn't get executed. When we build it using Java 14 or older then it does work.
Expected behavior:
We expect the extension to get executed.
Steps to reproduce:
- Create a Jib extension and build it using Java 15 or later
- Add the extension to a project
- Run Jib
Additional Information:
I expect this behavior is caused by Jib's use of Sisu 0.3.5 (released in 2021). Sisu 0.3.5 uses a version of ASM which is not recent enough to work with Java 15 or later. Sisu 0.9.0.M2 uses ASM 9.5, which supports Java up to 21.