diff --git a/flink-kubernetes-operator-api/pom.xml b/flink-kubernetes-operator-api/pom.xml
index 71b59abcc..21b635e5e 100644
--- a/flink-kubernetes-operator-api/pom.xml
+++ b/flink-kubernetes-operator-api/pom.xml
@@ -70,7 +70,7 @@ under the License.
io.fabric8
- crd-generator-apt
+ crd-generator-api-v2
${fabric8.version}
provided
@@ -288,6 +288,18 @@ under the License.
+
+ io.fabric8
+ crd-generator-maven-plugin
+ ${fabric8.version}
+
+
+
+ generate
+
+
+
+