Skip to content

Commit

Permalink
remove slf4j implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
baev committed Jun 8, 2015
1 parent 57a1beb commit 4f83b9e
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 31 deletions.
9 changes: 9 additions & 0 deletions allure-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,26 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
9 changes: 3 additions & 6 deletions allure-java-adaptor-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,21 @@
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-commons</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-model</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
3 changes: 0 additions & 3 deletions allure-java-adaptor-api/src/test/resources/log4j.properties

This file was deleted.

9 changes: 9 additions & 0 deletions allure-java-aspects/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,22 @@
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
3 changes: 2 additions & 1 deletion allure-junit-adaptor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
Expand Down
10 changes: 9 additions & 1 deletion allure-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,24 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
3 changes: 0 additions & 3 deletions allure-model/src/main/resources/log4j.properties

This file was deleted.

21 changes: 12 additions & 9 deletions allure-report-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@
</build>

<dependencies>
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-commons</artifactId>
</dependency>
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-report-plugin-api</artifactId>
</dependency>

<!--Logging-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-commons</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
</exclusion>
</exclusions>
</dependency>

<!--Jackson dependencies for serialize to JSON-->
Expand Down Expand Up @@ -161,18 +161,21 @@
<version>18.0</version>
</dependency>


<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
3 changes: 0 additions & 3 deletions allure-report-data/src/main/resources/log4j.properties

This file was deleted.

4 changes: 4 additions & 0 deletions allure-testng-adaptor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-java-aspects</artifactId>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
Expand Down
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -332,27 +332,29 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.10</version>
<artifactId>slf4j-api</artifactId>
<version>1.7.12</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.7.12</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down

0 comments on commit 4f83b9e

Please sign in to comment.