[
https://issues.apache.org/jira/browse/MJAVADOC-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896655#comment-17896655
]
Sebastian T commented on MJAVADOC-792:
--------------------------------------
The issue is still present using:
* Java 17 (Temurin 17.0.13+11)
* Maven 3.9.9
* maven-javadoc-plugin 3.11.1
* assertj 3.26.3
Setting
{color:#000000}<{color:#268bd2}validateLinks{color}>false</{color:#268bd2}validateLinks{color}>
{color}has no impact.
The error log is:
{noformat}
Error: 6,371 [INFO] 11:20:36,370 [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.11.1:aggregate
(aggregate-javadocs) on project myproject: An error has occurred in Javadoc
report generation:
Error: 6,371 [INFO] 11:20:36,371 [ERROR] Exit code: 1
Error: 6,371 [INFO] 11:20:36,371 [ERROR] warning: URL
http://www.slf4j.org/apidocs/element-list was redirected to
https://www.slf4j.org/apidocs/element-list -- Update the command-line options
to suppress this warning.
Error: 6,371 [INFO] 11:20:36,371 [ERROR] error: Error fetching URL:
https://assertj.github.io/doc/#assertj-core/apidocs/
(java.io.FileNotFoundException: https://assertj.github.io/doc/package-list)
Error: 6,371 [INFO] 11:20:36,371 [ERROR] 1 error
Error: 6,371 [INFO] 11:20:36,371 [ERROR] 1 warning
Error: 6,371 [INFO] 11:20:36,371 [ERROR] Command line was:
/usr/lib/jvm/temurin-17-jdk-amd64/bin/javadoc -J-Duser.language=
-J-Duser.country= @options @packages
Error: 6,371 [INFO] 11:20:36,371 [ERROR]
Error: 6,371 [INFO] 11:20:36,371 [ERROR] Refer to the generated Javadoc files
in '/home/runner/work/myproject/myproject/target/reports/apidocs' dir.
Error: 6,371 [INFO] 11:20:36,371 [ERROR] -> [Help 1]
Error: 6,371 [INFO] 11:20:36,371 [ERROR]
Error: 6,371 [INFO] 11:20:36,371 [ERROR] To see the full stack trace of the
errors, re-run Maven with the -e switch.
Error: 6,371 [INFO] 11:20:36,371 [ERROR] Re-run Maven using the -X switch to
enable full debug logging.
Error: 6,371 [INFO] 11:20:36,371 [ERROR]
Error: 6,371 [INFO] 11:20:36,371 [ERROR] For more information about the errors
and possible solutions, please read the following articles:
Error: 6,371 [INFO] 11:20:36,371 [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: 6,371 [INFO] 11:20:36,371 [ERROR]
Error: 6,371 [INFO] 11:20:36,371 [ERROR] After correcting the problems, you can
resume the build with the command
Error: 6,371 [INFO] 11:20:36,371 [ERROR] mvn <args> -rf :myproject{noformat}
> Generating Javadoc using <detectLinks> does not work if the project URL
> contains the # character
> ------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-792
> URL: https://issues.apache.org/jira/browse/MJAVADOC-792
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: jar, javadoc
> Affects Versions: 3.6.3
> Reporter: Roman Huber
> Priority: Major
>
> See this issue for a full description:
> [https://github.com/assertj/assertj/issues/3476]
> Maybe the project URL isn't the best choice there, but the Maven Javadoc
> plugin still shouldn't fail the build.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)