Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330681 - jetty-util's MANIFEST requires slf4j-1.5 and prevents using slf4j 1.6
Summary: jetty-util's MANIFEST requires slf4j-1.5 and prevents using slf4j 1.6
Status: RESOLVED WORKSFORME
Alias: None
Product: Jetty
Classification: RT
Component: osgi (show other bugs)
Version: 7.2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.1.x   Edit
Assignee: Hugues Malphettes CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 11:32 EST by Hugues Malphettes CLA
Modified: 2010-11-19 11:45 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugues Malphettes CLA 2010-11-19 11:32:35 EST
This MANIFEST is generated by BND.
By default BND will reflect quite strictly the compilation environment so we end-up with:
Import-Package: org.slf4j.api;version=[1.5,1.6)

The fix consists of adding an instruction to BND so that it generate a more lenient version range.
Comment 1 Hugues Malphettes CLA 2010-11-19 11:39:28 EST
The corresponding CQ to publish this approved library is 4647.
Comment 2 Hugues Malphettes CLA 2010-11-19 11:45:05 EST
Well, in fact it is already the case with version 7.2 of jetty:
 <instructions>
  <Import-Package>org.slf4j;version="[1.5,1.7)";resolution:=optional,*</Import-Package>
 </instructions>

Sorry for the noise