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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.Alpha2
    • Component/s: CLI
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: