diff --git a/diktat-maven-plugin/pom.xml b/diktat-maven-plugin/pom.xml
index ad22c74473..5778ae1f52 100644
--- a/diktat-maven-plugin/pom.xml
+++ b/diktat-maven-plugin/pom.xml
@@ -32,7 +32,7 @@
org.apache.maven.plugin-tools
maven-plugin-annotations
- 3.6.0
+ ${maven-plugin-tools.version}
org.jetbrains.kotlin
diff --git a/pom.xml b/pom.xml
index 2ab3e121cf..567873d19e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,6 +55,7 @@
1.16.0
1.4.32
0.8.6
+ 3.6.1
@@ -192,7 +193,7 @@
org.apache.maven.plugins
maven-plugin-plugin
- 3.6.0
+ ${maven-plugin-tools.version}
org.apache.maven.plugins