You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2006/11/29 12:32:23 UTC

aggregate javadoc missing generated sources

Hi,

when executing site on a single project, the javadoc report correctly 
includes the generated src directories.

src/java
&
target/src

However, when running site from the parent aggregator project, only the 
sources found in build.SourceDirectory for each aggregated project is 
included.  I.e. the generated sources are missing.

I have tried explicitly adding the generated src using build-helper 
add-sources but doesn't help.

The workaround I have is to specify all the dirs in the javadoc plugin.

     <reporting>
	  <plugins>
	    <plugin>
	      <groupId>org.apache.maven.plugins</groupId>
	      <artifactId>maven-project-info-reports-plugin</artifactId>
	    </plugin>
	    <plugin>
	       <groupId>org.apache.maven.plugins</groupId>
	       <artifactId>maven-javadoc-plugin</artifactId>	
	       <version>2.1</version>
			<configuration>
	       		<aggregate>true</aggregate>
	       	 
<sourcepath>${project.basedir}/../i18n-model/target/src;${project.basedir}/../i18n-model/src/java;${project.basedir}/../i18n-client-jar/src/java</sourcepath>
	       	</configuration>
	    </plugin>
	  </plugins>
	</reporting>

Feels to me that the javadoc plugin should work this out by collating 
all the source dirs of the aggregated projects.

cheers
Nathan




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org