maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1164) surefire-reports folder missing when there are no unit tests
Date Mon, 29 Jun 2015 19:49:04 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606265#comment-14606265
] 

Tibor Digana commented on SUREFIRE-1164:
----------------------------------------

This is not right way to go since you are not convinced about Sonar requirements and I think
the same bug can be reported against Sonar. It's not clear it is our bug.
As a hint please create prototype with latest surefire/failsafe 2.18.1 and simulate folder
and/or report files in it. You will see what Sonar requires. Try to look for same issue reported
in Sonar Jira. As I told you the folder can be created very easily with antrun plugin. If
I was in your situation, I would try to help myself with antrun plugin at first.

> surefire-reports folder missing when there are no unit tests
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-1164
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1164
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin, Maven Surefire Report Plugin
>    Affects Versions: 2.12.4
>            Reporter: Rebecca Hilton
>            Priority: Minor
>
> When using the maven plugin (maven-surefire-plugin) on version 2.12 the "surefire-reports"
folder gets created whether or not they have unit tests.  When using 2.14.4 the folder doesn't
get created unless there are unit tests.
> maven-surefire-plugin:2.12:
>  [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ xxx ---
>  [INFO] No tests to run.
>  [INFO] Surefire report directory: e:\...\target\surefire-reports
>  -------------------------------------------------------
>   T E S T S
>  -------------------------------------------------------
>  Results :
>  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> maven-surefire-plugin:2.12.4:
>  [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ xxx ---
>  [INFO] No tests to run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message