You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/09/23 08:08:00 UTC

[jira] [Comment Edited] (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=17883764#comment-17883764 ] 

Michael Osipov edited comment on MJAVADOC-813 at 9/23/24 8:07 AM:
------------------------------------------------------------------

Please provide the full command line. That is very likely expected.


was (Author: michael-o):
Please provide the full command line.

> [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
>            Priority: Major
>             Fix For: wontfix-candidate, waiting-for-feedback
>
>
> 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)