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

Filter the core WildFly Swarm jars from a user's WEB-INF/lib if they appear there

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2016.9
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2016.9

      Description

      When not using auto-detect, and if scope=compile on Swarm dependencies, they end up within the maven-constructed .war under WEB-INF/lib/

      If the app uses CDI, this causes extra problems, as their app now has internal Swarm CDI components being loaded, poorly.

      While it'd be great to remove the entire dependency tree of Swarm-related core jars, that's currently hard, for large values of hard.

      Thus, we can remove the items that have a /wildfly-swarm-bootstrap.conf file present, and that solves most of this problem, even though there's still extra dependencies floating around.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bob.mcwhirter Bob McWhirter
                  Reporter:
                  bob.mcwhirter Bob McWhirter
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: