Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5734

The plugin generates wrong service requirements when using a jndi name in jpa

    XMLWordPrintableJSON

Details

    Description

      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"
      

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            gnodet Guillaume Nodet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: