The m-surefire-p is what executes the unit tests. It is a build plugin. However, it does produce xml+text reports. The m-surefire-report-plugin is the reporting plugin used for maven site generation. What kind of report are you trying to generate?
/Anders (mobile) Den 16 okt 2011 15.16 skrev "Giovanni Azua Garcia" <brave...@me.com>: > Hello, > > I have been trying to setup a new multi-module project and would like to > have some reports on unit tests. The problem is that apparently there are > two plugins for this: maven-surefire-plugin and > maven-surefire-report-plugin. It is really not clear how to setup them both > or how they interact ... I have spent some hours doing trial and error on > this, the result is that sometimes I get no surefire report at all and > sometimes I get two surefire reports both empty in every project parent and > sub-module projects. When generated, the actual reports appear twice within > the sub-module reports ... > very confusing. > > In an ideal-green-land world I would just need to put one of the two > plugins in the build of the _parent_ pom with the aggregate option set to > true and I would get a single Surefire report on the report generated for > the parent pom. But it doesn't work like this. Why is it soooo complicated? > > TIA, > Best regards, > Giovanni > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >