« Return to Thread: Artifact Version Comparison

RE: Artifact Version Comparison

by Brian E Fox :: Rate this Message:

Reply to Author | View in Thread

What's the impact to existing builds. My initial reaction is no-way in 2.0.x.

-----Original Message-----
From: Hervé BOUTEMY [mailto:herve.boutemy@...]
Sent: Thursday, May 01, 2008 4:07 PM
To: Maven Developers List
Subject: Artifact Version Comparison

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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: Artifact Version Comparison