You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "wilx (via GitHub)" <gi...@apache.org> on 2026/07/27 23:03:45 UTC
Re: [I] [MASSEMBLY-916] When using mulitple Spring dependencies, the files from META-INF (from the Spring jars) overwrite each other in an executable jar-with-dependencies. [maven-assembly-plugin]
wilx commented on issue #1125:
URL: https://github.com/apache/maven-assembly-plugin/issues/1125#issuecomment-5097779410
The Spring metadata merger already exists, but must be enabled explicitly in a custom assembly descriptor:
```xml
<containerDescriptorHandlers>
<containerDescriptorHandler>
<handlerName>metaInf-spring</handlerName>
</containerDescriptorHandler>
</containerDescriptorHandlers>
```
This merges files such as `META-INF/spring.handlers` and `META-INF/spring.schemas`; the built-in `jar-with-dependencies` descriptor does not activate it.
This does not seem like a defect.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org