Le 13/05/2013 15:47, Jörg Schaible a écrit : > Hi Luc, Hi Jörg,
> > 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. It was almost that! The maven-surefire-plugin was already configured twice in both projects. However, the maven-surefire-report-plugin was missing in the reporting section of the other project. I missed that due to the similarity of the two plugins names. Adding it solved the problem. Your hint greatly helped finding the culprit. Thanks a lot Luc > > - Jörg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org