This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch doc-installation
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/doc-installation by this push:
new 89a866d93f Add snapshots section
89a866d93f is described below
commit 89a866d93fd8108ef0dbdc239b8f6aaab6603eae
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Wed Apr 17 11:38:33 2024 +0200
Add snapshots section
---
.../modules/ROOT/pages/manual/installation.adoc | 44 ++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/src/site/antora/modules/ROOT/pages/manual/installation.adoc
b/src/site/antora/modules/ROOT/pages/manual/installation.adoc
index 5be10b763f..9b186f77e3 100644
--- a/src/site/antora/modules/ROOT/pages/manual/installation.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/installation.adoc
@@ -136,6 +136,50 @@ Once you import the BOM, you don't need to explicitly
provide the versions of th
In the rest of the explanations, we will assume that the Log4j BOM is imported.
+[#snapshots]
+=== Using snapshots
+
+[%collapsible]
+.Do you want to test the latest (**unstable!**) development version? Click
here details.
+====
+
+You can access the latest development snapshots by using the
`https://repository.apache.org/snapshots` repository.
+
+[WARNING]
+=====
+Snapshots are published for development and testing purposes; **they should
not be used at production!**
+=====
+
+[tabs]
+=====
+Maven::
++
+[source,xml]
+----
+<repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+</repositories>
+----
+
+Gradle::
++
+[source,groovy]
+----
+repositories {
+ mavenCentral()
+ maven { url 'https://repository.apache.org/snapshots' }
+}
+----
+=====
+====
+
[#api]
== Installing Log4j API