...
| Is this... | older than...? | Maven 2.0.9 | Maven 2.2.1 | Maven 3.0.3 |
|---|---|---|---|---|
| 0.0-r1 | 0.0-r2 | yes | yes | yes |
| 0.0-r123 | 0.0-r456 | yes | yes | yes |
| 0.0-r20 | 0.0-r123 | NO | NO | yes |
| 0.0-1 | 0.0-2 | yes | yes | yes |
| 0.0-123 | 0.0-456 | yes | yes | yes |
| 0.0-20 | 0.0-123 | yes | yes | yes |
Maven 2.x will treat any version string party containing non-numeric characters as an opaque string, sorted lexicographically. Maven 3.x correctly splits version strings at letter-number boundaries. Both 2.x and 3.x behave correctly when the version string does not mix numbers and letters.