Aggregate report ignores sourcepath customization of subprojects ----------------------------------------------------------------
Key: MJAVADOC-179 URL: http://jira.codehaus.org/browse/MJAVADOC-179 Project: Maven 2.x Javadoc Plugin Issue Type: Bug Affects Versions: 2.3 Environment: Maven 2.0.8, Java 1.5, Windows Reporter: Fol De Rol When using aggregate javadoc reporting with one of subproject being customized to include java sources from alternative directories, only original source directories are passed to javadoc executable. For instance, I use POJO's generated by Hibernate3 from HBM files which are documented. The generated files are placed into ${basedir}/target/hibernate3/generated-sources/ directory. My subproject's POM contains the following definition: {code:xml}<reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.2</version> <configuration> <sourcepath>$\{basedir\}/src/main/java;$\{basedir]}/target/hibernate3/generated-sources</sourcepath> </configuration> </plugin> </plugins> </reporting>{code} and it works correctly if running {{mvn site}} on subproject level. If run from the parent project, as I traced, the custom directory does not passed to the javadoc tool. -- 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