felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From René Zanner (JIRA) <j...@apache.org>
Subject [jira] Created: (FELIX-831) bndlib unnecessary modifies valid OSGi Bundle-Version numbers (update to bndlib 0.0.293)
Date Thu, 20 Nov 2008 16:34:44 GMT
bndlib unnecessary modifies valid OSGi Bundle-Version numbers (update to bndlib 0.0.293)

                 Key: FELIX-831
                 URL: https://issues.apache.org/jira/browse/FELIX-831
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-1.4.3
            Reporter: René Zanner

The current release of the plugin uses bndlib version 0.0.255.

In this version there is a bug converting valid OSGi Bundle-Version values to a different

A short summary: In my company we have a unusual versioning scheme - here is one example:

in development cycles extended by -SNAPSHOT: Both versions are -
from the point of view of the OSGi spec - a valid Bundle-Version value (see the API here:

In spite of this fact the maven-bundle-plugin (resp. bndlib) converts it to

or - when using -SNAPSHOT - 1.3.0.SNAPSHOT. 

I already asked Peter Kriens to fix that and he quickly came up with a fix (version 0.0.293,
to be downloaded from http://www.aqute.biz/repo/biz/aQute/bndlib/0.0.293/bndlib-0.0.293.jar).

I tried to replace the bndlib dependency with the new version. Unfortunately there seems to
have been a significant change in the API of bndlib:

java.lang.NoClassDefFoundError: aQute/lib/reporter/Reporter
	at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:360)
	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:273)
	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:218)

Since it's not acceptable that a valid Bundle-Version is modified and I cannot use the most
current version of bndlib, I ask you to update the maven-bundle-plugin to use a newer version
of bndlib to fix the bug I mentioned above.

Thank you!



This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message