From: Olivier Lamy Date: Sun, 9 Sep 2012 15:37:27 +0000 (+0000) Subject: [MRM-1660] use log4j 2.x done for testing webapp js X-Git-Tag: archiva-1.4-M3~279 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b3f857bd37d08caf3fa2de5b26ff8d5a32401829;p=archiva.git [MRM-1660] use log4j 2.x done for testing webapp js git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382517 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-cli/pom.xml b/archiva-cli/pom.xml index 5c6206475..22addc40c 100644 --- a/archiva-cli/pom.xml +++ b/archiva-cli/pom.xml @@ -48,6 +48,16 @@ org.apache.archiva archiva-converter + + + commons-logging + commons-logging-api + + + log4j + log4j + + org.apache.maven.wagon @@ -75,13 +85,13 @@ spring-beans - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl compile - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api compile diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml index 96381164a..935e2ef20 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml @@ -45,6 +45,16 @@ org.apache.archiva archiva-repository-layer + + + log4j + log4j + + + commons-logging + commons-logging-api + + org.apache.archiva diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml index 70175cc5e..337abd043 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml @@ -49,6 +49,16 @@ org.apache.archiva archiva-repository-layer + + + commons-logging + commons-logging-api + + + log4j + log4j + + org.apache.archiva diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml index 686319b32..b561f7225 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml @@ -44,6 +44,12 @@ org.apache.archiva archiva-scheduler-indexing + + + commons-logging + commons-logging-api + + org.slf4j @@ -103,6 +109,10 @@ commons-logging commons-logging + + org.slf4j + jcl-over-slf4j + diff --git a/archiva-modules/archiva-base/archiva-converter/pom.xml b/archiva-modules/archiva-base/archiva-converter/pom.xml index 24095f6e6..578e92396 100644 --- a/archiva-modules/archiva-base/archiva-converter/pom.xml +++ b/archiva-modules/archiva-base/archiva-converter/pom.xml @@ -40,6 +40,16 @@ org.apache.archiva archiva-repository-layer + + + commons-logging + commons-logging-api + + + log4j + log4j + + org.apache.archiva diff --git a/archiva-modules/archiva-base/archiva-model/pom.xml b/archiva-modules/archiva-base/archiva-model/pom.xml index bca357ae3..49c1d6dd2 100755 --- a/archiva-modules/archiva-base/archiva-model/pom.xml +++ b/archiva-modules/archiva-base/archiva-model/pom.xml @@ -48,8 +48,8 @@ test - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl runtime diff --git a/archiva-modules/archiva-base/archiva-policies/pom.xml b/archiva-modules/archiva-base/archiva-policies/pom.xml index 2cd0db978..9873046c3 100644 --- a/archiva-modules/archiva-base/archiva-policies/pom.xml +++ b/archiva-modules/archiva-base/archiva-policies/pom.xml @@ -87,8 +87,8 @@ test - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl runtime diff --git a/archiva-modules/archiva-base/archiva-proxy-common/pom.xml b/archiva-modules/archiva-base/archiva-proxy-common/pom.xml index e0eb5f3a7..ab26f1050 100644 --- a/archiva-modules/archiva-base/archiva-proxy-common/pom.xml +++ b/archiva-modules/archiva-base/archiva-proxy-common/pom.xml @@ -59,7 +59,7 @@ commons-logging - commons-logging-api + commons-logging org.apache.archiva diff --git a/archiva-modules/archiva-base/archiva-proxy/pom.xml b/archiva-modules/archiva-base/archiva-proxy/pom.xml index 16a4e5ba3..75f22e52a 100644 --- a/archiva-modules/archiva-base/archiva-proxy/pom.xml +++ b/archiva-modules/archiva-base/archiva-proxy/pom.xml @@ -36,6 +36,16 @@ org.apache.archiva archiva-repository-layer + + + log4j + log4j + + + commons-logging + commons-logging-api + + org.apache.archiva @@ -48,6 +58,12 @@ org.apache.archiva archiva-proxy-common + + + commons-logging + commons-logging-api + + commons-io diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml index 66660f8db..dee96f39b 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml @@ -65,6 +65,10 @@ aopalliance aopalliance + + log4j + log4j + @@ -168,8 +172,8 @@ test - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api test @@ -204,8 +208,8 @@ - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl test diff --git a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml index c8ef219a0..9c4468784 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml @@ -79,6 +79,16 @@ org.apache.archiva maven2-repository + + + commons-logging + commons-logging-api + + + log4j + log4j + + org.apache.maven.wagon diff --git a/archiva-modules/archiva-base/archiva-transaction/pom.xml b/archiva-modules/archiva-base/archiva-transaction/pom.xml index 23d87993a..e2cc4ef32 100644 --- a/archiva-modules/archiva-base/archiva-transaction/pom.xml +++ b/archiva-modules/archiva-base/archiva-transaction/pom.xml @@ -58,9 +58,9 @@ test - org.slf4j - jcl-over-slf4j - runtime + org.apache.logging.log4j + log4j-jcl + compile diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml index 2d3a1a2b5..e3a4a4b7f 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml @@ -64,6 +64,12 @@ org.apache.archiva archiva-proxy-common + + + commons-logging + commons-logging-api + + org.springframework @@ -87,8 +93,8 @@ - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api test diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml index 25238293e..fc3195e1c 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml @@ -80,6 +80,16 @@ org.apache.archiva archiva-repository-layer test + + + commons-logging + commons-logging-api + + + log4j + log4j + + org.slf4j diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml index d584e4fb2..77f970c04 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml @@ -60,6 +60,12 @@ org.apache.archiva archiva-scheduler-indexing + + + commons-logging + commons-logging-api + + org.apache.archiva @@ -165,6 +171,10 @@ aopalliance aopalliance + + log4j + log4j + @@ -251,8 +261,8 @@ - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api test @@ -263,8 +273,8 @@ - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl test @@ -296,6 +306,10 @@ commons-logging commons-logging + + org.slf4j + jcl-over-slf4j + diff --git a/archiva-modules/archiva-web/archiva-rss/pom.xml b/archiva-modules/archiva-web/archiva-rss/pom.xml index ec3cb4cbd..fba754aaa 100644 --- a/archiva-modules/archiva-web/archiva-rss/pom.xml +++ b/archiva-modules/archiva-web/archiva-rss/pom.xml @@ -63,8 +63,8 @@ test - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl test diff --git a/archiva-modules/archiva-web/archiva-web-common/pom.xml b/archiva-modules/archiva-web/archiva-web-common/pom.xml index 6ed1f7cf3..8b114b1b7 100644 --- a/archiva-modules/archiva-web/archiva-web-common/pom.xml +++ b/archiva-modules/archiva-web/archiva-web-common/pom.xml @@ -135,8 +135,8 @@ test - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api test diff --git a/archiva-modules/archiva-web/archiva-webapp-js/pom.xml b/archiva-modules/archiva-web/archiva-webapp-js/pom.xml index a95fb6670..1e47e168f 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-js/pom.xml @@ -129,6 +129,10 @@ commons-logging commons-logging + + org.slf4j + jcl-over-slf4j + @@ -209,6 +213,16 @@ org.apache.archiva maven2-repository + + + commons-logging + commons-logging-api + + + log4j + log4j + + @@ -267,6 +281,12 @@ org.apache.archiva archiva-proxy + + + commons-logging + commons-logging-api + + org.apache.maven.wagon @@ -511,6 +531,10 @@ javax.servlet servlet-api + + org.slf4j + jcl-over-slf4j + @@ -522,6 +546,10 @@ javax.transaction jta + + log4j + log4j + @@ -536,6 +564,10 @@ ehcache ehcache + + log4j + log4j + @@ -610,13 +642,18 @@ redback-integrations-security - org.slf4j - slf4j-log4j12 + commons-logging + commons-logging + runtime + + + org.apache.logging.log4j + log4j12-api runtime - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl runtime diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/test/tomcat/log4j2-test.xml b/archiva-modules/archiva-web/archiva-webapp-js/src/test/tomcat/log4j2-test.xml new file mode 100644 index 000000000..7d28f9c63 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/test/tomcat/log4j2-test.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp-test-js/pom.xml b/archiva-modules/archiva-web/archiva-webapp-test-js/pom.xml index 5366a91f2..815f00741 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test-js/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-test-js/pom.xml @@ -107,13 +107,13 @@ - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index cce6e90d1..e255b5fcc 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -111,6 +111,12 @@ org.apache.archiva archiva-proxy + + + commons-logging + commons-logging-api + + org.apache.archiva @@ -312,8 +318,8 @@ - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api runtime @@ -555,6 +561,12 @@ org.apache.archiva archiva-webdav + + + org.slf4j + jcl-over-slf4j + + org.apache.archiva @@ -662,10 +674,8 @@ commons-logging - commons-logging-api - 1.1 - - provided + commons-logging + runtime @@ -740,6 +750,10 @@ commons-logging commons-logging + + org.slf4j + jcl-over-slf4j + @@ -774,6 +788,12 @@ org.apache.archiva maven2-repository + + + log4j + log4j + + org.mockito @@ -794,6 +814,10 @@ javax.transaction jta + + log4j + log4j + @@ -808,6 +832,10 @@ ehcache ehcache + + log4j + log4j + diff --git a/archiva-modules/archiva-web/archiva-webdav/pom.xml b/archiva-modules/archiva-web/archiva-webdav/pom.xml index f1ba0a44b..8003245d3 100644 --- a/archiva-modules/archiva-web/archiva-webdav/pom.xml +++ b/archiva-modules/archiva-web/archiva-webdav/pom.xml @@ -64,10 +64,22 @@ org.apache.archiva archiva-repository-layer + + + log4j + log4j + + org.apache.archiva archiva-proxy + + + commons-logging + commons-logging-api + + org.apache.archiva @@ -80,6 +92,12 @@ org.apache.jackrabbit jackrabbit-webdav + + + org.slf4j + jcl-over-slf4j + + joda-time @@ -193,6 +211,12 @@ org.apache.archiva archiva-repository-admin-default test + + + log4j + log4j + + org.apache.archiva.redback diff --git a/archiva-modules/plugins/maven2-repository/pom.xml b/archiva-modules/plugins/maven2-repository/pom.xml index bf1cafbb3..2747ef877 100644 --- a/archiva-modules/plugins/maven2-repository/pom.xml +++ b/archiva-modules/plugins/maven2-repository/pom.xml @@ -47,6 +47,12 @@ org.apache.archiva archiva-proxy-common + + + commons-logging + commons-logging-api + + org.sonatype.sisu @@ -62,7 +68,7 @@ commons-logging - commons-logging-api + commons-logging test @@ -133,6 +139,10 @@ aopalliance aopalliance + + log4j + log4j + diff --git a/archiva-modules/plugins/metadata-store-file/pom.xml b/archiva-modules/plugins/metadata-store-file/pom.xml index 026551815..93fcfcbab 100644 --- a/archiva-modules/plugins/metadata-store-file/pom.xml +++ b/archiva-modules/plugins/metadata-store-file/pom.xml @@ -62,8 +62,8 @@ test - commons-logging - commons-logging-api + org.apache.logging.log4j + log4j-jcl test diff --git a/archiva-modules/plugins/metadata-store-jcr/pom.xml b/archiva-modules/plugins/metadata-store-jcr/pom.xml index 5e0950e0f..ac07043de 100644 --- a/archiva-modules/plugins/metadata-store-jcr/pom.xml +++ b/archiva-modules/plugins/metadata-store-jcr/pom.xml @@ -67,6 +67,10 @@ commons-logging commons-logging + + org.slf4j + jcl-over-slf4j + diff --git a/archiva-modules/plugins/npanday-support/pom.xml b/archiva-modules/plugins/npanday-support/pom.xml index c7e46ec70..3492c0ed8 100644 --- a/archiva-modules/plugins/npanday-support/pom.xml +++ b/archiva-modules/plugins/npanday-support/pom.xml @@ -32,6 +32,16 @@ org.apache.archiva maven2-repository + + + log4j + log4j + + + commons-logging + commons-logging-api + + org.springframework diff --git a/archiva-modules/plugins/repository-statistics/pom.xml b/archiva-modules/plugins/repository-statistics/pom.xml index eee8231ed..4c32130a3 100644 --- a/archiva-modules/plugins/repository-statistics/pom.xml +++ b/archiva-modules/plugins/repository-statistics/pom.xml @@ -36,6 +36,16 @@ org.apache.archiva maven2-repository + + + commons-logging + commons-logging-api + + + log4j + log4j + + org.slf4j @@ -56,14 +66,20 @@ test - org.slf4j - jcl-over-slf4j + org.apache.logging.log4j + log4j-jcl test org.apache.jackrabbit jackrabbit-core test + + + org.slf4j + jcl-over-slf4j + + org.mockito diff --git a/archiva-modules/plugins/stage-repository-merge/pom.xml b/archiva-modules/plugins/stage-repository-merge/pom.xml index e1b188e43..8a8adb65f 100644 --- a/archiva-modules/plugins/stage-repository-merge/pom.xml +++ b/archiva-modules/plugins/stage-repository-merge/pom.xml @@ -46,6 +46,16 @@ org.apache.archiva maven2-repository + + + log4j + log4j + + + commons-logging + commons-logging-api + + org.apache.archiva @@ -66,8 +76,8 @@ test - org.slf4j - slf4j-log4j12 + org.apache.logging.log4j + log4j12-api test diff --git a/pom.xml b/pom.xml index 154284c4d..8db3d5986 100644 --- a/pom.xml +++ b/pom.xml @@ -74,6 +74,7 @@ 2.0-SNAPSHOT 2.0-SNAPSHOT 1.7.0 + 2.0-alpha2 3.1.2.RELEASE @@ -701,11 +702,6 @@ jstl 1.1.2 - - log4j - log4j - 1.2.17 - org.apache.archiva archiva-lucene-consumers @@ -1155,12 +1151,6 @@ slf4j-api ${slf4j.version} - - org.slf4j - jcl-over-slf4j - ${slf4j.version} - runtime - org.slf4j slf4j-jdk14 @@ -1179,6 +1169,44 @@ ${slf4j.version} runtime + + + commons-logging + commons-logging + 1.1.1 + + + + org.apache.logging.log4j + log4j-core + ${log4j.version} + runtime + + + org.apache.logging.log4j + log4j + ${log4j.version} + runtime + + + org.apache.logging.log4j + slf4j-impl + ${log4j.version} + runtime + + + org.apache.logging.log4j + log4j-jcl + ${log4j.version} + runtime + + + org.apache.logging.log4j + log4j12-api + ${log4j.version} + runtime + + taglibs standard @@ -1500,7 +1528,6 @@ org.codehaus.plexus:plexus-quartz org.codehaus.plexus:plexus-spring org.codehaus.redback:plexus-spring - commons-logging:commons-logging org.slf4j:jcl104-over-slf4j velocity:velocity-dep velocity:velocity @@ -1522,6 +1549,15 @@ org.codehaus.plexus.registry:plexus-registry-api org.codehaus.plexus.registry:plexus-registry-commons org.codehaus.plexus:plexus-taskqueue + + + commons-logging:commons-logging-api + log4j:log4j + org.slf4j:jcl-over-slf4j + org.slf4j:slf4j-log4j12 + + +