<checkstyle-plugin.version>2.17</checkstyle-plugin.version>
<checkstyleruntime.version>6.19</checkstyleruntime.version>
- <checkstyle.config.location>${project.basedir}/checkstyle.xml</checkstyle.config.location>
- <checkstyle.suppressions.location>${project.basedir}/checkstyle-suppressions.xml</checkstyle.suppressions.location>
+ <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
+ <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
<checkstyle.enable.rss>false</checkstyle.enable.rss>
<pmd-plugin.version>3.7</pmd-plugin.version>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd-plugin.version}</version>
+ <configuration>
+ <rulesets>
+ <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
+ </rulesets>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-plugin.version}</version>
<version>${pmd-plugin.version}</version>
<configuration>
<rulesets>
- <ruleset>${project.basedir}/pmdrules.xml</ruleset>
+ <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
</rulesets>
</configuration>
<reportSets>