Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7381

maven-bundle-plugin does not support short jndi names for JPA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.0
    • fuse-7.0
    • Aries, Karaf
    • None
    • % %
    • Fuse 7.0 Sprint 21

      Budle-maven-plugin generate incorrect Require-Capability from persistance.xml if is used the following syntax:

      persistence.xml
      <persistence-unit>
          <jta-data-source>osgi:service/jdbc/h2DS</jta-data-source>
      </persistence-unit>
      
      MANIFEST.MF
      Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
       ,osgi.service;effective:=active;objectClass=jdbc;filter:=h2DS,osgi.ex
       tender;osgi.extender="aries.jpa",osgi.service;effective:=active;objec
       tClass="javax.transaction.TransactionManager"
      

      This is regression

              Unassigned Unassigned
              tturek@redhat.com Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: