Skip to content

Commit

Permalink
Fix dependencies' scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalijr2 committed Nov 26, 2024
1 parent 1fe0c17 commit 8d0deff
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 107 deletions.
9 changes: 7 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Rename to Mock Loggers
- Add tinylog modules
- Fix dependencies' scopes

## 1.0.0 - 2024-11-13 - Mock Loggers

- Rename to **Mock Loggers**
- Add SLF4J and Apache Commons Logging modules

## 1.1.3 - 2024-11-09
Expand All @@ -34,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Implement jUnit extension.

## 1.0.0 - 2024-07-15
## 1.0.0 - 2024-07-15 - Mock of JDK Platform Logging

- Implement a logger finder.
- Add Javadocs.
27 changes: 10 additions & 17 deletions commons-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,48 +35,41 @@
</plugins>
</build>
<dependencies>
<!-- main -->
<dependency>
<artifactId>annotations</artifactId>
<groupId>org.jetbrains</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
<scope>provided</scope>
<version>1.3.4</version>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.0.0</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
<!-- test -->
<dependency>
<artifactId>hamcrest</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-params</artifactId>
<groupId>org.junit.jupiter</groupId>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>mockito-junit-jupiter</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
</dependencies>
<description>Mock loggers for Apache Commons Logging backed by Mockito.</description>
Expand All @@ -85,7 +78,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.0.0</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down
20 changes: 14 additions & 6 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,35 @@
</plugins>
</build>
<dependencies>
<!-- main -->
<dependency>
<artifactId>annotations</artifactId>
<groupId>org.jetbrains</groupId>
<scope>provided</scope>
</dependency>
<!-- test -->
<dependency>
<artifactId>hamcrest</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-api</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
</dependency>
<dependency>
<artifactId>junit-platform-commons</artifactId>
<groupId>org.junit.platform</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
</dependency>
<dependency>
<artifactId>mockito-junit-jupiter</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
</dependencies>
<description>The observer pattern is implemented here: cleaners subscribe to notifications from a keeper, who sends
Expand All @@ -67,6 +75,6 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.0.0</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
</project>
27 changes: 10 additions & 17 deletions jdk-platform-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,42 +35,35 @@
</plugins>
</build>
<dependencies>
<!-- main -->
<dependency>
<artifactId>annotations</artifactId>
<groupId>org.jetbrains</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.0.0</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
<!-- test -->
<dependency>
<artifactId>hamcrest</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-params</artifactId>
<groupId>org.junit.jupiter</groupId>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>mockito-junit-jupiter</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
</dependencies>
<description>Mock loggers for JDK Platform Logging backed by Mockito.</description>
Expand All @@ -80,7 +73,7 @@
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<relativePath>../pom.xml</relativePath>
<version>1.0.0</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down
39 changes: 19 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,37 +328,24 @@
</ciManagement>
<dependencyManagement>
<dependencies>
<!-- main -->
<dependency>
<artifactId>annotations</artifactId>
<groupId>org.jetbrains</groupId>
<version>26.0.1</version>
</dependency>
<dependency>
<artifactId>junit-jupiter-api</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>provided</scope>
<version>${junit.version}</version>
</dependency>
<dependency>
<artifactId>junit-platform-commons</artifactId>
<groupId>org.junit.platform</groupId>
<scope>provided</scope>
<version>1.11.3</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
<version>${mockito.version}</version>
</dependency>
<!-- test -->
<dependency>
<artifactId>hamcrest</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
<version>3.0</version>
</dependency>
<dependency>
<artifactId>junit-jupiter-api</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>test</scope>
<version>${junit.version}</version>
</dependency>
<dependency>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
Expand All @@ -371,6 +358,18 @@
<scope>test</scope>
<version>${junit.version}</version>
</dependency>
<dependency>
<artifactId>junit-platform-commons</artifactId>
<groupId>org.junit.platform</groupId>
<scope>test</scope>
<version>1.11.3</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>test</scope>
<version>${mockito.version}</version>
</dependency>
<dependency>
<artifactId>mockito-junit-jupiter</artifactId>
<groupId>org.mockito</groupId>
Expand Down Expand Up @@ -536,5 +535,5 @@
<url>https://github.com/vitalijr2/mock-loggers</url>
</scm>
<url>https://github.com/vitalijr2/mock-loggers</url>
<version>1.0.0</version>
<version>1.1.0-SNAPSHOT</version>
</project>
37 changes: 15 additions & 22 deletions slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,48 +35,41 @@
</plugins>
</build>
<dependencies>
<!-- main -->
<dependency>
<artifactId>annotations</artifactId>
<groupId>org.jetbrains</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.0.0</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
<scope>provided</scope>
<version>2.0.16</version>
</dependency>
<!-- test -->
<dependency>
<artifactId>hamcrest</artifactId>
<groupId>org.hamcrest</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>junit-jupiter-params</artifactId>
<groupId>org.junit.jupiter</groupId>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>mockito-junit-jupiter</artifactId>
<groupId>org.mockito</groupId>
</dependency>
<dependency>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
<scope>provided</scope>
<version>2.0.16</version>
</dependency>
</dependencies>
<description>Mock loggers for SLF4J backed by Mockito.</description>
Expand All @@ -85,7 +78,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.0.0</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down
Loading

0 comments on commit 8d0deff

Please sign in to comment.