Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3866

CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 6.0.0.Alpha2
    • None
    • CLI
    • None

      The cli/pom.xml has this in the "dependencies" section:

              <!-- added here as it is dep of embedded and needs to be included in shaded jar-->
              <dependency>
                  <groupId>org.jboss.msc</groupId>
                  <artifactId>jboss-msc</artifactId>
              </dependency>
      

      But that's out of date. The analysis for WFCORE-3765 showed that any need for MSC is only on the "embedded server" side, loaded by JBoss Modules, and is not on the embedding app side, needed on the classpath. There used to be use of MSC on the embedding app side but that was removed long ago.

      Fixing this will reduce the size of the jboss-cli-client.jar.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: