Commit c644005
committed
Handle jcl-over-slf4j and commons-logging better
Various dependencies we manage use commons-logging. While SLF4J is
preferred these days, it would be disruptive to exclude the
commons-logging dependency from all the managed artifacts that depend
on it, expecting all downstream consumers to know they should add
jcl-over-slf4j manually to their dependencies instead -- especially
since commons-logging includes some API not present in jcl-over-slf4j.
Better to allow the commons-logging dependencies to appear transitively,
and instead exclude jcl-over-slf4j from the one managed dependency
(jackrabbit-webdav) we have that (IMHO erroneously) depends on it.
Then, downstream projects that want to use jcl-over-slf4j instead can
themselves add it and exclude commons-logging.
See also: http://www.slf4j.org/legacy.html#jcl-over-slf4j1 parent a37ac8b commit c644005
1 file changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
| 1140 | + | |
1140 | 1141 | | |
1141 | 1142 | | |
1142 | 1143 | | |
| |||
2941 | 2942 | | |
2942 | 2943 | | |
2943 | 2944 | | |
2944 | | - | |
2945 | | - | |
2946 | | - | |
2947 | | - | |
2948 | | - | |
2949 | | - | |
2950 | 2945 | | |
2951 | 2946 | | |
2952 | 2947 | | |
| |||
3410 | 3405 | | |
3411 | 3406 | | |
3412 | 3407 | | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
3413 | 3420 | | |
3414 | 3421 | | |
3415 | 3422 | | |
| |||
3900 | 3907 | | |
3901 | 3908 | | |
3902 | 3909 | | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
3903 | 3915 | | |
3904 | 3916 | | |
3905 | 3917 | | |
| |||
0 commit comments