Trying to exclude dependencies from a repackaged JAR using [<excludes>
] still includes transitive dependencies.
#22981
Labels
status: duplicate
A duplicate of another issue
Excluding dependencies from a repackaged JAR using
<excludes>
should exclude transitive dependencies as well.For more context, this is from the hidden comment (#13289 (comment)) marked as off-topic in #13289:
For example, in #13289, the issue talks about the Spring Boot plugin behavior that includes
provided
-scoped dependencies in the repackaged JAR (not that this is a problem). As a workaround, one can use<excludes>
to exclude these dependencies, for example. However, it is counter-intuitive that it still packages all the transitive dependencies.The text was updated successfully, but these errors were encountered: