Re: Skipping report generation
Howard Lewis Ship 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]
Re: Skipping report generation
Just re-running it now: I can see the Surefire report running (i.e., running my tests), as well as the Corbetura report. I think Javadoc is smart enough not to run. On 9/4/06, Brett Porter <[EMAIL PROTECTED]> wrote: So it doesn't work at all under "site"? That's a bug report, as it should and I used to use it a bit. For site:run, it's a separate feature request since it's not in there. They should only be generated on demand, but I'm aware that there are some plugins that do the work up front which make this not possible. I think fixing it so that they are aways on demand is a better alternative if possible. - Brett On 05/09/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I often would like to skip report generation under "mvn site" and especially > under "mvn site:run", but this doesn't work. > > 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). > > What is the correct way to turn this off, especially with site:run? > > -- > Howard M. Lewis Ship > TWD Consulting, Inc. > Independent J2EE / Open-Source Java Consultant > Creator and PMC Chair, Apache Tapestry > Creator, Apache HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > -- Apache Maven - http://maven.apache.org "Better Builds with Maven" book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com
Re: Skipping report generation
So it doesn't work at all under "site"? That's a bug report, as it should and I used to use it a bit. For site:run, it's a separate feature request since it's not in there. They should only be generated on demand, but I'm aware that there are some plugins that do the work up front which make this not possible. I think fixing it so that they are aways on demand is a better alternative if possible. - Brett On 05/09/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I often would like to skip report generation under "mvn site" and especially under "mvn site:run", but this doesn't work. 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). What is the correct way to turn this off, especially with site:run? -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com -- Apache Maven - http://maven.apache.org "Better Builds with Maven" book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Skipping report generation
I often would like to skip report generation under "mvn site" and especially under "mvn site:run", but this doesn't work. 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). What is the correct way to turn this off, especially with site:run? -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com
Re: [m2.0.4] No Clover database found, skipping report generation
Thanks Weizhu, in fact there were some lines missing. -- Tiago Fernandez http://www.tiago182.spyw.com On 4/24/06, weizhu liang <[EMAIL PROTECTED]> wrote: > > i think this is the new feature w/ the new clover > plugin.. there is a separation between instrumentation > and reporting.. you have to add few lines to the build > plugin to instrument it.. the instruction is in the > guide. > > http://maven.apache.org/plugins/maven-clover-plugin/howto.html > > thx, > -wei > > --- Tiago Fernandez <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I'm trying to generate a nice coverage report while > > running "mvn site" on my > > project, but it isn't working. It says: > > > > [WARNING] No Clover database found, skipping report > > generation > > My reporting section is simple: > > > > > > > > > > > > maven-javadoc-plugin > > > > > > org.codehaus.mojo > > > > jxr-maven-plugin > > > > > > > > > maven-surefire-report-plugin > > > > > > > > maven-clover-plugin > > > > > > > > > > Did someone already experience this? > > > > Thanks, > > -- > > Tiago Fernandez > > http://www.tiago182.spyw.com > > > >
Re: [m2.0.4] No Clover database found, skipping report generation
i think this is the new feature w/ the new clover plugin.. there is a separation between instrumentation and reporting.. you have to add few lines to the build plugin to instrument it.. the instruction is in the guide. http://maven.apache.org/plugins/maven-clover-plugin/howto.html thx, -wei --- Tiago Fernandez <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to generate a nice coverage report while > running "mvn site" on my > project, but it isn't working. It says: > > [WARNING] No Clover database found, skipping report > generation > My reporting section is simple: > > > > > > maven-javadoc-plugin > > > org.codehaus.mojo > > jxr-maven-plugin > > > > maven-surefire-report-plugin > > > > maven-clover-plugin > > > > > Did someone already experience this? > > Thanks, > -- > Tiago Fernandez > http://www.tiago182.spyw.com > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2.0.4] No Clover database found, skipping report generation
Hello, I'm trying to generate a nice coverage report while running "mvn site" on my project, but it isn't working. It says: [WARNING] No Clover database found, skipping report generation My reporting section is simple: maven-javadoc-plugin org.codehaus.mojo jxr-maven-plugin maven-surefire-report-plugin maven-clover-plugin Did someone already experience this? Thanks, -- Tiago Fernandez http://www.tiago182.spyw.com