maven - Forbid using certain packages in a Java project (especially unit tests) -


i'd prevent people team using testng asserts , instead use assertj. aware of solutions: maven plugin restrict specific packages being used unfortunately, neither (restrict-plugin , macker) of them checks test directory. i'd maven check both main , test source code.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -