You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/06/11 16:17:00 UTC
[jira] [Commented] (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.
[ https://issues.apache.org/jira/browse/MASSEMBLY-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861180#comment-16861180 ]
Michael Osipov commented on MASSEMBLY-916:
------------------------------------------
You should create a sample project which can be easily turned into an IT for the one who will pick this up.
> When using mulitple Spring dependencies, the files from META-INF (from the Spring jars) overwrite each other in an executable jar-with-dependencies.
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-916
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-916
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Affects Versions: 3.1.1
> Reporter: Brian
> Priority: Major
> Attachments: spring.schemas_v3.1.0.txt, spring.schemas_v3.1.1.txt
>
>
> When using multiple Spring jars with the assembly plugin the spring.schemas file is not correctly populated and will only include the xsd file mapping for one jar file.
> This appears to be the same issue as MASSEMBLY-360, which was fixed in 2.2, but is happening again in version 3.1.1. It looks like it is only 3.1.1 that is a problem since I confirmed that the correct behaviour happens in 3.1.0.
> This can go unnoticed since it is often only an issue when the xsd file urls cannot be accessed, like on an environment with no internet access. I have attached our META-INF/spring.schemas files for the same project, but built using versions 3.1.0 and 3.1.1 of the assembly plugin to illustrate the difference in output.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)