Howard Lewis Ship <hlship <at> gmail.com> writes:

> The documentation appears to state that -DgenerateReports=false will skip
> report generation.
 
> http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html
 
> However, in practice, reports are always generated (very slow for me; large
> project, using AspectJ and Corbetura ... takes a minute or two).

I am finding that 'mvn -DgenerateReports=false site:site' does run for me
without running my default, javadocs and xref reports, but it won't generate
anything new!

It turns out that the problem is there is some sort of conflict with the
existing target/site that already has reports in it.  I found that by issuing an
'mvn clean' followed by 'mvn -DgenerateReports=false site:site', Maven would,
indeed, create the new content without running the reports.  Naturally, all of
the reports sections are missing.  Thankfully, re-running 'mvn
-DgenerateReports=false site:site' works just fine and picks up any changes to
src/site so repeated cleans aren't required unless you run the reports again.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to