Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-813

[REGRESSION] The given File link: X is not a dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 3.10.0
    • None
    • javadoc
    • None

    Description

      Given:

      <offlineLinks>
        <offlineLink>
          <url>https://cowwoc.github.io/requirements.java/${project.version}/docs/api/</url>
          <location>${rootBaseDir}/java/target/apidocs/</location>
        </offlineLink>
      </offlineLinks>

       
       
      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:
       
       

      [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.  

       
      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.

      Attachments

        1. javadoc-test.zip
          2 kB
          Gili

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              cowwoc Gili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: