maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emerson <echofloripa.y...@gmail.com>
Subject Re: multi-module agregated test report
Date Fri, 26 Nov 2010 15:30:59 GMT
I believe it is correct to say that MAVEN 2 HAS NO WAY to aggregate
surefire reports from different sub-modules and at the same time show
a summary for each module? Could some one confirm this,then I will
look for another solution.

Thanks


On 26 November 2010 13:17, emerson <echofloripa.yell@gmail.com> wrote:
>> This is the default base case which is handled just fine without any
>> other tools outside of Maven. Please refer to
>> http://maven.apache.org/plugins/maven-surefire-report-plugin/report-mojo.html
>
>
> Hi Jesse, unfortunetaly, the generated report just separates by
> package and not by module.
>
> I created 2 sample projects using archetypes with
> maven-archetype-quickstart, and added them to the parent pom, with the
> respective maven report:
>
> Is there anything that I am missing here?
>
> This is my parent pom:
>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>  http://maven.apache.org/maven-v4_0_0.xsd">
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>com.yell</groupId>
>  <artifactId>parent</artifactId>
>  <packaging>pom</packaging>
>  <name>autotests</name>
>  <version>1.0-SNAPSHOT</version>
>  <description>Automated Test Suite</description>
>  <inceptionYear>2010</inceptionYear>
>  <modules>
>    <module>moduleA</module>
>    <module>moduleB</module>
>  </modules>
> <dependencies>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>4.7</version>
>    </dependency>
>  </dependencies>
>  <reporting>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-surefire-report-plugin</artifactId>
>         <configuration>
>          <aggregate>true</aggregate>
>        </configuration>
>      </plugin>
>    </plugins>
>  </reporting>
> </project>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message