From d968a2c48f3d4952593875c9853c24cd3ccb6fa0 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 2 Jun 2024 13:07:51 +0200 Subject: [PATCH] [DOC] add spotbug documentation --- README.md | 5 +++++ spotbugs-security-exclude.xml | 5 +++++ spotbugs-security-include.xml | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 spotbugs-security-exclude.xml create mode 100644 spotbugs-security-include.xml diff --git a/README.md b/README.md index 216d737..7714712 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,12 @@ Enable the pre-commit checker > **_Note_**: You can change the code in `.git/hooks/pre-commit` by replacing `formatter:verify` with `formatter:format` to auto format the code @ every commit +Run Spot-bug: +------------ +```bash +mvn spotbugs:check +``` Add Gitea in the dependency for the registry: ============================================= diff --git a/spotbugs-security-exclude.xml b/spotbugs-security-exclude.xml new file mode 100644 index 0000000..69e87f6 --- /dev/null +++ b/spotbugs-security-exclude.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/spotbugs-security-include.xml b/spotbugs-security-include.xml new file mode 100644 index 0000000..2536805 --- /dev/null +++ b/spotbugs-security-include.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file