[jbossts-issues] [JBoss JIRA] (JBTM-2692) Narayana OSGi bundle is missing optional packages

Guillaume Nodet (JIRA) issues at jboss.org
Fri Jun 17 12:36:00 EDT 2016


Guillaume Nodet created JBTM-2692:
-------------------------------------

             Summary: Narayana OSGi bundle is missing optional packages
                 Key: JBTM-2692
                 URL: https://issues.jboss.org/browse/JBTM-2692
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
    Affects Versions: 5.3.3.Final
            Reporter: Guillaume Nodet


The problem is that the annotations on @Transactional are lost, which makes this annotation unusable in a CDI environment.

Patch below:
{code}
diff --git a/osgi/jta/pom.xml b/osgi/jta/pom.xml
index 87d32c5..cd68637 100644
--- a/osgi/jta/pom.xml
+++ b/osgi/jta/pom.xml
@@ -206,6 +206,9 @@
                                                   org.apache.felix.service.command,
                                                   org.apache.karaf.shell.api.action,
                                                   org.apache.karaf.shell.api.action.lifecycle,
+                                                  javax.enterprise.util;resolution:=optional,
+                                                  javax.interceptor;resolution:=optional
+                                                  javax.enterprise.context;resolution:=optional
                                           </Import-Package>
                                           <Embed-Transitive>true</Embed-Transitive>
                                           <Embed-Dependency>
{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list