diff --git a/chapter-04/src/main/resources/checkstyle.xml b/chapter-04/pmd/checkstyle.xml
similarity index 100%
rename from chapter-04/src/main/resources/checkstyle.xml
rename to chapter-04/pmd/checkstyle.xml
diff --git a/chapter-04/pom.xml b/chapter-04/pom.xml
index 7a17030..ec13b41 100644
--- a/chapter-04/pom.xml
+++ b/chapter-04/pom.xml
@@ -120,7 +120,7 @@
**/module-info.java,${checkstyle.excludes}
true
true
- checkstyle.xml
+ pmd/checkstyle.xml
@@ -129,8 +129,7 @@
${apache.pdm.plugin.version}
- pmd/bestpractices.xml
- pmd/codestyle.xml
+ pmd/pmd-rules.xml
/category/java/security.xml
/category/java/performance.xml