[ 
https://issues.apache.org/jira/browse/FELIX-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart McCulloch closed FELIX-960.
----------------------------------

    Resolution: Invalid

This is working as designed, the OSGi version format is specified as:

   <major>.<minor>.<micro>.<qualifier>

where major, minor and micro are numbers and qualifier is alphanumeric

Maven versions and any other non-OSGi formatted versions are automatically
converted into the correct format where necessary, so in this particular case

   5.1.mystring   =>   5.1.0.mystring 

because 5.1.mystring is not a valid OSGi version, whereas 5.1.0.mystring is

> The maven bundle plugin seems to insist on 3 digits being set for version 
> numbers
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-960
>                 URL: https://issues.apache.org/jira/browse/FELIX-960
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-1.4.3
>            Reporter: Eamonn Dwyer
>
> If I set a version to be
> 5.1.mystring
> the generated bundle will use a version value
> 5.1.0.mystring
> That is it automatically inserts an extra 0 into the manifest file of my 
> bundle if 3 digits have not been set.
> If I set it to 
> 5.1.1.mystring
> then generated bundle will use a version value
> 5.1.1.mystring
> It just seems to be a problem when I dont specify 3 digits

-- 
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