[ http://jira.codehaus.org/browse/MJAVADOC-82?page=all ]
Vincent Siveton closed MJAVADOC-82.
-----------------------------------
Assignee: Vincent Siveton
Resolution: Fixed
Fix Version/s: 2.1
added sourcepath if subpackages is specified
> 'sourcepath' should not be mandatory when using 'subpackages' configuration
> ---------------------------------------------------------------------------
>
> Key: MJAVADOC-82
> URL: http://jira.codehaus.org/browse/MJAVADOC-82
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Damien Lecan
> Assigned To: Vincent Siveton
> Fix For: 2.1
>
>
> It is impossible to use 'subpackages' configuration without specifying
> 'sourcepath' directory.
> This works : <plugin>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
> <sourcepath>${basedir}/src/main/java</sourcepath>
> <subpackages>
> my.package:my.package2
> </subpackages>
> </configuration>
> </plugin>
> but this one doesn't works (without sourcepath with sources default path)
> <plugin>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
> <subpackages>
> my.package:my.package2
> </subpackages>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira