diff --git a/diff-java-tool/src/main/resources/pom_template.xml b/diff-java-tool/src/main/resources/pom_template.xml
index c8ba431bc..3c28fca6d 100644
--- a/diff-java-tool/src/main/resources/pom_template.xml
+++ b/diff-java-tool/src/main/resources/pom_template.xml
@@ -16,6 +16,7 @@
1.44.1
https://raw.githubusercontent.com/checkstyle/checkstyle/master/src/main/resources/google_checks.xml
true
+ ${project.basedir}/config
@@ -62,6 +63,9 @@
false
${checkstyle.failsOnError}
+
+ config.folder=${config.folder}
+