Add json schema for events
[cps.git] / spotbugs / src / main / resources / spotbugs-exclude.xml
index 7fdda73..059b560 100644 (file)
@@ -1,7 +1,26 @@
+<!--
+  ============LICENSE_START=======================================================
+  Copyright (c) 2021 Pantheon.tech.
+  Modifications Copyright (C) 2021 Bell Canada.
+  ================================================================================
+  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 from Antlr4 -->
-    <Package name="org.onap.cps.cpspath.parser.antlr4" />
+    <!-- Ignore generated code -->
+    <Source name="~.*generated-sources.*.java"/>
   </Match>
   <Match>
     <Or>
@@ -28,4 +47,5 @@
       <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
     </Or>
   </Match>
+
 </FindBugsFilter>