Paul Nyheim created MUNIX-47:
--------------------------------

             Summary: Debian packages get wrong version for SNAPSHOTs
                 Key: MUNIX-47
                 URL: https://jira.codehaus.org/browse/MUNIX-47
             Project: Maven 2.x Unix Plugin
          Issue Type: Bug
          Components: deb, maven plugin
    Affects Versions: 1.0-alpha-5
            Reporter: Paul Nyheim


According to the documentation chapter 6.4.1, an artifact with version 
1.2-SNAPSHOT will get the debian version set to 1.2-<timestamp> 

Then if both the 1.2 Release version and the 1.2-<timestamp> version is 
deployed into a repository, the 1.2-<timestamp> version will evaluate as newer 
than the 1.2 Release version - which is exactly the opposite of what we want. 

Instead, the ~ (tilde) separator should be used to indicate that the SNAPSHOT 
is a pre-release version. 

Reference: 
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version 
http://www.debian.org/doc/debian-policy/footnotes.html#f37



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to