I'm working on a project that uses the CEF DSS library to handle digital signatures. This library comes with a large test suite, which obviously we're not interested in and thus it isn't run on mvn test.
We wanted to create code coverage reports for our test suite, as part of a push to increase test coverage, and my first try there was to run mvn cobertura:cobertura to get a cobertura report. However, for some reason, this now runs the full test suite of the CEF DSS component, which is not something I'm interested in.
Why does this happen? How can I avoid it?
See cobertura:cobertura:
There is no optional parameter to skip this.
But, you use this library with:
The
testphase usually runs test code in your project'ssrc/test/javadirectory. I can't comprehend (yet) why the library's tests are performed.BTW:
<dependencyManagement>, e.g. with<exclusions>, you don't have to repeat that configuration when actually using it (in your child projects' POMs). That's what<dependencyManagement>is for. :)<dependency><scope>compileis the default. You don't have to declare it explicitely (insignandvalidation-ws' POM).