You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/01/22 12:05:15 UTC

[GitHub] [maven-surefire] Tibor17 commented on pull request #388: [SUREFIRE-1266] Skip junit dependency check if module has no tests to run

Tibor17 commented on pull request #388:
URL: https://github.com/apache/maven-surefire/pull/388#issuecomment-1019218934


   I have reviewed our implementation again in the MOJO.
   The method `verifyParameters()` was designed to handle your use case and simply it skips all the checks if [there are no tests to run](https://github.com/apache/maven-surefire/blob/4e900b682a58a5243a1560186cea34e431e51af2/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java#L1125).
   Perhaps we have not asked you the most important question. Why this part of code did not catch your use case?
   Do you deliver the tests as a test dependency 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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org