[ 
https://issues.apache.org/jira/browse/MJAVADOC-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957616#comment-17957616
 ] 

Olivier Lamy commented on MJAVADOC-287:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#585|https://github.com/apache/maven-javadoc-plugin/issues/585].
 

> -sourcepath with "." or ".." causes "invalid package name" errors
> -----------------------------------------------------------------
>
>                 Key: MJAVADOC-287
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-287
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.7
>         Environment: Mandriva Linux 2010.1
>            Reporter: ftg314159
>            Priority: Major
>
> If you create a dummy project to run a custom doclet against the source tree 
> of a different project, and specify the -sourcepath as 
>      <sourcepath>${basedir}/../otherproject/src/main/java</sourcepath>
> execution will fail with:
>      An error has occurred in JavaDocs report generation:Exit code: 1 - 
> javadoc: error - Illegal package name: 
> "/data/ftg/dvd-ejbgen/../dvd/target/generated-sources/maven-plugin"
> This happens because the argfile is built using the Absolute Path of 
> -sourcepath rather than the Canonical Path, e.g.
> '/data/ftg/dvd-ejbgen/../dvd/src/main/java/org/profsoftsvcs/dbutils/DVD/DBUtDVDEntityBean.java'
> '/data/ftg/dvd-ejbgen/../dvd/src/main/java/org/profsoftsvcs/dbutils/DVD/DBUtDVDSessionBeanImpl.java'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to