This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/2.21.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 7f5db1ba98dcc7e11f8aa6623caed67a03684e1a
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Fri Oct 6 09:47:29 2023 +0200

    Remove unpublished modules from BOM
---
 log4j-parent/pom.xml | 16 ++++++++++++++++
 pom.xml              | 12 ------------
 2 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/log4j-parent/pom.xml b/log4j-parent/pom.xml
index bd197f90a4..f214f91847 100644
--- a/log4j-parent/pom.xml
+++ b/log4j-parent/pom.xml
@@ -154,6 +154,22 @@
   <dependencyManagement>
     <dependencies>
 
+      <!-- BEGIN: Modules that are not published (and hence missing in the 
BOM) -->
+
+      <dependency>
+        <groupId>org.apache.logging.log4j</groupId>
+        <artifactId>log4j-osgi</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.apache.logging.log4j</groupId>
+        <artifactId>log4j-layout-template-json-test</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+
+      <!-- END: Modules that are not published (and hence missing in the BOM) 
-->
+
       <dependency>
         <groupId>org.ow2.asm</groupId>
         <artifactId>asm-bom</artifactId>
diff --git a/pom.xml b/pom.xml
index de9a2eb9f8..7f6051a211 100644
--- a/pom.xml
+++ b/pom.xml
@@ -587,12 +587,6 @@
         <version>${project.version}</version>
       </dependency>
 
-      <dependency>
-        <groupId>org.apache.logging.log4j</groupId>
-        <artifactId>log4j-layout-template-json-test</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-
       <dependency>
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-mongodb3</artifactId>
@@ -605,12 +599,6 @@
         <version>${project.version}</version>
       </dependency>
 
-      <dependency>
-        <groupId>org.apache.logging.log4j</groupId>
-        <artifactId>log4j-osgi</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-
       <dependency>
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-slf4j2-impl</artifactId>

Reply via email to