diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index e6b3649aaed..c840b8ac4cd 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -27,8 +27,8 @@ jobs:
java-version: '8'
distribution: 'adopt'
- - name: Javadoc
- run: mvn clean javadoc:javadoc -Djavadoc.skip=false && mv ./target/site/apidocs ./docs/book/apidocs
+ - name: Maven site
+ run: mvn clean compile site && mv ./target/site ./docs/book/site
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
diff --git a/dev/spotbugs-include.xml b/dev/spotbugs-include.xml
new file mode 100644
index 00000000000..53d46131763
--- /dev/null
+++ b/dev/spotbugs-include.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index fcb9c4e8db5..b3aa7c07e3b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -253,6 +253,29 @@
0.10.0
+
+
+
+
+ com.github.spotbugs
+ spotbugs-maven-plugin
+ 4.5.2.0
+
+ true
+
+ target/site
+ dev/spotbugs-include.xml
+
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+ 3.1.1
+
+
+
+
+
@@ -600,6 +623,29 @@
always
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ 3.7.1
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ 3.0.0
+
+
+ com.github.spotbugs
+ spotbugs-maven-plugin
+ 4.5.2.0
+
+
+
+ com.github.spotbugs
+ spotbugs
+ 4.5.3
+
+
+