[jboss-jira] [JBoss JIRA] (AS7-2060) Add correct javaee package version exposed to osgi

Thomas Diesler (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Tue Oct 11 11:08:16 EDT 2011


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

Thomas Diesler edited comment on AS7-2060 at 10/11/11 11:07 AM:
----------------------------------------------------------------

We now explicitly add these capabilities

{code}
<capability name="javax.servlet.api"/>
<capability name="javax.transaction.api"/>
{code}

which have proper version metadata. The general javaee.api capability is gone.

The javax.jms.api is not tested, therefore not added by default.
                
      was (Author: thomas.diesler):
    We now explicitly add these capabilities

{code}
  <capability name="javax.servlet.api"/>
  <capability name="javax.transaction.api"/>
{code}

which have proper version metadata. The general javaee.api capability is gone.

The javax.jms.api is not tested, therefore not added by default.
                  
> Add correct javaee package version exposed to osgi
> --------------------------------------------------
>
>                 Key: AS7-2060
>                 URL: https://issues.jboss.org/browse/AS7-2060
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EE, OSGi
>    Affects Versions: 7.0.2.Final
>            Reporter: Aaron Whiteside
>            Assignee: Thomas Diesler
>             Fix For: 7.1.0.Beta1
>
>
> Currently all packages exported by the module javaee.api to OSGi land are exported with version 0.0.0.
> A lot of existing bundles that use classes/packages from javax.* specify a version, which makes this not work correctly in JBoss 7 AS.
> This makes bundles that depend on for example: javax.jms;version=1.1 not work.
> The correct version information should be exported by the javaee.api bundle. Because at the moment it's pretty much useless with the existing libraries/bundles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list