Tibor17 commented on pull request #474:
URL: https://github.com/apache/maven-surefire/pull/474#issuecomment-1049354519
@slawekjaranowski
This patch of method `getJUnit5Artifact` in `AbstractSurefireMojo` should
fix it and then the Line 130 should be fixed again in `Surefire1787JUnit5IT`.
```java
private Artifact getJUnit5Artifact()
{
Artifact artifact = getPluginArtifactMap().get(
"org.junit.platform:junit-platform-engine" );
if ( artifact == null )
{
artifact = getProjectArtifactMap().get(
"org.junit.platform:junit-platform-runner" );
}
if ( artifact == null )
{
return getProjectArtifactMap().get(
"org.junit.platform:junit-platform-commons" );
}
return artifact;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]