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

"No source files for package" in a directory with accent characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.0, 3.1.1, 3.2.0
    • 3.3.0
    • javadoc
    • None
    • Operating System: Windows 7
      Java: OracleJDK12
      Maven: 3.6.1

    Description

       

      Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the following error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.1:javadoc (default-cli) on project foo: An error has occurred in Javadoc report generation:
      [ERROR] Exit code: 2 - javadoc: error - No source files for package foo.bar
      [ERROR]
      [ERROR] Command line was: "C:\Program Files\Java\jdk-12\bin\javadoc.exe" @options @packages
      [ERROR]
      [ERROR] Refer to the generated Javadoc files in 'D:\é\foo\target\site\apidocs' dir.

      In a directory named "D:\e\foo", the same command does not produce any error.

      The bug does not affect Apache Maven Javadoc Plugin 3.0.1.

      Attachments

        1. options(3.0.1)
          0.3 kB
          Alexis Jehan
        2. packages(3.0.1)
          0.0 kB
          Alexis Jehan
        3. packages
          0.0 kB
          Alexis Jehan
        4. options
          0.4 kB
          Alexis Jehan

        Issue Links

          Activity

            People

              elharo Elliotte Rusty Harold
              alexisj Alexis Jehan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m