From b3f857bd37d08caf3fa2de5b26ff8d5a32401829 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 9 Sep 2012 15:37:27 +0000 Subject: [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 --- .../archiva-rest/archiva-rest-services/pom.xml | 22 +++++-- archiva-modules/archiva-web/archiva-rss/pom.xml | 4 +- .../archiva-web/archiva-web-common/pom.xml | 4 +- .../archiva-web/archiva-webapp-js/pom.xml | 45 ++++++++++++-- .../src/test/tomcat/log4j2-test.xml | 72 ++++++++++++++++++++++ .../archiva-web/archiva-webapp-test-js/pom.xml | 8 +-- archiva-modules/archiva-web/archiva-webapp/pom.xml | 40 ++++++++++-- archiva-modules/archiva-web/archiva-webdav/pom.xml | 24 ++++++++ 8 files changed, 197 insertions(+), 22 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-webapp-js/src/test/tomcat/log4j2-test.xml (limited to 'archiva-modules/archiva-web') 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 -- cgit v1.2.3