[jboss-jira] [JBoss JIRA] (JBEE-160) jboss-transaction-api OSGi bundle requiring optional packages

Brett Meyer (JIRA) issues at jboss.org
Fri Jan 8 20:28:00 EST 2016


    [ https://issues.jboss.org/browse/JBEE-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146689#comment-13146689 ] 

Brett Meyer commented on JBEE-160:
----------------------------------

[~smarlow], yep.  Above <Export-Package>, add something like the following:

{code}
<Import-Package>
    javax.enterprise.context;resolution:=optional,
    *
</Import-Package>
{code}

If you could give that a shot, built the jar, and paste the Manifest.MF here, more than happy to verify it.

> jboss-transaction-api OSGi bundle requiring optional packages
> -------------------------------------------------------------
>
>                 Key: JBEE-160
>                 URL: https://issues.jboss.org/browse/JBEE-160
>             Project: JBoss JavaEE Spec APIs
>          Issue Type: Bug
>            Reporter: Brett Meyer
>            Assignee: Scott Marlow
>
> The jboss-transaction-api_1.2_spec OSGi bundle requires the 'javax.enterprise.context'.  Instead, that should be optional, right?  cdi-api shouldn't be required to simply use jta.  Thanks!



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


More information about the jboss-jira mailing list