[
https://issues.apache.org/jira/browse/SUREFIRE-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605910#comment-14605910
]
Tibor Digana commented on SUREFIRE-1164:
----------------------------------------
[~rhilton1]
Feel free to use maven-antrun-plugin in phase process-test-resources and make
directory in advance.
You have also another alternative to fix it on GitHub for yourself; otherwise
it does not make sense to keep it open if there is such trivial alternative
with other plugin.
> 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)