Skip to content

Commit 51c5397

Browse files
committed
upgrade spotbugs and exclude generated
1 parent 5d2494d commit 51c5397

3 files changed

Lines changed: 13 additions & 16 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: Test Java build
4444
working-directory: ./wdl-parsing/WDLParsingFunction
45-
run: mvn clean install
45+
run: mvn -B -ntp clean install
4646

4747
- name: Test wdl parsing with SAM CLI build and invoke
4848
working-directory: ./wdl-parsing
Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Ignore generated files that we have little control over -->
3-
<FindBugsFilter>
4-
<Match>
5-
<Source name="WorkflowsApi.java"/>
6-
</Match>
7-
<Match>
8-
<Source name="ServerVariable.java"/>
9-
</Match>
10-
<Match>
11-
<Source name="ServerConfiguration.java"/>
12-
</Match>
13-
<Match>
14-
<Source name="ApiClient.java"/>
15-
</Match>
2+
<FindBugsFilter
3+
xmlns="https://github.com/spotbugs/filter/4.10.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="https://github.com/spotbugs/filter/4.10.0 https://raw.githubusercontent.com/spotbugs/spotbugs/4.10.0/spotbugs/etc/findbugsfilter.xsd">
6+
7+
<!-- All bugs in generated classes -->
8+
<Match>
9+
<Class name="~.*\.*dockstore.openapi.client.*" />
10+
</Match>
1611
</FindBugsFilter>
12+
13+

wdl-parsing/WDLParsingFunction/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
<plugin>
222222
<groupId>com.github.spotbugs</groupId>
223223
<artifactId>spotbugs-maven-plugin</artifactId>
224-
<version>4.0.4</version>
224+
<version>4.9.8.3</version>
225225
<configuration>
226226
<excludeFilterFile>${project.basedir}/ignore.xml</excludeFilterFile>
227227
</configuration>

0 commit comments

Comments
 (0)