Emmanuel Lécharny created DIRMINA-1194:
------------------------------------------
Summary: Remove the Javadoc <links> to Java which breaks the mavn
site run
Key: DIRMINA-1194
URL: https://issues.apache.org/jira/browse/DIRMINA-1194
Project: MINA
Issue Type: Task
Affects Versions: 2.2.8
Reporter: Emmanuel Lécharny
The Javadoc plugin configuration contains a _<links>_ section referring to an
antiquated Java version (1.5). It causes the _mvn site_ build to fail with the
error:
{code:java}
[ERROR] error: Unexpected redirection for URL
http://java.sun.com/j2se/1.5.0/docs/api/element-list to
https://docs.oracle.com/en/java/javase/26/
{code}
We need to remove this link:
{code:java}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.javadoc.plugin}</version>
<inherited>false</inherited>
<configuration>
<breakiterator>true</breakiterator>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<windowtitle>Apache MINA ${project.version} API
Documentation</windowtitle>
<doctitle>Apache MINA ${project.version} API Documentation</doctitle>
<encoding>UTF-8</encoding>
<excludePackageNames>*.example.*</excludePackageNames>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
<link>http://www.slf4j.org/api/</link>
</links>
...
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]