Skip to content

Filter out META-INF/versions/** from shaded dependencies#771

Merged
chhsiao90 merged 1 commit intomodelmapper:masterfrom
ddark008:filter-bytebuddy-multirelease
Jun 20, 2025
Merged

Filter out META-INF/versions/** from shaded dependencies#771
chhsiao90 merged 1 commit intomodelmapper:masterfrom
ddark008:filter-bytebuddy-multirelease

Conversation

@ddark008
Copy link
Copy Markdown
Contributor

@ddark008 ddark008 commented Jun 19, 2025

This PR excludes META-INF/versions/** folders from shaded dependencies (such as Byte Buddy).
See https://github.com/raphw/byte-buddy?tab=readme-ov-file#dependency-and-api-evolution
for official recommendation.

Fixes #770

@ddark008 ddark008 changed the title Fixes #770 Filter out META-INF/versions/** from shaded dependencies Filter out META-INF/versions/** from shaded dependencies Jun 19, 2025
@chhsiao90 chhsiao90 merged commit 515a810 into modelmapper:master Jun 20, 2025
4 checks passed
@chhsiao90
Copy link
Copy Markdown
Member

Thanks @ddark008 !

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.

Filter out META-INF/versions/** Multi-Release Classes from Byte Buddy When Building the Uber-Jar (Class Conflict)

2 participants