[logback-dev] Expanding version99 repository

Robert Elliot rob at lidalia.org.uk
Fri Aug 3 12:23:02 CEST 2012


Hi,

Would there be any appetite for adding other jars to version99.qos.ch?

There are various jars in maven central that are composites of other jars.  Maven's transitive dependency behaviour makes it very difficult to prevent those composite jars creeping on to the classpath, introducing multiple different versions of the same class.  For example, if you want to use hamcrest 1.3 with junit 4.10 you can do so by bringing in junit:junit-dep:4.10 and org.hamcrest:hamcrest-core:1.3; however, it only requires one transitive dependency to bring in junit:junit:4.7 (which combines the classes from junit:junit-dep:4.7 and org.hamcrest:hamcrest-core:1.2) and it's going to be random whether you get the 4.10 or the 4.7 versions of the junit classes and the 1.2 or 1.3 versions of the hamcrest classes.

A junit:junit:99-empty in version99.qos.ch would solve this issue.

Bit cheeky to piggy back on qos.ch, but it would be very useful...


More information about the logback-dev mailing list