You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Miller (Jira)" <ji...@apache.org> on 2020/03/24 21:36:00 UTC

[jira] [Comment Edited] (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&focusedCommentId=17066195#comment-17066195 ] 

Michael Miller edited comment on MJAVADOC-614 at 3/24/20, 9:35 PM:
-------------------------------------------------------------------

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]


was (Author: milleruntime):
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)