[jboss-jira] [JBoss JIRA] (DROOLS-1661) KIE-Server-Client needs to be more light-weight

Duncan Doyle (JIRA) issues at jboss.org
Thu Jul 13 06:27:00 EDT 2017


Duncan Doyle created DROOLS-1661:
------------------------------------

             Summary: KIE-Server-Client needs to be more light-weight
                 Key: DROOLS-1661
                 URL: https://issues.jboss.org/browse/DROOLS-1661
             Project: Drools
          Issue Type: Enhancement
          Components: kie server
    Affects Versions: 7.1.0.Beta3
            Reporter: Duncan Doyle
            Assignee: Edson Tirelli


KIE-Server-Client currently drags in a ton of dependencies. A `mnv dependency:tree` gives this output.

```
+- org.kie.server:kie-server-client:jar:7.1.0-SNAPSHOT:compile
[INFO] |  +- org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] |  +- org.kie:kie-api:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  \- org.uberfire:uberfire-maven-support:jar:1.1.0-SNAPSHOT:compile
[INFO] |  +- org.kie:kie-internal:jar:7.1.0-SNAPSHOT:compile
[INFO] |  +- org.optaplanner:optaplanner-core:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  +- org.drools:drools-compiler:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  |  +- org.antlr:antlr-runtime:jar:3.5:compile
[INFO] |  |  |  +- org.eclipse.jdt.core.compiler:ecj:jar:4.4.2:compile
[INFO] |  |  |  \- com.google.protobuf:protobuf-java:jar:2.6.0:compile
[INFO] |  |  +- org.apache.commons:commons-math3:jar:3.4.1:compile
[INFO] |  |  +- com.google.guava:guava:jar:20.0:compile
[INFO] |  |  +- org.reflections:reflections:jar:0.9.10:compile
[INFO] |  |  |  \- com.google.code.findbugs:annotations:jar:2.0.1:compile
[INFO] |  |  \- com.thoughtworks.xstream:xstream:jar:1.4.9:compile
[INFO] |  |     +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] |  |     \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] |  +- org.drools:drools-core:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  +- org.mvel:mvel2:jar:2.3.0.Final:compile
[INFO] |  |  \- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  +- org.kie:kie-dmn-api:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  \- org.kie:kie-dmn-model:jar:7.1.0-SNAPSHOT:compile
[INFO] |  +- org.kie.server:kie-server-api:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  +- org.optaplanner:optaplanner-persistence-xstream:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  |  \- org.optaplanner:optaplanner-persistence-common:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  +- org.optaplanner:optaplanner-persistence-jaxb:jar:7.1.0-SNAPSHOT:compile
[INFO] |  |  |  +- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.2_spec:jar:1.0.4.Final:compile
[INFO] |  |  |  \- javax.activation:activation:jar:1.1.1:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.2:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-core:jar:2.6.2:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.2:compile
[INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.6.2:compile
[INFO] |  +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec:jar:1.0.0.Final:compile
[INFO] |  +- org.kie.server:kie-server-common:jar:7.1.0-SNAPSHOT:compile
[INFO] |  +- org.codehaus.jackson:jackson-xc:jar:1.9.13:compile
[INFO] |  |  \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] |  +- org.jboss.spec.javax.jms:jboss-jms-api_2.0_spec:jar:1.0.0.Final:compile
[INFO] |  +- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[INFO] |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[INFO] |  \- org.slf4j:jcl-over-slf4j:jar:1.7.7:runtime
```

So, if we're just creating a simple DMN KIE-Server Client, we are dragging in all sorts of `drools-core`optaplanner-persistence-xstream`, etc into our project. Obviously we can start excluding theses dependencies, but that's not really that user friendly IMO.

It would be nice if we could make this a bit more modular.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list