Skip to content

Bundle maven packaging deps in java plugins#2280

Merged
DMarby merged 12 commits intomainfrom
dmarby/maven-packaging-deps
Feb 27, 2026
Merged

Bundle maven packaging deps in java plugins#2280
DMarby merged 12 commits intomainfrom
dmarby/maven-packaging-deps

Conversation

@DMarby
Copy link
Member

@DMarby DMarby commented Feb 24, 2026

This updates our fetcher, and adds a standalone tool to render/re-generate Dockerfiles as well, to make them contain the dependencies we need to do maven packaging for a plugin at a known path.

Updates the latest version of each plugin, follow-up PRs will update older versions once we're happy with this approach. Follow-up PR (that likely needs breaking down further) to update all older versions: #2281

stefanvanburen added a commit that referenced this pull request Feb 24, 2026
Just noticed this while looking into #2280 and figured we ought to
ratchet this up.
Copy link
Member

@stefanvanburen stefanvanburen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like a reasonable approach to me, assuming we'd test this locally e2e first. just a couple small thoughts

The maven-deps stage uses COPY pom.xml /tmp/pom.xml, but the
.dockerignore excluded everything except the Dockerfile from the
build context. Add !pom.xml to any .dockerignore when regenerating
maven deps so the build context includes the POM file.
Copy link
Member

@pkwarren pkwarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of minor things - this is looking great!

@DMarby DMarby merged commit 5d03801 into main Feb 27, 2026
3 checks passed
@DMarby DMarby deleted the dmarby/maven-packaging-deps branch February 27, 2026 15:52
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.

3 participants