GoogleContainerTools / GoogleContainerTools/jib

Jib extension built using Java 15 or later doesn't get executed

Open
#4,174 1 comment 0 reactions 0 assignees View on GitHub
priority:p3 type:bug
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**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**:

1. Create a Jib extension and build it using Java 15 or later
2. Add the extension to a project
3. 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.