Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
e-22
Public
FindSecBugs Tutorial
Commits
d0ad56e9
Commit
d0ad56e9
authored
Sep 13, 2021
by
bqcuong
Browse files
add findsecbugs for Maven
parent
c68214dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
pom.xml
pom.xml
+23
-0
spotbugs-security-include.xml
spotbugs-security-include.xml
+5
-0
No files found.
pom.xml
View file @
d0ad56e9
...
...
@@ -13,4 +13,27 @@
<maven.compiler.target>
8
</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>
com.github.spotbugs
</groupId>
<artifactId>
spotbugs-maven-plugin
</artifactId>
<version>
4.0.4
</version>
<configuration>
<effort>
Max
</effort>
<threshold>
medium
</threshold>
<failOnError>
true
</failOnError>
<includeFilterFile>
${session.executionRootDirectory}/spotbugs-security-include.xml
</includeFilterFile>
<plugins>
<plugin>
<groupId>
com.h3xstream.findsecbugs
</groupId>
<artifactId>
findsecbugs-plugin
</artifactId>
<version>
1.10.1
</version>
</plugin>
</plugins>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
spotbugs-security-include.xml
0 → 100644
View file @
d0ad56e9
<FindBugsFilter>
<Match>
<Bug
category=
"SECURITY"
/>
</Match>
</FindBugsFilter>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment