Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337337

Summary: jetty-all-server aggregate's MANIFEST.MF is wrong
Product: [RT] Jetty Reporter: Hugues Malphettes <hmalphettes>
Component: osgiAssignee: Hugues Malphettes <hmalphettes>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: jetty-inbox
Version: 7.2.2   
Target Milestone: 7.2.x   
Hardware: PC   
OS: All   
Whiteboard:

Description Hugues Malphettes CLA 2011-02-16 12:05:06 EST
jetty-all-server cannot be used in an OSGi runtime:
The Import-Package generated is incorrect:

Import-Package: com.sun.org.apache.commons.logging;resolution:=optiona
 l;split=glassfish;version="[2.1,3)",javax.mail;resolution:=optional;v
 ersion="1.4.0",javax.mail.event;version="1.4.0";resolution:=optional,
 javax.mail.internet;version="1.4.0";resolution:=optional,javax.mail.s
 earch;version="1.4.0";resolution:=optional,javax.mail.util;version="1
 .4.0";resolution:=optional,javax.net.ssl,javax.security.auth.message;
 resolution:="optional                            *";version="[1.0,2)"
 ,javax.security.auth.message.callback;resolution:="optional          
...
Comment 1 Hugues Malphettes CLA 2011-02-16 12:06:17 EST
Thanks to Dmytro for reporting this bug and the fix.
The pom.xml lacked a comma in the BND instructions.

I have fixed this issue on the 11 of Feb. It will be packaged in the 7.3.1 version of jetty.