NSFE: diktat-rules\src\test\resources\test\paragraph2\header
when running mvn test
from diktat-rules/
#1345
Milestone
The approach used in
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/generation/Generation.kt
will work if Maven is invoked from the project root, e. g.:$ mvn test
or
$ mvn -pl diktat-rules test
Yet, a quite legitimate scenario (particularly, used by IDEA when creating Maven run configurations) is invoking a Maven goal from the module directory, e. g.:
cd diktat-rules/ && mvn test
In this latter case, Maven execution will fail with:
Originally posted by @0x6675636b796f75676974687562 in #1296 (comment)
The text was updated successfully, but these errors were encountered: