[
https://issues.jboss.org/browse/JBTM-2184?page=com.atlassian.jira.plugin....
]
Andrew Rubinger commented on JBTM-2184:
---------------------------------------
Well, the missing dependency bit I qualify simply based on importing
"org.jboss.narayana.jta:narayana-jta"; if this has classes that call out into
jboss-transaction-spi and that's not a transitive dependency of narayana-jta, this is
missing, correct? Unless you have some mechanism in place where some code paths have
optional dependencies?
So: *if* my issue above is valid and jboss-transaction-spi should be a transitive, runtime
(or compile-time) dependency of narayana-jta, I'd suggest we add it as Step 1.
And regarding Maven Central: again *if* this issue is valid, then any dependencies of a
project in Central must also be in Central, as this remote repo is intended to be a
complete repository. That's according to Sonatype rules and, if I'm remembering
correctly, should be enforced by our Nexus installation when we go to promote/release
builds.
NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
-----------------------------------------------------------------
Key: JBTM-2184
URL:
https://issues.jboss.org/browse/JBTM-2184
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: JTA
Affects Versions: 5.0.1
Reporter: Andrew Rubinger
Assignee: Tom Jenkinson
Looks like Narayana is missing a dependency, as this isn't brought in transitively:
{code}java.lang.NoClassDefFoundError: org/jboss/tm/FirstResource
at
com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.order(XAResourceRecord.java:139)
at
com.arjuna.ats.arjuna.coordinator.AbstractRecord.orderEquals(AbstractRecord.java:663)
at com.arjuna.ats.arjuna.coordinator.AbstractRecord.equals(AbstractRecord.java:227)
at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:379)
at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:144)
at com.arjuna.ats.arjuna.coordinator.BasicAction.add(BasicAction.java:307)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:647){code}
I'm also not finding the 7.x series of jboss-transaction-spi in Maven Central; is
this intended?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)