[jboss-jira] [JBoss JIRA] (WFCORE-3866) CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar

Brian Stansberry (JIRA) issues at jboss.org
Mon May 21 15:51:00 EDT 2018


Brian Stansberry created WFCORE-3866:
----------------------------------------

             Summary: CLI pom has an unneeded dependency on MSC, causing MSC to get included in the shaded jboss-cli-client.jar 
                 Key: WFCORE-3866
                 URL: https://issues.jboss.org/browse/WFCORE-3866
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor
             Fix For: 6.0.0.Alpha1


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

{code}
        <!-- 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>
{code}

But that's out of date. The analysis for WFCORE3765 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list