elharo commented on code in PR #311:
URL: https://github.com/apache/maven-site/pull/311#discussion_r1021444328
##########
content/apt/guides/mini/guide-attached-tests.apt:
##########
@@ -81,7 +81,10 @@ mvn deploy
* Using the attached test JAR
In order to use the attached test JAR that was created above you simply
specify a dependency on the main
- artifact with a specified type of <<<test-jar>>> and the <<<classifier>>>.
+ artifact with a specified type of <<<test-jar>>> and the <<<classifier>>>,
and tell the surefire plugin to scan
+ that dependency for tests. Also, you might have to tell surefire which
provider you are using as it might not be
+ able to autodetect it from the <<<dependenciesToScan>>>. In that case, simply
add a test-scoped dependency to
Review Comment:
"as it might not be
able to " --> "if it cannot"
--
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]