[slf4j-dev] [Bug 152] Bundle manifest headers have invalid version specifications in SLF4J version 1 .5.9-RC0
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Wed Nov 11 00:40:34 CET 2009
http://bugzilla.slf4j.org/show_bug.cgi?id=152
--- Comment #4 from Hugues Malphettes <hmalphettes at intalio.com> 2009-11-11 00:40:34 ---
Created an attachment (id=64)
--> (http://bugzilla.slf4j.org/attachment.cgi?id=64)
generate osgi compliant Bundle-Version when version ends with "-SNAPSHOT"
It turns out the ant replace target is not necessary.
In my situation, the MANIFEST.MF needed to be actually complete and valid as it
was used by eclipse-PDE during development.
So the suggested patch consists of:
compute the ${parsedVersion.osgiVersion} in the parent pom.xml
and use it for every manifest:
<manifestEntries>
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
as replacement to
<manifestEntries>
<Bundle-Version>${project.version}</Bundle-Version>
Also, the proposed fix for http://bugzilla.slf4j.org/show_bug.cgi?id=75 is part
of this patch (one line change in
slf4j-api/src/main/resources/META-INF/MANIFEST.MF). Let me know if you want a
new patch without it.
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list