Skip to content

Commit

Permalink
Add the Bill of Materials module
Browse files Browse the repository at this point in the history
* Add the Bill of Materials module
* Add the Bill of Materials module
* Update ChangeLog
  • Loading branch information
vitalijr2 authored Jan 6, 2025
1 parent 9606ad0 commit cb45424
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 15 deletions.
72 changes: 72 additions & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<artifactId>mock-loggers-bom</artifactId>
<dependencyManagement>
<dependencies>
<dependency>
<artifactId>mock-loggers-commons-logging</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<scope>test</scope>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<scope>test</scope>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mock-loggers-jdk-platform-logging</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<scope>test</scope>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mock-loggers-slf4j</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<scope>test</scope>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mock-loggers-tinylog-provider</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<scope>test</scope>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mock-loggers-tinylog-writer</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<scope>test</scope>
<version>1.2.0-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
<description>Bill of materials for Mock Loggers</description>
<modelVersion>4.0.0</modelVersion>
<name>Mock Loggers (Bill of Materials)</name>
<packaging>pom</packaging>
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
<build>
<plugins>
<plugin>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>bom</flattenMode>
</configuration>
<groupId>org.codehaus.mojo</groupId>
</plugin>
</plugins>
</build>
<id>release</id>
</profile>
</profiles>
<version>1.2.0-SNAPSHOT</version>
</project>
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Added

- BOM module

## 1.1.1 - 2025-01-02 - Modules

### Added
Expand Down
5 changes: 3 additions & 2 deletions commons-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
Expand All @@ -73,7 +73,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down Expand Up @@ -121,4 +121,5 @@
<properties>
<commons-logging.version>1.3.4</commons-logging.version>
</properties>
<version>1.2.0-SNAPSHOT</version>
</project>
3 changes: 2 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand All @@ -84,4 +84,5 @@
<id>prepare-and-check</id>
</profile>
</profiles>
<version>1.2.0-SNAPSHOT</version>
</project>
5 changes: 3 additions & 2 deletions jdk-platform-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
Expand All @@ -68,7 +68,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down Expand Up @@ -97,4 +97,5 @@
<id>run-its</id>
</profile>
</profiles>
<version>1.2.0-SNAPSHOT</version>
</project>
13 changes: 9 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${java.version}</release>
<showDeprecation>true</showDeprecation>
<source>${java.version}</source>
<target>${java.version}</target>
<showDeprecation>true</showDeprecation>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<version>3.13.0</version>
Expand Down Expand Up @@ -246,6 +246,11 @@
<groupId>org.apache.maven.plugins</groupId>
<version>3.5.2</version>
</plugin>
<plugin>
<artifactId>semver-maven-plugin</artifactId>
<groupId>io.github.q3769</groupId>
<version>20240116.0.202411140438</version>
</plugin>
<plugin>
<artifactId>sign-maven-plugin</artifactId>
<groupId>org.simplify4u.plugins</groupId>
Expand Down Expand Up @@ -369,6 +374,7 @@
</licenses>
<modelVersion>4.0.0</modelVersion>
<modules>
<module>bom</module>
<module>commons-logging</module>
<module>core</module>
<module>jdk-platform-logging</module>
Expand All @@ -390,11 +396,11 @@
<configuration>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<excludeTransitiveDependencies>true</excludeTransitiveDependencies>
<excludedGroups>io\.github\.vitalijr2\.logging</excludedGroups>
<excludedScopes>test</excludedScopes>
<excludes>
<exclude>**/package-info.java</exclude>
</excludes>
<excludedGroups>io\.github\.vitalijr2\.logging</excludedGroups>
<inceptionYear>${project.inceptionYear}</inceptionYear>
<!-- @formatter:off -->
<licenseMerges>
Expand Down Expand Up @@ -430,7 +436,6 @@
<skipCheckLicense>true</skipCheckLicense>
</configuration>
<groupId>org.codehaus.mojo</groupId>
<version>2.5.0</version>
</plugin>
</plugins>
</build>
Expand Down Expand Up @@ -537,5 +542,5 @@
<url>https://github.com/vitalijr2/mock-loggers</url>
</scm>
<url>https://github.com/vitalijr2/mock-loggers</url>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</project>
5 changes: 3 additions & 2 deletions slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
Expand All @@ -73,7 +73,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down Expand Up @@ -121,4 +121,5 @@
<properties>
<slf4j.version>2.0.16</slf4j.version>
</properties>
<version>1.2.0-SNAPSHOT</version>
</project>
5 changes: 3 additions & 2 deletions tinylog-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
Expand All @@ -78,7 +78,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down Expand Up @@ -126,4 +126,5 @@
<properties>
<tinylog.version>2.7.0</tinylog.version>
</properties>
<version>1.2.0-SNAPSHOT</version>
</project>
5 changes: 3 additions & 2 deletions tinylog-writer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<dependency>
<artifactId>mock-loggers-core</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
Expand Down Expand Up @@ -83,7 +83,7 @@
<parent>
<artifactId>mock-loggers</artifactId>
<groupId>io.github.vitalijr2.logging</groupId>
<version>1.1.1</version>
<version>1.2.0-SNAPSHOT</version>
</parent>
<profiles>
<profile>
Expand Down Expand Up @@ -131,4 +131,5 @@
<properties>
<tinylog.version>2.7.0</tinylog.version>
</properties>
<version>1.2.0-SNAPSHOT</version>
</project>

0 comments on commit cb45424

Please sign in to comment.