You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:49:00 UTC

[jira] (MSHARED-98) Maven2OsgiConverter unnecessarily pads version numbers

     [ https://jira.codehaus.org/browse/MSHARED-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSHARED-98.
---------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

> Maven2OsgiConverter unnecessarily pads version numbers
> ------------------------------------------------------
>
>                 Key: MSHARED-98
>                 URL: https://jira.codehaus.org/browse/MSHARED-98
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-osgi
>            Reporter: Matthew Beermann
>         Attachments: MSHARED-98-maven-osgi.patch, MSHARED-98-maven-osgi.patch
>
>
> In DefaultMavenOsgiConverter#getVersion(), there's logic to the effect of:
>         /* convert
>          * 1.string   -> 1.0.0.string
>          * 1.2.string -> 1.2.0.string
>          * 1          -> 1.0.0
>          * 1.1        -> 1.1.0
>          */
> ...which is unnecessary; the version number only needs to be padded out to three places when there's a qualifier present. 



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)