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

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

commit ad69f635dec677eca11e8dc4d46f0f9229e5f534
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Sun Apr 19 12:14:28 2026 +0200

    Fix javadoc cross links
---
 pom.xml                                          |  4 ++--
 src/changelog/.2.x.x/4099_javadoc-cross-link.xml | 12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1b4e5c92d3..87123ce437 100644
--- a/pom.xml
+++ b/pom.xml
@@ -688,11 +688,11 @@
               <offlineLinks>
                 <link>
                   
<url>https://logging.apache.org/log4j/2.x/javadoc/log4j-api</url>
-                  
<location>${maven.multiModuleProjectDirectory}/log4j-api/target/site/apidocs/</location>
+                  
<location>${maven.multiModuleProjectDirectory}/log4j-api/target/reports/apidocs/</location>
                 </link>
                 <link>
                   
<url>https://logging.apache.org/log4j/2.x/javadoc/log4j-core</url>
-                  
<location>${maven.multiModuleProjectDirectory}/log4j-core/target/site/apidocs/</location>
+                  
<location>${maven.multiModuleProjectDirectory}/log4j-core/target/reports/apidocs/</location>
                 </link>
               </offlineLinks>
             </configuration>
diff --git a/src/changelog/.2.x.x/4099_javadoc-cross-link.xml 
b/src/changelog/.2.x.x/4099_javadoc-cross-link.xml
new file mode 100644
index 0000000000..6f90e7ba2a
--- /dev/null
+++ b/src/changelog/.2.x.x/4099_javadoc-cross-link.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="https://logging.apache.org/xml/ns";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="
+           https://logging.apache.org/xml/ns
+           https://logging.apache.org/xml/ns/log4j-changelog-0.xsd";
+       type="fixed">
+  <issue id="4099" 
link="https://github.com/apache/logging-log4j2/issues/4099"/>
+  <description format="asciidoc">
+    Javadoc references across module boundaries (i.e., cross-references) are 
fixed
+  </description>
+</entry>

Reply via email to