From 4f83b9e6d2ce9d788372ca08ba8bc93e62fcd57b Mon Sep 17 00:00:00 2001 From: Dmitry Baev Date: Tue, 9 Jun 2015 01:53:26 +0300 Subject: [PATCH] remove slf4j implementations --- allure-commons/pom.xml | 9 ++++++++ allure-java-adaptor-api/pom.xml | 9 +++----- .../src/test/resources/log4j.properties | 3 --- allure-java-aspects/pom.xml | 9 ++++++++ allure-junit-adaptor/pom.xml | 3 ++- allure-model/pom.xml | 10 ++++++++- .../src/main/resources/log4j.properties | 3 --- allure-report-data/pom.xml | 21 +++++++++++-------- .../src/main/resources/log4j.properties | 3 --- allure-testng-adaptor/pom.xml | 4 ++++ pom.xml | 12 ++++++----- 11 files changed, 55 insertions(+), 31 deletions(-) delete mode 100644 allure-java-adaptor-api/src/test/resources/log4j.properties delete mode 100644 allure-model/src/main/resources/log4j.properties delete mode 100644 allure-report-data/src/main/resources/log4j.properties diff --git a/allure-commons/pom.xml b/allure-commons/pom.xml index c3ee31b7..18e204b3 100644 --- a/allure-commons/pom.xml +++ b/allure-commons/pom.xml @@ -19,17 +19,26 @@ commons-io commons-io + + org.slf4j + slf4j-nop + + + org.mockito mockito-all + test org.hamcrest hamcrest-all + test junit junit + test diff --git a/allure-java-adaptor-api/pom.xml b/allure-java-adaptor-api/pom.xml index 46bd2c9a..8c579cf2 100644 --- a/allure-java-adaptor-api/pom.xml +++ b/allure-java-adaptor-api/pom.xml @@ -28,24 +28,21 @@ ru.yandex.qatools.allure allure-commons test - - - ru.yandex.qatools.allure - allure-model - - junit junit + test org.hamcrest hamcrest-all + test org.mockito mockito-all + test diff --git a/allure-java-adaptor-api/src/test/resources/log4j.properties b/allure-java-adaptor-api/src/test/resources/log4j.properties deleted file mode 100644 index 5253470a..00000000 --- a/allure-java-adaptor-api/src/test/resources/log4j.properties +++ /dev/null @@ -1,3 +0,0 @@ -log4j.rootCategory=ERROR, console -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout \ No newline at end of file diff --git a/allure-java-aspects/pom.xml b/allure-java-aspects/pom.xml index d58d03f3..918fdbdf 100644 --- a/allure-java-aspects/pom.xml +++ b/allure-java-aspects/pom.xml @@ -26,13 +26,22 @@ aspectjrt ${aspectj.version} + + + + org.slf4j + slf4j-nop + test + junit junit + test org.mockito mockito-all + test diff --git a/allure-junit-adaptor/pom.xml b/allure-junit-adaptor/pom.xml index 78250e60..16b45ac4 100644 --- a/allure-junit-adaptor/pom.xml +++ b/allure-junit-adaptor/pom.xml @@ -18,15 +18,16 @@ junit junit - compile org.hamcrest hamcrest-all + test org.mockito mockito-all + test ru.yandex.qatools.allure diff --git a/allure-model/pom.xml b/allure-model/pom.xml index eef6e9d8..e46f47fd 100644 --- a/allure-model/pom.xml +++ b/allure-model/pom.xml @@ -73,16 +73,24 @@ org.slf4j - slf4j-log4j12 + slf4j-api + + + org.slf4j + slf4j-nop + test + org.mockito mockito-all + test junit junit + test diff --git a/allure-model/src/main/resources/log4j.properties b/allure-model/src/main/resources/log4j.properties deleted file mode 100644 index 5253470a..00000000 --- a/allure-model/src/main/resources/log4j.properties +++ /dev/null @@ -1,3 +0,0 @@ -log4j.rootCategory=ERROR, console -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout \ No newline at end of file diff --git a/allure-report-data/pom.xml b/allure-report-data/pom.xml index 7cacaece..8b9453c4 100644 --- a/allure-report-data/pom.xml +++ b/allure-report-data/pom.xml @@ -105,19 +105,19 @@ - - ru.yandex.qatools.allure - allure-commons - ru.yandex.qatools.allure allure-report-plugin-api - - - org.slf4j - slf4j-log4j12 + ru.yandex.qatools.allure + allure-commons + + + org.slf4j + slf4j-nop + + @@ -161,18 +161,21 @@ 18.0 - + junit junit + test org.hamcrest hamcrest-all + test org.mockito mockito-all + test diff --git a/allure-report-data/src/main/resources/log4j.properties b/allure-report-data/src/main/resources/log4j.properties deleted file mode 100644 index 5253470a..00000000 --- a/allure-report-data/src/main/resources/log4j.properties +++ /dev/null @@ -1,3 +0,0 @@ -log4j.rootCategory=ERROR, console -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout \ No newline at end of file diff --git a/allure-testng-adaptor/pom.xml b/allure-testng-adaptor/pom.xml index 1f19c7a6..484e308c 100644 --- a/allure-testng-adaptor/pom.xml +++ b/allure-testng-adaptor/pom.xml @@ -21,13 +21,17 @@ ru.yandex.qatools.allure allure-java-aspects + + org.hamcrest hamcrest-all + test org.mockito mockito-all + test ru.yandex.qatools.allure diff --git a/pom.xml b/pom.xml index 0d8fad4c..05811063 100644 --- a/pom.xml +++ b/pom.xml @@ -332,27 +332,29 @@ org.slf4j - slf4j-log4j12 - 1.7.10 + slf4j-api + 1.7.12 + + + org.slf4j + slf4j-nop + 1.7.12 junit junit 4.12 - test org.mockito mockito-all 1.10.19 - test org.hamcrest hamcrest-all 1.3 - test