Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2526

add option to only repackage WAR inside the uberjar and leave the WAR file untouched

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.7.0.Final
    • Component/s: plugins
    • Labels:
      None

      Description

      When <packaging> is war, we filter the WEB-INF/lib directory of the WAR file by default. We do it on two places – in the WAR which is inside the uberjar, and in the standalone WAR file.

      This is inconvenient when you want to build the uberjar, but also keep using the WAR file e.g. for deploying to WildFly. For such scenario, you want to modify the WAR which is inside the uberjar, but keep the standalone WAR file untouched.

      This can be achieved by adding another option, e.g. repackageWar, but it would probably be less confusing to add a 3rd value to filterWebInfLib, such as uberjar-only.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: