Why do you say that Maven can't handle 4 part versions? I fixed MNG-3010 near 10 years ago for Maven 3.0.0-alpha-1
this was a versioning limitation removal with enhancement documented in https://cwiki.apache.org/confluence/display/MAVENOLD/Versioning I can tell you that since this fix, it supports an arbitrary count of parts (and resolver's GenericVersionScheme is a little evolution of Maven Artifact's ComparableVersion) Regards, Hervé Le mercredi 10 janvier 2018, 15:07:08 CET Andreas Sewe a écrit : > Fred Cooke wrote: > > Re versions, I know the background on it, but it annoys me that maven > > can't > > handle 4 part versions, 1.2.3.4 as sometimes it's handy to do a patch > > level > > that deep. Lots of messed up software in the world :-) > > Are you sure that's still the case (the parts-restriction, not the > messiness of software ;-)? > > At least the Maven Resolver uses a versioning scheme that's quite > flexible [1]. Not sure if the flexibility at this low level bubbles up > all the way to the top, though. Maybe one the Maven developers can chime in. > > Format should be N[.N as many times as needed][optional hyphen and > > qualifier of some sort] or something like that. Not hard limited to 1 2 or > > 3 parts. > > AFAICT, that's what GenericVersionScheme does. > > Hope this helps, > > Andreas > > [1] > <https://github.com/apache/maven-resolver/blob/3fc53c052f538169cb7dc6aa9ed90 > 52514b569ca/maven-resolver-util/src/main/java/org/eclipse/aether/util/versio > n/GenericVersionScheme.java#L31> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
