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

pkarwasz pushed a commit to branch 
dependabot/maven/log4j-samples-graalvm/org.apache.logging-logging-parent-12.1.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git

commit 684f83ceb2130f49c4ea82a811d03590babb5b9f
Author: Piotr P. Karwasz <pkarwasz-git...@apache.org>
AuthorDate: Wed Apr 9 10:29:02 2025 +0200

    Add Apache Snapshots repository
---
 log4j-samples-graalvm/pom.xml | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/log4j-samples-graalvm/pom.xml b/log4j-samples-graalvm/pom.xml
index f133c32..0d5d4a5 100644
--- a/log4j-samples-graalvm/pom.xml
+++ b/log4j-samples-graalvm/pom.xml
@@ -150,6 +150,24 @@
 
   </dependencies>
 
+  <repositories>
+    <!--
+      ~ The repository that contains the requested Log4j version.
+      ~
+      ~ By default, we use Apache Snapshots.
+      ~ An alternative repository is defined in the `staging-repo` profile.
+      -->
+    <!-- The repository that contains the requested Log4j version -->
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>log4j-repo</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/snapshots</url>
+    </repository>
+  </repositories>
+
   <build>
     <plugins>
 
@@ -674,7 +692,6 @@
       <activation>
         <property>
           <name>log4j.repository.url</name>
-          <value>!</value>
         </property>
       </activation>
 
@@ -693,7 +710,7 @@
           <snapshots>
             <enabled>false</enabled>
           </snapshots>
-          <id>log4j-staging</id>
+          <id>log4j-repo</id>
           <name>Log4j Staging Repository</name>
           <url>${log4j.repository.url}</url>
         </repository>

Reply via email to