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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to