distribution: 'temurin'
cache: maven
- name: Build with Maven
- run: mvn -B package checkstyle:check findbugs:check --file pom.xml
+ run: mvn -B package checkstyle:check spotbugs:check --file pom.xml
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
#- name: Update dependency graph
</plugin>
<!-- code analysis - checkstyle -->
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
<version>${findbugs.plugin.version}</version>
<configuration>
<excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
<build>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
<version>${findbugs.plugin.version}</version>
<configuration>
<excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
</plugin>
<!-- code analysis - findbugs -->
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
<version>${findbugs.plugin.version}</version>
<configuration>
<excludeFilterFile>../fop-core/src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
</plugin>
<!-- code analysis - findbugs -->
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
<version>${findbugs.plugin.version}</version>
<configuration>
<excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
</plugin>
<!-- code analysis - findbugs -->
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
<version>${findbugs.plugin.version}</version>
<configuration>
<excludeFilterFile>../fop-core/src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
<commons.logging.version>1.0.4</commons.logging.version>
<compiler.plugin.version>3.11.0</compiler.plugin.version>
<exec.plugin.version>1.4.0</exec.plugin.version>
- <findbugs.plugin.version>3.0.4</findbugs.plugin.version>
+ <findbugs.plugin.version>3.1.12.2</findbugs.plugin.version>
<jar.plugin.version>3.1.1</jar.plugin.version>
<java.version>8</java.version>
<junit.version>4.11</junit.version>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.plugin.version}</version>
</plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>${findbugs.plugin.version}</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>