summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2023-04-19 16:52:14 +0100
committerToineSiebelink <toine.siebelink@est.tech>2023-04-20 12:05:18 +0100
commit17c24efd4babc61a818fef26ce56954b703fbfb7 (patch)
tree4a214a413593edd22a2cc7c99c47e5eb0f0fbae0 /src/main/resources
parent3c6ab2322d81d98a26e697cecdb5c4d6da548e81 (diff)
Align dependencies with CPS/NCMP
- Updated several generic dependecies - Changed OpenAPI to use core.v3 version - Order of parameters in generated controlelr code changed - Some maven plugins can uses 'latest' version (affected OpenApi code gen) - set some lib versions for csit test - removed spotbug exclusion file (it alwasy used CPS version of this file anyway) - removed @Valid annotaions in affect file (as agrred long time back) Issue-ID: CPS-1627 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ib355382df68ed440618737067590631c7c3a1c8b
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/spotbugs-exclude.xml54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/main/resources/spotbugs-exclude.xml b/src/main/resources/spotbugs-exclude.xml
deleted file mode 100644
index e8a1f6e2..00000000
--- a/src/main/resources/spotbugs-exclude.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<!--
- ============LICENSE_START=======================================================
- Copyright (C) 2021 Nordix Foundation.
- ================================================================================
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ============LICENSE_END=========================================================
--->
-
-<FindBugsFilter>
- <Match>
- <!-- Ignore generated code -->
- <Source name="~.*generated-sources.*.java"/>
- </Match>
- <Match>
- <Or>
- <!-- Anonymous inner classes are very common. -->
- <Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" />
-
- <!-- We use static slf4j Logger (this rule is from KengoTODA/findbugs-slf4j jp.skypencil.findbugs.slf4:bug-pattern) -->
- <Bug pattern="SLF4J_LOGGER_SHOULD_BE_NON_STATIC" />
-
- <!-- Guava 25.1+ uses the Checker Framework's @Nullable which SpotBugs doesn't handle correctly, even though it's
- supposed to; see https://github.com/spotbugs/spotbugs/issues/743 -->
- <Bug pattern="NP_NONNULL_PARAM_VIOLATION" />
- <Bug pattern="NP_NULL_PARAM_DEREF" />
- <Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
- <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
-
- <!-- https://stackoverflow.com/a/34674776. Doesn't detect Lombok All Args Constructor variables being used with map get key and value, which can lead to spotbugs being detected
- on used fields -->
- <Bug pattern="URF_UNREAD_FIELD"/>
-
- <!-- https://github.com/spotbugs/spotbugs/issues/511. Strict reading of Object.equals() contract means that
- evenever equals() behaviour is defined, all implementations need to adhere to it. The only reason
- to override the method (assuming correct API design, of course) is to provide a more efficient
- implementation. This rule would be forcing a @SuppressFBWarnings on perfectly compliant classes. -->
- <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
-
- <!-- https://github.com/spotbugs/spotbugs/issues/756. spotbugs does not grok Java 11's try-with-resources -->
- <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
- </Or>
- </Match>
-
-</FindBugsFilter>