Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6713

Hawkular Agent dependencies should be reviewed

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • fuse-7.0
    • None
    • Hawkular
    • None
    • % %

      The dependency classes in the agent and the application it attaches to can definitely conflict - it would be good to reduce the amount of dependency classes as far as possible and use shading relocation (https://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html) so that they don't conflict with any classes in the application the agent attaches to.

      Here's the list of current artifacts being pulled in :

      INFO] Including com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.5.4 in the shaded jar.
      [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.5.4 in the shaded jar.
      [INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.5.4 in the shaded jar.
      [INFO] Including org.yaml:snakeyaml:jar:1.12 in the shaded jar.
      [INFO] Including org.hawkular.agent:hawkular-agent-core:jar:0.29.4.Final-SNAPSHOT in the shaded jar.
      [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.5.4 in the shaded jar.
      [INFO] Including com.github.dblock:oshi-core:jar:2.6.2 in the shaded jar.
      [INFO] Including net.java.dev.jna:jna-platform:jar:4.2.2 in the shaded jar.
      [INFO] Including net.java.dev.jna:jna:jar:4.2.2 in the shaded jar.
      [INFO] Including org.glassfish:javax.json:jar:1.0.4 in the shaded jar.
      [INFO] Including com.squareup.okhttp3:okhttp:jar:3.4.2 in the shaded jar.
      [INFO] Including com.squareup.okio:okio:jar:1.9.0 in the shaded jar.
      [INFO] Including com.squareup.okhttp3:okhttp-ws:jar:3.4.2 in the shaded jar.
      [INFO] Including io.dropwizard.metrics:metrics-core:jar:3.1.2 in the shaded jar.
      [INFO] Including org.hawkular.commons:hawkular-command-gateway-api:jar:0.9.2.Final in the shaded jar.
      [INFO] Including org.hawkular.agent:hawkular-dmr-client:jar:0.29.4.Final-SNAPSHOT in the shaded jar.
      [INFO] Including org.wildfly.plugins:wildfly-plugin-core:jar:1.1.0.Final in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-launcher:jar:1.0.1.Final in the shaded jar.
      [INFO] Including org.hawkular.commons:hawkular-bus-common:jar:0.9.2.Final in the shaded jar.
      [INFO] Including org.hawkular.commons:hawkular-inventory-paths:jar:0.9.2.Final in the shaded jar.
      [INFO] Including org.hawkular.inventory:hawkular-inventory-api:jar:1.1.3.Final in the shaded jar.
      [INFO] Including io.reactivex:rxjava:jar:1.1.7 in the shaded jar.
      [INFO] Including com.github.fge:json-schema-validator:jar:2.2.6 in the shaded jar.
      [INFO] Including joda-time:joda-time:jar:2.7 in the shaded jar.
      [INFO] Including com.googlecode.libphonenumber:libphonenumber:jar:6.2 in the shaded jar.
      [INFO] Including com.github.fge:json-schema-core:jar:1.2.5 in the shaded jar.
      [INFO] Including com.github.fge:uri-template:jar:0.9 in the shaded jar.
      [INFO] Including com.github.fge:msg-simple:jar:1.1 in the shaded jar.
      [INFO] Including com.github.fge:btf:jar:1.2 in the shaded jar.
      [INFO] Including com.github.fge:jackson-coreutils:jar:1.8 in the shaded jar.
      [INFO] Including org.mozilla:rhino:jar:1.7R4 in the shaded jar.
      [INFO] Including net.sf.jopt-simple:jopt-simple:jar:4.6 in the shaded jar.
      [INFO] Including org.hawkular.inventory:hawkular-inventory-json-helper:jar:1.1.3.Final in the shaded jar.
      [INFO] Including org.hawkular.metrics:hawkular-metrics-clients-common:jar:0.26.0.Final in the shaded jar.
      [INFO] Including org.jgrapht:jgrapht-core:jar:0.9.1 in the shaded jar.
      [INFO] Including org.jolokia:jolokia-client-java:jar:1.3.5 in the shaded jar.
      [INFO] Including com.googlecode.json-simple:json-simple:jar:1.1.1 in the shaded jar.
      [INFO] Including org.apache.httpcomponents:httpclient-osgi:jar:4.3.3 in the shaded jar.
      [INFO] Including commons-codec:commons-codec:jar:1.10 in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-controller:jar:2.0.10.Final in the shaded jar.
      [INFO] Including org.jboss:jboss-dmr:jar:1.3.0.Final in the shaded jar.
      [INFO] Including org.wildfly.security:wildfly-elytron:jar:1.0.2.Final in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-core-security:jar:2.0.10.Final in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-core-security-api:jar:2.0.10.Final in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-version:jar:2.0.10.Final in the shaded jar.
      [INFO] Including org.jboss.modules:jboss-modules:jar:1.5.1.Final in the shaded jar.
      [INFO] Including org.jboss.msc:jboss-msc:jar:1.2.6.Final in the shaded jar.
      [INFO] Including org.jboss.logmanager:jboss-logmanager:jar:2.0.3.Final in the shaded jar.
      [INFO] Including org.jboss:staxmapper:jar:1.2.0.Final in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-controller-client:jar:2.0.10.Final in the shaded jar.
      [INFO] Including org.wildfly.core:wildfly-protocol:jar:2.0.10.Final in the shaded jar.
      [INFO] Including org.jboss.remoting:jboss-remoting:jar:4.0.18.Final in the shaded jar.
      [INFO] Including org.jboss.sasl:jboss-sasl:jar:1.0.5.Final in the shaded jar.
      [INFO] Including org.jboss.xnio:xnio-api:jar:3.3.4.Final in the shaded jar.
      [INFO] Including org.jboss.xnio:xnio-nio:jar:3.3.4.Final in the shaded jar.
      [INFO] Including org.jboss.threads:jboss-threads:jar:2.2.1.Final in the shaded jar.
      [INFO] Including org.jboss.logging:jboss-logging:jar:3.3.0.Final in the shaded jar.
      [INFO] Including org.slf4j:slf4j-nop:jar:1.7.21 in the shaded jar.
      [INFO] Including org.slf4j:slf4j-api:jar:1.7.21 in the shaded jar.
      [INFO] Including commons-logging:commons-logging:jar:1.1.3 in the shaded jar.

              Unassigned Unassigned
              tcunning@redhat.com Thomas Cunningham
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: