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

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


The following commit(s) were added to refs/heads/master by this push:
     new cd429a2f1c INFRA-23225 Provide deployment repository for log4j-bom.
cd429a2f1c is described below

commit cd429a2f1c13eb8c103753f5a810934728b5d66b
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue May 10 09:02:41 2022 +0200

    INFRA-23225 Provide deployment repository for log4j-bom.
---
 .github/workflows/build.yml |  1 -
 log4j-bom/pom.xml           | 11 +++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e14acf5aae..29002bae83 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -115,7 +115,6 @@ jobs:
         # INFRA-23225 `log4j-bom` is excluded due to 401 errors.
         run: |
           ./mvnw \
-            -pl '!log4j-bom' \
             --show-version --batch-mode --errors --no-transfer-progress \
             -Dgpg.skip=true \
             -DskipTests=true \
diff --git a/log4j-bom/pom.xml b/log4j-bom/pom.xml
index 9d10988fec..85d170331e 100644
--- a/log4j-bom/pom.xml
+++ b/log4j-bom/pom.xml
@@ -29,6 +29,17 @@
   <artifactId>log4j-bom</artifactId>
   <version>3.0.0-SNAPSHOT</version>
   <packaging>pom</packaging>
+
+  <!-- `log4j-bom` doesn't inherit from the room POM, but 
`org.apache.logging:logging-parent`.
+       Hence Maven repositories need to be explicitly provided here one more 
time for SNAPSHOT artifact deployments. -->
+  <distributionManagement>
+    <snapshotRepository>
+      <id>asf-snapshots</id>
+      <name>ASF snapshot repository</name>
+      <url>https://repository.apache.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+
   <properties>
     <!-- reproducible build setting -->
     <project.build.outputTimestamp>10</project.build.outputTimestamp>

Reply via email to