[
https://issues.apache.org/jira/browse/SUREFIRE-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169424#comment-16169424
]
Tibor Digana commented on SUREFIRE-1418:
----------------------------------------
Yes, JUnit5 must adapt the provider.
You should contact Marc Philipp in Github Junit-Team. We have one developer,
Benedikt Ritter, who works on provider in Surefire team. We plan to have the
provider fully adopted in Surefire sources in the first release 3.0.0. I think
Benedikt is in progress with the provider and he was working on
{{AbstractSurefireMojo}} last time. I will ask him about the status.
So now I am closing. If you see any problem with that we can discuss it.
When I run empty project with Surefire {{2.20.1}} I get no error:
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ test ---
[INFO] No tests to run.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.366 s (Wall Clock)
[INFO] Finished at: 2017-09-17T23:22:54+01:00
[INFO] Final Memory: 8M/309M
[INFO] ------------------------------------------------------------------------
> 2.20.1 fails with no tests and junit5 support
> ---------------------------------------------
>
> Key: SUREFIRE-1418
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1418
> Project: Maven Surefire
> Issue Type: Bug
> Components: JUnit 5.x support, Maven Surefire Plugin
> Affects Versions: 2.20.1
> Environment: Apache Maven 3.5.0
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T20:39:06+01:00)
> Maven home: /opt/local/share/java/maven3
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"
> Reporter: John Patrick
> Attachments: effective-pom.xml, output.txt
>
>
> Just upgraded project from 2.20 to 2.20.1 and getting error for a project
> with no tests.
> If you remove the following it will pass, otherwise it fails.
> <dependencies>
> <dependency>
>
> <groupId>org.junit.platform</groupId>
>
> <artifactId>junit-platform-surefire-provider</artifactId>
> <version>1.0.0</version>
> </dependency>
> </dependencies>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)