diff --git a/apm-checkstyle/checkStyle.xml b/apm-checkstyle/checkStyle.xml
index 254ca3818f..00b501b875 100755
--- a/apm-checkstyle/checkStyle.xml
+++ b/apm-checkstyle/checkStyle.xml
@@ -82,7 +82,9 @@
-
+
+
+
diff --git a/pom.xml b/pom.xml
index 57cb2ae02e..07bab626c9 100755
--- a/pom.xml
+++ b/pom.xml
@@ -492,7 +492,10 @@
true
true
true
- org/apache/skywalking/**/*.java
+
+ ${project.build.sourceDirectory}
+ ${project.build.testSourceDirectory}
+
**/*.properties,
**/*.sh,