This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new 67c9cdf8b8 Fix apidocs site build: exclude Maven plugins, update JDK
link to 17
67c9cdf8b8 is described below
commit 67c9cdf8b885e8c19b3a9f3afdadabbb948d249b
Author: Robert Lazarski <[email protected]>
AuthorDate: Mon Apr 20 14:42:20 2026 -1000
Fix apidocs site build: exclude Maven plugins, update JDK link to 17
Remove Maven plugin modules (aar, mar, java2wsdl, wsdl2code, repo,
xsd2java, simple-server, ant) from the aggregated Javadoc. Their Mojo
sources import Maven API classes not on the Javadoc classpath, causing
unresolvable symbol errors. Plugin Javadoc belongs in each plugin's
own site, not the aggregated API docs.
Update JDK Javadoc link from Java 7 to Java 17 (the minimum supported
version). Oracle redirects the old Java 7 URL which causes Javadoc
link resolution failures.
---
apidocs/pom.xml | 48 ++++++------------------------------------------
1 file changed, 6 insertions(+), 42 deletions(-)
diff --git a/apidocs/pom.xml b/apidocs/pom.xml
index 957dae5a7a..a8054337f7 100644
--- a/apidocs/pom.xml
+++ b/apidocs/pom.xml
@@ -149,47 +149,11 @@
<artifactId>axis2-xmlbeans</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-aar-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-ant-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- Eclipse/IDEA plugin deps removed: AXIS2-6105 -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-mar-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-repo-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>axis2-xsd2java-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>simple-server-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
+ <!-- Maven plugin modules excluded from aggregated Javadoc:
+ Their Mojo source imports Maven API classes
(org.apache.maven.project,
+ org.apache.maven.execution, etc.) that are not on the Javadoc
classpath,
+ causing unresolvable symbol errors. These are developer tools, not
+ user-facing API — their Javadoc belongs in each plugin's own
site. -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>axis2-transport-base</artifactId>
@@ -290,7 +254,7 @@
<additionalJOption>-J-Xmx256m</additionalJOption>
<detectJavaApiLink>false</detectJavaApiLink>
<links>
- <link>https://docs.oracle.com/javase/7/docs/api/</link>
+
<link>https://docs.oracle.com/en/java/javase/17/docs/api/</link>
<link>http://ws.apache.org/axiom/apidocs/</link>
</links>
<includeDependencySources>true</includeDependencySources>