Hey there,

I've a simple hierachical multi-module build for which I want to generate an
aggregated surefire report.
I'm using Maven 2.2.1 with surefire plugin version 2.5 and site plugin
version 2.1.1 on Windows XP with
a minimal parent POM configuration:
...
        <build>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.5</version>
                <configuration>
                        <testFailureIgnore>true</testFailureIgnore>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <version>2.1.1</version>
              </plugin>
            </plugins>
          </build>
...
        <reporting>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                
<artifactId>maven-surefire-report-plugin</artifactId>
                                <version>2.5</version>
                                <configuration>
                                        <aggregate>true</aggregate>
                                </configuration>
                        </plugin>
                </plugins>
        </reporting>
...

Whereas calling the two commands
mvn install
mvn site
will create the desired result, calling
mvn install site
in one command will create a report with 0 tests, although there are test
results generated in the modules.

Is this expected?
Is this a problem in Maven core or the surefire report plugin?

(You could say, it's no big deal, but it's annoying when using Hudson maven
jobs. I don't want to convert all jobs to freestyle projects, so any help is
appreciated.)

Let me know if you need more info.

Thanks,
Holger

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Creating-aggregated-surefire-report-in-site-tp2267524p2267524.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to