Gili created MJAVADOC-813:
-----------------------------

             Summary: [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


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)

Reply via email to