Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11146

org.apache.activemq.artemis.journal module should not depend on org.apache.activemq.artemis

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 14.0.0.Final
    • Fix Version/s: None
    • Component/s: JMS
    • Labels:
      None

      Description

      While looking at Weld dependency, Jean-Francois found the dependency chain:

      /org.jboss.as.weld/org.jboss.weld.core/javax.ejb.api/javax.rmi.api/javax.orb.api/org.wildfly.iiop-openjdk/org.jboss.jts/org.apache.activemq.artemis.journal/org.apache.activemq.artemis

      org.jboss.jts dependency to org.apache.activemq.artemis.journal is correct as Naryana uses Artemis journal for its transaction log.

      However org.apache.activemq.artemis.journal should not depend on org.apache.activemq.artemis. It depends on it for the artemis-commons jar (as explained in https://github.com/wildfly/wildfly/blob/47b1db08fadb745706df7ba411db4f7252d5dd04/feature-pack/src/main/resources/modules/system/layers/base/org/apache/activemq/artemis/journal/main/module.xml#L38-L41 but code should be refactored so that this dependency is no longer required).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ehugonnet Emmanuel Hugonnet
                  Reporter:
                  jmesnil Jeff Mesnil
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: