You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2016/11/02 13:09:58 UTC

[jira] [Created] (FELIX-5393) [maven-bundle-plugin] Wrong Require-Capability generated for JPA

Balazs Zsoldos created FELIX-5393:
-------------------------------------

             Summary: [maven-bundle-plugin] Wrong Require-Capability generated for JPA
                 Key: FELIX-5393
                 URL: https://issues.apache.org/jira/browse/FELIX-5393
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-3.2.0
            Reporter: Balazs Zsoldos


The following MANIFEST entry is created for JPA:

{code}
Require-Capability: osgi.extender;osgi.extender=aries.jpa
{code}

This is wrong as every extender will satisfy the requirement in the system. Instead, the following snippet should be generated:

{code}
Require-Capability: osgi.extender;filter:="osgi.extender=aries.jpa"
{code}

I have just checked, and I think that the issue comes from _jpa.xsl_:

{code}
<xsl:if test="$jpa-implementation = 'aries'">
    <xsl:text>
        Require-Capability: osgi.extender;osgi.extender=aries.jpa
    </xsl:text>
</xsl:if>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)