[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17262869#comment-17262869 ] Christopher Tubbs commented on MJAVADOC-614: This issue is marked as "Fixed", but it has no associated "fixVersion" in JIRA. In which version will this be fixed? > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1, 3.2.0 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > Time Spent: 20m > Remaining Estimate: 0h > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17069396#comment-17069396 ] Hudson commented on MJAVADOC-614: - Build succeeded in Jenkins: Maven TLP » maven-javadoc-plugin » master #106 See https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master/106/ > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1, 3.2.0 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > Time Spent: 20m > Remaining Estimate: 0h > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066195#comment-17066195 ] Michael Miller commented on MJAVADOC-614: - I am seeing the same error but for a different reason. We have a Java 11 project with automatic module names that fails at a package-info.java with no files. This is also with 3.2.0 ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (default-cli) on project accumulo-core: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 2 - javadoc: error - No source files for package org.apache.accumulo.core.spi [ERROR] [ERROR] Command line was: /usr/local/lib/jvm/openjdk11/bin/javadoc -J-Xmx512m @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/home/travis/build/apache/accumulo/core/target/apidocs' dir. ``` https://github.com/apache/accumulo/pull/1438 > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1, 3.2.0 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > Time Spent: 10m > Remaining Estimate: 0h > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17062557#comment-17062557 ] Alexis Jehan commented on MJAVADOC-614: --- I edited affected versions to add the new 3.2.0 release. Any idea if the fix related to this issue could be included in the next release? > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1, 3.2.0 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > Time Spent: 10m > Remaining Estimate: 0h > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921744#comment-16921744 ] Alexis Jehan commented on MJAVADOC-614: --- I added a pull request, feel free to tell me back about it in case. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > Time Spent: 10m > Remaining Estimate: 0h > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921668#comment-16921668 ] Michael Osipov commented on MJAVADOC-614: - That's ugly and I thought they have changed it for good. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921653#comment-16921653 ] Robert Scholte commented on MJAVADOC-614: - Change is confirmed on the [javadoc-dev-list|https://mail.openjdk.java.net/pipermail/javadoc-dev/2019-September/001133.html]: bq. It was not intentional to change to use UTF-8 for @-files in JDK 9, 10, 11: it was the result of the default used by Files.newBuffereredReader when no Charset argument was provided. The fix, in JDK-8214514, was to explicitly specify Charset.defaultSet() as the second argument of Files.newBufferedReader. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921530#comment-16921530 ] Michael Osipov commented on MJAVADOC-614: - I'd like the javadoc-devs to confirm it. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921451#comment-16921451 ] Alexis Jehan commented on MJAVADOC-614: --- The Java 8 behavior is back for Java 12, 13 and 14 so it seems quite stable until at least next year. Furthermore the fix from our side is not so costly: {code} --- AbstractJavadocMojo.java +++ AbstractJavadocMojo_new.java @@ -4642,7 +4642,7 @@ /* default to platform encoding */ String outputFileEncoding = null; -if ( JAVA_VERSION.isAtLeast( "9" ) ) +if ( JAVA_VERSION.isAtLeast( "9" ) && JAVA_VERSION.isBefore( "12" ) ) { outputFileEncoding = StandardCharsets.UTF_8.name(); } {code} {code} --- JavadocReportTest.java +++ JavadocReportTest_new.java @@ -571,7 +571,7 @@ // check for a part of the window title String content; String expected; -if ( JavaVersion.JAVA_VERSION.isAtLeast( "9" ) ) +if ( JavaVersion.JAVA_VERSION.isAtLeast( "9" ) && JavaVersion.JAVA_VERSION.isBefore( "12" ) ) { content = readFile( optionsFile, StandardCharsets.UTF_8 ); expected = OPTIONS_UMLAUT_ENCODING; {code} > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882077#comment-16882077 ] Michael Osipov commented on MJAVADOC-614: - At best, you should inquire with http://mail.openjdk.java.net/pipermail/javadoc-dev/ first before we do another unreliable fix... > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882030#comment-16882030 ] Michael Osipov commented on MJAVADOC-614: - So they changed again back to Java 8 and earlier behavior. Obviously, we need to maintain a Java version encoding table. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882023#comment-16882023 ] Alexis Jehan commented on MJAVADOC-614: --- Sure, same behavior as OracleJDK12 with OpenJDK13: {quote}"C:\Program Files\Java\jdk-13\bin\javadoc.exe" @options @packages Loading source files for package foo.bar... javadoc: error - No source files for package foo.bar 1 error{quote} > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882016#comment-16882016 ] Michael Osipov commented on MJAVADOC-614: - Do you think you could try 13-ea? > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882009#comment-16882009 ] Alexis Jehan commented on MJAVADOC-614: --- Indeed, it works with OracleJDK11: {quote}"C:\Program Files\Java\jdk-11\bin\javadoc.exe" @options @packages Loading source files for package foo.bar... Constructing Javadoc information... Note: Multiple elements named 'javafx.beans.Observable' in modules 'java.base, javafx.base, jdk.jshell, jdk.jdi, jdk.jdwp.agent, jdk.attach, java.prefs, java.xml, java.compiler, jdk.compiler, java.logging, jdk.net, java.desktop, java.datatransfer, jdk.packager.services, jdk.accessibility, jdk.management.cmm, java.management, jdk.management, jdk.sctp, jdk.jartool, jdk.jsobject, jdk.xml.dom, jdk.jconsole, jdk.management.agent, java.management.rmi, java.rmi, java.naming, java.security.sasl, jdk.security.jgss, java.security.jgss, jdk.scripting.nashorn, java.scripting, jdk.dynalink, jdk.unsupported, jdk.javadoc, jdk.management.resource, java.instrument, jdk.httpserver, jdk.security.auth, jdk.management.jfr, jdk.jfr, java.se, java.xml.crypto, java.sql.rowset, java.sql' were found by javax.lang.model.util.Elements.getTypeElement. Standard Doclet version 11 Building tree for all the packages and classes... Generating D:\Ú\foo\target\apidocs\foo\bar\Bar.html... Generating D:\Ú\foo\target\apidocs\foo\bar\package-summary.html... Generating D:\Ú\foo\target\apidocs\foo\bar\package-tree.html... Generating D:\Ú\foo\target\apidocs\constant-values.html... Generating D:\Ú\foo\target\apidocs\foo\bar\class-use\Bar.html... Generating D:\Ú\foo\target\apidocs\foo\bar\package-use.html... Building index for all the packages and classes... Generating D:\Ú\foo\target\apidocs\overview-tree.html... Generating D:\Ú\foo\target\apidocs\index-all.html... Building index for all classes... Generating D:\Ú\foo\target\apidocs\allclasses-index.html... Generating D:\Ú\foo\target\apidocs\allpackages-index.html... Generating D:\Ú\foo\target\apidocs\deprecated-list.html... Building index for all classes... Generating D:\Ú\foo\target\apidocs\allclasses.html... Generating D:\Ú\foo\target\apidocs\allclasses.html... Generating D:\Ú\foo\target\apidocs\index.html... Generating D:\Ú\foo\target\apidocs\help-doc.html...{quote} > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882003#comment-16882003 ] Michael Osipov commented on MJAVADOC-614: - Can you try Java 11? I have the feeling that this has changed again in Java 12, sigh. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882001#comment-16882001 ] Alexis Jehan commented on MJAVADOC-614: --- Using files in command line: {quote}"C:\Program Files\Java\jdk-12\bin\javadoc.exe" @options @packages Loading source files for package foo.bar... javadoc: error - No source files for package foo.bar 1 error{quote} > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881939#comment-16881939 ] Michael Osipov commented on MJAVADOC-614: - Both file are contentwise equal, but differ in file encoding. This is related to MJAVADOC-544. Oracle change the behavior of option files to use NIO2 which always uses UTF-8. Something is fishy here. Waiting for your test. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881932#comment-16881932 ] Michael Osipov commented on MJAVADOC-614: - Passing the args is not the same as passing the file. Please pass the file as-is. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881925#comment-16881925 ] Alexis Jehan commented on MJAVADOC-614: --- I have attached "options" and "packages" files obtained with 3.0.1. It seems to work from the command line: {quote}"C:\Program Files\Java\jdk-12\bin\javadoc.exe" -encoding "UTF-8" -protected --release 10 -sourcepath "D:/é/foo/src/main/java" -html5 -author -bottom "Copyright 2019. All rights reserved." -charset "UTF-8" -d "D:/é/foo/target/site/apidocs" -docencoding "UTF-8" -doctitle "foo 1.0.0-SNAPSHOT API" -linkoffline "https://docs.oracle.com/javase/10/docs/api; "D:/é/foo/target/javadoc-bundle-options" -use -version -windowtitle "foo 1.0.0-SNAPSHOT API" foo.bar foo.bar Loading source files for package foo.bar... Constructing Javadoc information... Creating destination directory: "D:/Ú/foo/target/site/apidocs\" javadoc: error - Error reading file: D:\Ú\foo\target\javadoc-bundle-options\element-list Standard Doclet version 12 Building tree for all the packages and classes... Generating D:\Ú\foo\target\site\apidocs\foo\bar\Bar.html... Generating D:\Ú\foo\target\site\apidocs\foo\bar\package-summary.html... Generating D:\Ú\foo\target\site\apidocs\foo\bar\package-tree.html... Generating D:\Ú\foo\target\site\apidocs\constant-values.html... Generating D:\Ú\foo\target\site\apidocs\foo\bar\class-use\Bar.html... Generating D:\Ú\foo\target\site\apidocs\foo\bar\package-use.html... Building index for all the packages and classes... Generating D:\Ú\foo\target\site\apidocs\overview-tree.html... Generating D:\Ú\foo\target\site\apidocs\deprecated-list.html... Building index for all classes... Generating D:\Ú\foo\target\site\apidocs\index-all.html... Building index for all classes... Generating D:\Ú\foo\target\site\apidocs\allclasses-index.html... Generating D:\Ú\foo\target\site\apidocs\allpackages-index.html... Generating D:\Ú\foo\target\site\apidocs\index.html... Generating D:\Ú\foo\target\site\apidocs\help-doc.html... 1 error{quote} > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, options(3.0.1), packages, packages(3.0.1) > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881904#comment-16881904 ] Michael Osipov commented on MJAVADOC-614: - The file looks fine. Can you please try manually calling `javadoc.exe` with the provided `@options` file. It looks like another Javadoc issue. If you also say that it worked with MJAVADOC 3.0.1, please upload that `@options` file as well. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, packages > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881890#comment-16881890 ] Alexis Jehan commented on MJAVADOC-614: --- Done. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > Fix For: waiting-for-feedback > > Attachments: options, packages > > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MJAVADOC-614) "No source files for package" in a directory with accent characters
[ https://issues.apache.org/jira/browse/MJAVADOC-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16881888#comment-16881888 ] Michael Osipov commented on MJAVADOC-614: - Please try the latests MJAVADOC version and also upload `@options` and `@packages` files. > "No source files for package" in a directory with accent characters > --- > > Key: MJAVADOC-614 > URL: https://issues.apache.org/jira/browse/MJAVADOC-614 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc >Affects Versions: 3.1.0, 3.1.1 > Environment: Operating System: Windows 7 > Java: OracleJDK12 > Maven: 3.6.1 >Reporter: Alexis Jehan >Priority: Critical > > > Executing "mvn clean javadoc:javadoc" in the "D:\é\foo" produces the > following error: > {quote}[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. > {quote} > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)