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

Plugin not working if project is NOT on %SYSTEMDRIVE%

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.10.4, 3.0.1
    • None
    • javadoc
    • None
    • Windows 7 x64
      Apache Maven 3.5.4

    Description

      If running e.g. mvn javadoc:jar on a project stored on C: (my %SYSTEMDRIVE%) everything works as expected, i.e. the javadoc gets generated and packed into a .jar file.

      If I move the project to a different drive, e.g. D: and run the same javadoc:jar goal, nothing is generated. There is no error printed to console, and the only output is

      \artifact-id-of-application\target\javadoc-bundle-options\javadoc-options-javadoc-resources.xml

      as you can see in the following excerpt:

       [INFO] ----------< my.package.dummy:artifact-id-of-application >-----------
       [INFO] Building Full Application Name 0.0.1-SNAPSHOT                      [5/7]
       [INFO] --------------------------------[ jar ]---------------------------------
       [INFO]
       [INFO] — maven-javadoc-plugin:3.0.1:jar (default-cli) @ artifact-id-of-application —
       [INFO]
       [INFO] --------------< my.package.dummy:dummy-distribution >---------------
       [INFO] Building Distribution Project 0.0.1-SNAPSHOT                       [6/7]
       [INFO] --------------------------------[ pom ]---------------------------------
       [INFO]
       [INFO] — maven-javadoc-plugin:3.0.1:jar (default-cli) @ dummy-distribution —
       [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
       [INFO]
      

      Can anyone reproduce this? Is this a known error?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jejo86 Je Jo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: