diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml
index bfdd6895e0c..ebaf99a4074 100644
--- a/modules/swagger-codegen-maven-plugin/pom.xml
+++ b/modules/swagger-codegen-maven-plugin/pom.xml
@@ -32,7 +32,7 @@
org.apache.maven
maven-compat
- 3.2.5
+ 3.8.1
org.apache.maven