Hi Luc,

Luc Maisonobe wrote:

> Hi all,
> 
> In the last few days, I looked into the commons parent pom as well as
> several other poms to set up JaCoCo reports. There is something I don't
> understand: with our current setting at Apache, when we run "mvn clean
> site", the tests are automatically run. In another non-Apache project,
> when I do the same thing, tests are not run, and I have to manually run
> them before building the site.
> 
> Could someone explain me what we did to have this magic happen in commons?

Surefire must have been configured twice, once time in the normal plugins 
section and the second time as part of the reports. The surefire "report" 
will trigger the execution of the tests.

- Jörg



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to