Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3721

Remove dependencies between tomee-webapp modules

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.0.7, 8.0.8
    • TomEE Build
    • None

    Description

      When one webapp module (war) depends on another webapp module (war), we sometimes get duplicate jars in the final webapp. This seems to only happen for snapshots.

      For example:

         $ unzip -l apache-tomee-8.0.7-20210417.052409-158-plume.zip | grep cxf-core
           1431799  04-17-2021 05:23   apache-tomee-plume-8.0.7-SNAPSHOT/lib/cxf-core-3.5.0-SNAPSHOT.jar
           1431799  04-17-2021 05:23   apache-tomee-plume-8.0.7-SNAPSHOT/lib/cxf-core-3.5.0-20210417.035622-203.jar
      

      Removing the dependency between each webapp fixes the issue. This also means we must copy the maven dependencies from the root tomee-webapp module into each of the previously dependent webapp modules.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: