[logback-dev] [JIRA] Resolved: (LBCLASSIC-119) Missing Export-Package declarations in logback-classic OSGi bundle

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Sun Nov 8 20:59:44 CET 2009


     [ http://jira.qos.ch/browse/LBCLASSIC-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu resolved LBCLASSIC-119.
----------------------------------

    Resolution: Duplicate

This issue looks very much like a duplicate of LBCLASSIC-165

> Missing Export-Package declarations in logback-classic OSGi bundle
> ------------------------------------------------------------------
>
>                 Key: LBCLASSIC-119
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-119
>             Project: logback-classic
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 0.9.15
>         Environment: OSGi environment
>            Reporter: Pavol Juhos
>            Assignee: Ceki Gulcu
>            Priority: Critical
>
> logback-classic OSGi bundle doesn't export logback implementation packages. These packages need to be imported by bundles implementing custom logback Appenders etc.
> The problem is most likely caused a misconfiguration of maven-bundle-plugin in logback-classic POM. Current configuration:
>           <instructions>
>             <Export-Package>ch.qos.logback.classic.*</Export-Package>
>             <Export-Package>org.slf4j.impl;version=1.5.6</Export-Package>
>             <Import-Package>sun.reflect;resolution:=optional,
>                             javax.jms;resolution:=optional, 
>                             *
>             </Import-Package>
>             <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
>           </instructions>
> Suggested configuration:
>           <instructions>
>             <Export-Package>ch.qos.logback.classic.*,
>                             org.slf4j.impl;version=1.5.6
>             </Export-Package>
>             <Import-Package>sun.reflect;resolution:=optional,
>                             javax.jms;resolution:=optional, 
>                             *
>             </Import-Package>
>             <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
>           </instructions>
> Second Export-Package declaration seems to override the first one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list