This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch dependabot/maven/org.apache.logging-logging-parent-12.1.0 in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git
commit fac8e4d03003938520fe5bccc9f15f2b279e67be Author: Piotr P. Karwasz <pkarwasz-git...@apache.org> AuthorDate: Wed Apr 9 10:15:48 2025 +0200 Add ASF Snapshots repo by default --- log4j-samples-flume-embedded/pom.xml | 2 +- pom.xml | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/log4j-samples-flume-embedded/pom.xml b/log4j-samples-flume-embedded/pom.xml index fcf9f0e..ea18632 100644 --- a/log4j-samples-flume-embedded/pom.xml +++ b/log4j-samples-flume-embedded/pom.xml @@ -1,4 +1,4 @@ -m <?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more ~ contributor license agreements. See the NOTICE file distributed with diff --git a/pom.xml b/pom.xml index 0733662..6028256 100644 --- a/pom.xml +++ b/pom.xml @@ -276,6 +276,24 @@ </dependencies> </dependencyManagement> + <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> <pluginManagement> @@ -334,7 +352,6 @@ <activation> <property> <name>log4j.repository.url</name> - <value>!</value> </property> </activation> @@ -353,7 +370,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>