[jboss-dev-forums] [Design of JBoss Build System] - Re: Maven Version ranges - The version format

heiko.braun@jboss.com do-not-reply at jboss.com
Thu Apr 3 04:39:57 EDT 2008


Another useful pick from "BetterBuildsWithMaven":

anonymous wrote : 
  | With regard to ordering, the elements are considered in sequence to determine which is newer - first
  | by major version, second - if the major versions were equal - by minor version, third by bug fix version,
  | fourth by qualifier (using string comparison), and finally, by build number. A version that contains a
  | qualifier is older than a version without a qualifier; for example, 1.2-beta is older than version 1.2. A
  | version that also contains a build number is considered newer than a version without a build number;
  | for example, 1.2-beta-1 is newer than 1.2-beta. In some cases, the versions will not match this syntax.
  | In those cases, the two versions are compared entirely as strings.
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141200#4141200

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141200



More information about the jboss-dev-forums mailing list