logging-log4j2
logging-log4j2 copied to clipboard
Sort release 3.x POM files
This PR performs two cleanup actions:
- it moves the
<scope>of dependencies from the<dependencyManagement>and adds it wherever the dependencies are used. This has some beneficial effect: e.g.log4j-apihad a transitive dependency ofjavax.inject:javax.injectin the provided scope because of the interaction betweenmaven-coreand our<dependencyManagement>. Now the dependency is in the test scope. - it uses
src/tools/sort-pom.xsltto sort all dependencies and plugins according to: the scope (import > provided > system > compile > runtime > text), the artifact id (except Log4j2 artifacts which come always first) and group id.
Warning: do not merge, until all dependency scope changes are accounted for.