Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. 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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.1
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. spring.schemas_v3.1.0.txt
          4 kB
          Brian
        2. spring.schemas_v3.1.1.txt
          1 kB
          Brian

        Activity

          People

            Unassigned Unassigned
            brian.stocco@genesys.com Brian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: