2 Replies Latest reply on Aug 7, 2018 12:41 PM by Laird Nelson

    Standalone Narayana: spurious dependency?

    Laird Nelson Apprentice

      Hello; I continue to play around with Narayana in a CDI 2.0 SE environment (i.e. no app server, no JNDI, etc.).

       

      I noticed that the narayana-jta artifact brings in a JCA dependency.  Here's part of the output from mvn dependency:tree:

       

      \- org.jboss.narayana.jta:narayana-jta:jar:5.9.0.Final:compile

         +- org.jboss:jboss-transaction-spi:jar:7.6.0.Final:compile

         \- org.jboss.spec.javax.resource:jboss-connector-api_1.7_spec:jar:1.0.0.Final:compile

       

      JTA in general doesn't require these classes, right?  Is this compile-time (and therefore also runtime) dependency intentional?

       

      Anyway, just wanted to get a sense of what would go boom if I exclude this.  Nothing seems to break for normal JTA use cases.

       

      Best,

      Laird