diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml
index 30569cd58..6edc0639a 100644
--- a/.github/workflows/github-pages.yaml
+++ b/.github/workflows/github-pages.yaml
@@ -62,7 +62,7 @@ jobs:
- name: Build client_java
run: ./mvnw -B clean install -DskipTests
- name: Make Javadoc
- run: ./mvnw -B compile javadoc:javadoc javadoc:aggregate
+ run: ./mvnw -B clean compile javadoc:javadoc javadoc:aggregate
- name: Move the Javadoc to docs/static/api/
run: mv ./target/site/apidocs ./docs/static/api && echo && echo 'ls ./docs/static/api' && ls ./docs/static/api
- name: Setup Pages
diff --git a/pom.xml b/pom.xml
index 9cf80aa67..114e35d4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,13 +193,11 @@
maven-bundle-plugin
2.4.0
true
-
org.apache.maven.plugins