You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hannes Wellmann (Jira)" <ji...@apache.org> on 2024/03/17 15:46:00 UTC
[jira] [Comment Edited] (LOGGING-189) 1.3.0 has wrong/dubious imports in OSGi manifest
[ https://issues.apache.org/jira/browse/LOGGING-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827785#comment-17827785 ]
Hannes Wellmann edited comment on LOGGING-189 at 3/17/24 3:45 PM:
------------------------------------------------------------------
I noticed that the import of the {{org.slf4j.spi}} package is missing as well, although it is referenced in {{{}Slf4jLogFactory{}}}.
Created PR [https://github.com/apache/commons-logging/pull/232] to address that as well.
was (Author: hanneswellmann):
I also noticed that also the import of the {{org.slf4j.spi}} package is missing, but it is referenced in Slf4jLogFactory.
Created PR [https://github.com/apache/commons-logging/pull/232] to address that as well.
> 1.3.0 has wrong/dubious imports in OSGi manifest
> ------------------------------------------------
>
> Key: LOGGING-189
> URL: https://issues.apache.org/jira/browse/LOGGING-189
> Project: Commons Logging
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Václav Haisman
> Assignee: Gary D. Gregory
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.3.1
>
>
> Looking through the MANIFEST.MF of the 1.3.0 version, I see the following in Import-Package, which looks wrong:
> {code}
> org.slf4j;version="1.7.0.30";resolution:=optional
> {code}
> This seems to be coming from [pom.xmlhttps://github.com/apache/commons-logging/blob/e0255a5845814802586b91c889ab3e9fc4bf9d68/pom.xml#L741]. This line should have the interval definition instead like
> {code}
> org.slf4j;version="[1.7.0, 3.0)";resolution:=optional
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)