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

Bug 353210

Summary: Bundle-Version for org.eclipse.jetty.osgi.boot.logback is not correct
Product: [RT] Jetty Reporter: Christian Brensing <christian.brensing>
Component: osgiAssignee: Jesse McConnell <jesse.mcconnell>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: jesse.mcconnell, jetty-inbox
Version: 7.4.5   
Target Milestone: 7.5.x   
Hardware: All   
OS: All   
Whiteboard:

Description Christian Brensing CLA 2011-07-27 10:05:27 EDT
Build Identifier: 7.4.5.v20110725

The Bundle-Version for org.eclipse.jetty.osgi.boot.logback is set to 7.3.1.qualifier and should be 7.4.5.v20110725. This minimal typo error is present since version 7.4.0. This happens because the placeholder version to be replaced during the build is not the same as the one in the MANIFEST.MF (see line #66 of the prokect pom.xml).


Reproducible: Always
Comment 1 Jesse McConnell CLA 2011-07-27 10:14:19 EDT
thanks for reporting this, I'll take care of it now
Comment 2 Jesse McConnell CLA 2011-07-27 10:23:10 EDT
Christian, the way I see the build working this is an issue for all the jetty-osgi modules, right?
Comment 3 Jesse McConnell CLA 2011-07-27 10:39:20 EDT
[master 9b4ab80] [Bug 353210] align bundle version in MANIFEST.MF
Comment 4 Christian Brensing CLA 2011-07-28 06:45:22 EDT
(In reply to comment #2)
> Christian, the way I see the build working this is an issue for all the
> jetty-osgi modules, right?
Yes, the token replacement is a little error prone. I would suggest creating the bundle manifest as well as the final jar artifact using the maven-bundle-plugin from Apache Felix (http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html).