maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Beermann (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MSHARED-98) Maven2OsgiConverter unnecessarily pads version numbers
Date Tue, 14 Apr 2009 20:16:12 GMT

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

Matthew Beermann updated MSHARED-98:
------------------------------------

    Attachment: MSHARED-98-maven-osgi.patch

> Maven2OsgiConverter unnecessarily pads version numbers
> ------------------------------------------------------
>
>                 Key: MSHARED-98
>                 URL: http://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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message