I need to use BaseDetectorTest provided from one of Spotbugs extension library
I added the maven dependency from (FindBugs Test Utility)
But it does not include the BaseDetectorTest class file (Once Maven is updated, the jar file is added to the external libraries - but not the class file).
I am wondering why it happens.
My guess is "the Jar file provided by the repository is still being developed"
Could you teach me how to fix it?
find-sec-bugs/findsecbugs-test-util/src/test/java/com/h3xstream/findbugs/test/BaseDetectorTest.java
is a test class..../src/test/...
and...Test.java
are indicators for that. Test classes aren't included in a project's JAR (by thejar:jar
goal of the Maven JAR Plugin which is the default binding for thepackage
phase) but in a project's...-tests.jar
which is created by thejar:test-jar
goal....-tests.jar
. Use it with: