Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2692

Narayana OSGi bundle is missing optional packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.3.4.Final
    • 5.3.3.Final
    • None
    • None

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

      Patch below:

      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>
      

              zfeng@redhat.com Zheng Feng
              g_nodet Guillaume Nodet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: