Skip to content

Commit cc20762

Browse files
committed
Update framework dependency and add spotbugs exclusions.
1 parent 64a3a3b commit cc20762

File tree

2 files changed

+50
-2
lines changed

2 files changed

+50
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
<org.apache.http.impl.client.version.range>[4.3.1.wso2v2,5.0.0)</org.apache.http.impl.client.version.range>
6363
<org.apache.http.message.version.range>[4.3.3, 5.0.0)</org.apache.http.message.version.range>
6464
<com.google.code.gson.version>2.8.6</com.google.code.gson.version>
65-
<org.wso2.carbon.identity.framework.version>7.8.110</org.wso2.carbon.identity.framework.version>
65+
<org.wso2.carbon.identity.framework.version>7.8.111</org.wso2.carbon.identity.framework.version>
6666
<org.wso2.carbon.identity.core.version>7.8.84</org.wso2.carbon.identity.core.version>
67-
<org.wso2.carbon.identity.framework.version.range>[7.8.84, 8.0.0)</org.wso2.carbon.identity.framework.version.range>
67+
<org.wso2.carbon.identity.framework.version.range>[7.8.111, 8.0.0)</org.wso2.carbon.identity.framework.version.range>
6868

6969
<maven.bundle.plugin.version>3.2.0</maven.bundle.plugin.version>
7070
<maven.buildnumber.plugin.version>1.4</maven.buildnumber.plugin.version>

spotbugs-exclude.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright (c) 2025, WSO2 Inc. (http://www.wso2.org).
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
<FindBugsFilter>
18+
<!--
19+
There seems to be a bug in findbug, unable to read some bytecodes generated by java 11
20+
properly, when try-with-resource pattern is used. This fails the following classes.
21+
Please remove this exclusion when findbug plugin us updated from
22+
org.codehaus.mojo:findbugs-maven-plugin-3.0.5 to a newer one which has the fix for the issue.
23+
references,
24+
https://github.com/spotbugs/spotbugs/issues/756
25+
-->
26+
<Match>
27+
<Class name="org.wso2.carbon.identity.role.mgt.core.dao.GroupDAOImpl" />
28+
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
29+
</Match>
30+
<Match>
31+
<Class name="org.wso2.carbon.identity.role.mgt.core.dao.RoleDAOImpl" />
32+
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
33+
</Match>
34+
<Match>
35+
<Class name="org.wso2.carbon.identity.role.v2.mgt.core.dao.GroupDAOImpl" />
36+
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
37+
</Match>
38+
<Match>
39+
<Class name="org.wso2.carbon.identity.role.v2.mgt.core.dao.RoleDAOImpl" />
40+
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
41+
</Match>
42+
<Match>
43+
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,MS_EXPOSE_REP"/>
44+
</Match>
45+
<Match>
46+
<Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED"/>
47+
</Match>
48+
</FindBugsFilter>

0 commit comments

Comments
 (0)