Kenney started a proposal http://docs.codehaus.org/display/MAVEN/Versioning 
with a implementation of a comparator.

I took his implementation, updated it to support comparison between more 
version schemes and integrated it to DefaultArtifactVersion class. The code 
is here http://svn.apache.org/viewvc/maven/artifact/branches/MNG-3010/, with 
unit test showing version schemes in action:
http://svn.apache.org/viewvc/maven/artifact/branches/MNG-3010/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

I think the new ordering will give better results than the current one and 
would like to merge it to artifact trunk and 2.0.x branch. Before doing so, I 
submit the code for review: any comments?

regards,

Hervé

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to