0

I would like to exclude a specific Folder from a Spotbug scan. I tried several solutions but none of them worked for me. Firstly I tried to write into .gitlab-ci.yml which Paths to exclude but I had no luck with that.

Secondly I created an XML File in which I specify the Folder to be excluded. And then added the XML to the SpotBug Configuration in pom.xml but that also didn't work.

Somebody got any alternate suggestions?

Mieju
  • 1
  • 1
  • Does this answer your question? [SpotBugs Maven Plugin exclude a directory](https://stackoverflow.com/questions/52336795/spotbugs-maven-plugin-exclude-a-directory) – Boris Jun 10 '21 at 06:16
  • Thanks for the suggestion. I tried but it still didn't work. – Mieju Jun 28 '21 at 10:41

0 Answers0