Skip to content

Keep service implementations when service interface is used in minimize - #2275

Closed
Goooler wants to merge 1 commit into
mainfrom
g/20260903/keep-service-classes
Closed

Keep service implementations when service interface is used in minimize#2275
Goooler wants to merge 1 commit into
mainfrom
g/20260903/keep-service-classes

Conversation

@Goooler

@Goooler Goooler commented Sep 3, 2026

Copy link
Copy Markdown
Member

Retain service provider implementations under META-INF/services/ (and their transitive dependencies) when the corresponding service interface is kept during minimization.

Related


  • CHANGELOG's "Unreleased" section has been updated, if applicable.

@Goooler
Goooler force-pushed the g/20260903/keep-service-classes branch from 4494ce1 to 2138096 Compare September 3, 2026 11:11
Retain service provider implementations under `META-INF/services/` (and their transitive dependencies) when the corresponding service interface is kept during minimization.

Refs:

- https://issues.apache.org/jira/browse/MSHADE-313
- apache/maven-shade-plugin@8278c9f
@Goooler
Goooler force-pushed the g/20260903/keep-service-classes branch from 2138096 to a6c72f2 Compare September 3, 2026 11:23
@Goooler Goooler closed this in #2280 Sep 3, 2026
@Goooler
Goooler deleted the g/20260903/keep-service-classes branch September 3, 2026 12:04
@Goooler

Goooler commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

Prefer using R8 instead. Documented in #2280.

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.

1 participant