[ 
https://issues.apache.org/jira/browse/SUREFIRE-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kriegisch updated SUREFIRE-2004:
------------------------------------------
    Description: 
Using either {{-Daggregate=true}} on CLI or {{<aggregate>true</aggregate>}} in 
the plugin configuration leads to an empty report (i.e. zero tests reported) 
when e.g. executing

{code:none}
mvn -Dmaven.test.failure.ignore=true -Daggregate=true clean verify 
surefire-report:report-only
{code}

in the context of a single-module project. As soon as I make the root module 
pom-packaged and move the tests to into a child module, the aggregate report 
works.

FYI, if I do not define the plugin and its version in my POM at all, the 
default version 2.4 used by Maven on my workstation has the same problem, so 
this does not seem to be a 3.0.0-M5 issue only.

  was:
Using either {{-Daggregate=true}} on CLI or {{<aggregate>true</aggregate>}} in 
the plugin configuration leads to an empty report (i.e. zero tests reported) 
when e.g. executing

{code:none}
mvn -Dmaven.test.failure.ignore=true -Daggregate=true clean verify 
surefire-report:report-only
{code}

in the context of a single-module project. As soon as I make the root module 
pom-packaged and move the tests to into a child module, the aggregate report 
works.

FYI, if I do not define the plugin and its version in my POM at all, the 
default version 2.4 used by Maven on my workstation has the same problem, so 
this does not seem to be a 3.0.0-M5 thing.


> Empty report for single-module project with 'aggregate=true'
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-2004
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2004
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 3.0.0-M5
>            Reporter: Alexander Kriegisch
>            Priority: Major
>
> Using either {{-Daggregate=true}} on CLI or {{<aggregate>true</aggregate>}} 
> in the plugin configuration leads to an empty report (i.e. zero tests 
> reported) when e.g. executing
> {code:none}
> mvn -Dmaven.test.failure.ignore=true -Daggregate=true clean verify 
> surefire-report:report-only
> {code}
> in the context of a single-module project. As soon as I make the root module 
> pom-packaged and move the tests to into a child module, the aggregate report 
> works.
> FYI, if I do not define the plugin and its version in my POM at all, the 
> default version 2.4 used by Maven on my workstation has the same problem, so 
> this does not seem to be a 3.0.0-M5 issue only.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to