[ 
https://issues.apache.org/jira/browse/FELIX-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517439
 ] 

Stuart McCulloch commented on FELIX-306:
----------------------------------------

This still appears to be an issue with the 1.0.0 release of the bundle-plugin.

If you delegate the version mangling to BND using:

    <Bundle-Version>${project.version}</Bundle-Version>

then it looks ok - perhaps the maven code could delegate to BND? (or look into 
how it does the mangling)

> Bundle plugin is incorrectly converting version numbers
> -------------------------------------------------------
>
>                 Key: FELIX-306
>                 URL: https://issues.apache.org/jira/browse/FELIX-306
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Richard S. Hall
>            Priority: Minor
>
> The bundle plugin appears to be converting version numbers incorrectly. For 
> example:
>     0.9.0-incubator-SNAPSHOT
> Is being converted to:
>     0.9.0.incubator_SNAPSHOT
> Only the first '-' should be converted to a '.' to be compatible with OSGi, 
> the remaining '-' characters to not need to be converted.

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

Reply via email to