You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (Jira)" <ji...@apache.org> on 2024/09/24 21:42:00 UTC
[jira] [Commented] (MJAVADOC-813) [REGRESSION] The given File link: X is not a dir
[ https://issues.apache.org/jira/browse/MJAVADOC-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884449#comment-17884449 ]
Gili commented on MJAVADOC-813:
-------------------------------
Hi Michael,
Reading through the release notes and issue you linked to, it's still not obvious to me where it's announced that the default output directory moved to *${project.build.directory}/reports* but, regardless, it worked. Thank you very much. You can close this issue now.
> [REGRESSION] The given File link: X is not a dir
> ------------------------------------------------
>
> Key: MJAVADOC-813
> URL: https://issues.apache.org/jira/browse/MJAVADOC-813
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: javadoc
> Affects Versions: 3.10.0
> Reporter: Gili
> Assignee: Michael Osipov
> Priority: Major
> Attachments: javadoc-test.zip
>
>
> Given:
> {noformat}
> <offlineLinks>
> <offlineLink>
> <url>https://cowwoc.github.io/requirements.java/${project.version}/docs/api/</url>
> <location>${rootBaseDir}/java/target/apidocs/</location>
> </offlineLink>
> </offlineLinks>{noformat}
>
>
> Running the "attach-javadocs" goal works fine in version 3.8.0 but if I update to version 3.10.0 the execution fails with:
>
>
> {noformat}
> [ERROR] The given File link: C:\Users\Gili\Documents\requirements.java\guava\..\java\target\apidocs is not a dir.
> [ERROR] Error fetching link: C:\Users\Gili\Documents\requirements.java\guava/../java/target/apidocs/. Ignored it. {noformat}
>
> Under version 3.8.0 the target/apidocs directory is created and the javadoc is generated. Under version 3.10.0 the error is thrown and the apidocs directory is never created.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)