Replies: 2 comments 1 reply
-
being these are all reporting plugins, without some execution on them in your profile there on a normal build they won't do anything. Look at the integration tests in this project as there are many examples. Main thing is if you are running something like mvn clean install -PsomeProfile, you eend to also add execution to those plugins to get them to run. If you are trying to run mvn clean site -PsomeProfile as this case, you would also need |
Beta Was this translation helpful? Give feedback.
-
maybe this setup here might help https://github.com/spotbugs/spotbugs-maven-plugin/tree/spotbugs/src/it/check-multi-filter-dups as it seems to be doing same thing and working. |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I have been googling all over to figure out how to resolve this and have not found any suitable solution. I'm trying to exclude some bug categories from the spotbugs analysis however the categories are still showing up in the report. The filter file is very small here it is it is in the root project directory with the pom.xml (was not sure if this is the correct location)
I run this using the plugin using the following mvn command
mvn compile site -P codeQuality (codeQuality is my special profile for spotbug and PMD reports.
Here's the snippet of the plugin configuration...
codeQuality org.apache.maven.plugins maven-pmd-plugin 3.17.0 /category/java/bestpractices.xml /category/java/codestyle.xml /category/java/design.xml/ /category/java/errorprone.xml /category/java/multithreading.xml /category/java/performance.xml /category/java/security.xml net.sourceforge.pmd.renderers.SummaryHTMLRenderer false 3 pmd org.apache.maven.plugins maven-project-info-reports-plugin 3.3.0 index licenses summary modules org.apache.maven.plugins maven-jxr-plugin 3.2.0 com.github.spotbugs spotbugs-maven-plugin 4.2.0 spotbugs-exclude-filter.xml High MaxBeta Was this translation helpful? Give feedback.
All reactions