I added
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.2</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
</reports>
</reportSet>
</reportSets>
</plugin>
to the reportPlugins section and now I get index.html files on module and root
level.
Thanks,
Jan
-----Original Message-----
From: Andreas Sewe [mailto:[email protected]]
Sent: Dienstag, 16. November 2010 17:34
To: Maven Users List
Subject: Re: maven 3 & multi-module site
Hi Jan,
> I have added
>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>3.0-beta-3</version>
> <configuration>
> <reportPlugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-plugin-plugin</artifactId>
> <version>2.5.1</version>
> </plugin>
> </reportPlugins>
> </configuration>
> </plugin>
>
> to the root pom.
>
> When I do 'mvn site', mojo docs are generated fine for each maven-plugin
> module in target/site/plugin-info.html, but the root POM target/site/ folder
> is empty apart from standard css/ and images/ folders.
>
> Maybe there is sth fundamental I am missing here?
I think you came across <http://jira.codehaus.org/browse/MSITE-484>. Try
adding the m-project-info-reports-p as a reportPlugin as well.
I hope this helps.
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]