Skip to content

Commit 31d56e4

Browse files
committed
put exclude filter directly in springboot3 module
1 parent 40f1e06 commit 31d56e4

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

aws-serverless-java-container-springboot3/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>aws-serverless-java-container</artifactId>
55
<groupId>com.amazonaws.serverless</groupId>
6-
<version>2.1.5</version>
6+
<version>2.1.3</version>
77
<relativePath>..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
@@ -30,12 +30,12 @@
3030
<dependency>
3131
<groupId>com.amazonaws.serverless</groupId>
3232
<artifactId>aws-serverless-java-container-core</artifactId>
33-
<version>2.1.5</version>
33+
<version>2.1.3</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>com.amazonaws.serverless</groupId>
3737
<artifactId>aws-serverless-java-container-core</artifactId>
38-
<version>2.1.5</version>
38+
<version>2.1.3</version>
3939
<classifier>tests</classifier>
4040
<type>test-jar</type>
4141
<scope>test</scope>
@@ -302,6 +302,9 @@
302302
<plugin>
303303
<groupId>com.github.spotbugs</groupId>
304304
<artifactId>spotbugs-maven-plugin</artifactId>
305+
<configuration>
306+
<excludeFilterFile>${project.basedir}/spotbugs-excludeFilter.xml</excludeFilterFile>
307+
</configuration>
305308
<executions>
306309
<!--
307310
Ensures that SpotBug inspects source code when project is compiled.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one
4+
~ or more contributor license agreements. See the NOTICE file
5+
~ distributed with this work for additional information
6+
~ regarding copyright ownership. The ASF licenses this file
7+
~ to you under the Apache License, Version 2.0 (the
8+
~ "License"); you may not use this file except in compliance
9+
~ with the License. You may obtain a copy of the License at
10+
~
11+
~ http://www.apache.org/licenses/LICENSE-2.0
12+
~
13+
~ Unless required by applicable law or agreed to in writing,
14+
~ software distributed under the License is distributed on an
15+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
~ KIND, either express or implied. See the License for the
17+
~ specific language governing permissions and limitations
18+
~ under the License.
19+
-->
20+
<FindBugsFilter>
21+
<!-- https://github.com/spotbugs/spotbugs/issues/1601 -->
22+
<Match>
23+
<Bug pattern="EI_EXPOSE_REP"/>
24+
</Match>
25+
<Match>
26+
<Bug pattern="EI_EXPOSE_REP2"/>
27+
</Match>
28+
</FindBugsFilter>

0 commit comments

Comments
 (0)