You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JUnit is a test library, and as such should be made test scope in the POM, so as to prevent forcing a test library as a transient dependency on consumers of the library.
Steps to Reproduce
Run mvn dependency:tree -Dincludes=junit:junit
Expected Results
Dependency definition is test.
Actual Results (including error logs, if applicable)
Summary
JUnit is a test library, and as such should be made test scope in the POM, so as to prevent forcing a test library as a transient dependency on consumers of the library.
Steps to Reproduce
mvn dependency:tree -Dincludes=junit:junit
Expected Results
Dependency definition is
test
.Actual Results (including error logs, if applicable)
Dependency definition is
compile
.Reproducible
Version/Tag number
3.0.5
Environment setup
N/A - Build issue.
Additional Information
b002c04#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R187-R190
Dependency should have been added with
test
scope, as was previously on thecucumber-junit
library thatjunit
replaced.The text was updated successfully, but these errors were encountered: