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

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 808272fc63 ARTEMIS-4478: have the docs reference the version used by 
the release
808272fc63 is described below

commit 808272fc631b5f9edf5529c678a3db9889e9a4da
Author: Robbie Gemmell <[email protected]>
AuthorDate: Tue Nov 7 12:12:14 2023 +0000

    ARTEMIS-4478: have the docs reference the version used by the release
---
 artemis-website/pom.xml       | 5 ++++-
 docs/user-manual/logging.adoc | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/artemis-website/pom.xml b/artemis-website/pom.xml
index 7d3edab596..3e5c39de02 100644
--- a/artemis-website/pom.xml
+++ b/artemis-website/pom.xml
@@ -374,7 +374,6 @@
                         <sectnums />
                         <idprefix />
                         <idseparator>-</idseparator>
-                        <project-version>${project.version}</project-version>
                         <nofooter>true</nofooter>
                         <linkcss>true</linkcss>
                         <iconfont-remote>false</iconfont-remote>
@@ -383,6 +382,10 @@
                         <prewrap>false</prewrap>
                         <!-- enable "experimental" for keyboard macros - 
https://docs.asciidoctor.org/asciidoc/latest/macros/keyboard-macro/ -->
                         <experimental>true</experimental>
+
+                        <!-- Version substitution attributes -->
+                        <project-version>${project.version}</project-version>
+                        <log4j-version>${log4j.version}</log4j-version>
                      </attributes>
                   </configuration>
                </plugin>
diff --git a/docs/user-manual/logging.adoc b/docs/user-manual/logging.adoc
index 47137b1924..a6c737c740 100644
--- a/docs/user-manual/logging.adoc
+++ b/docs/user-manual/logging.adoc
@@ -78,7 +78,7 @@ Taking Log4J2 as an example logging implementation, since it 
used by the broker,
 <dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-slf4j2-impl</artifactId>
-   <version>2.19.0</version>
+   <version>{log4j-version}</version>
 </dependency>
 ----
 

Reply via email to