Use maven.multiModuleProjectDirectory

This commit is contained in:
David Turanski
2020-05-20 08:55:50 -04:00
parent d9e1685f47
commit ef57331c05
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
<maven-checkstyle-plugin.failOnViolation>true</maven-checkstyle-plugin.failOnViolation>
<maven-checkstyle-plugin.includeTestSourceDirectory>true</maven-checkstyle-plugin.includeTestSourceDirectory>
<puppycrawl-tools-checkstyle.version>8.29</puppycrawl-tools-checkstyle.version>
<checkstyle.location>../../etc/checkstyle</checkstyle.location>
<checkstyle.location>${maven.multiModuleProjectDirectory}/etc/checkstyle</checkstyle.location>
<checkstyle.suppressions.file>
${checkstyle.location}/checkstyle-suppressions.xml
</checkstyle.suppressions.file>

View File

@@ -24,7 +24,7 @@
<maven-checkstyle-plugin.failOnViolation>true</maven-checkstyle-plugin.failOnViolation>
<maven-checkstyle-plugin.includeTestSourceDirectory>true</maven-checkstyle-plugin.includeTestSourceDirectory>
<puppycrawl-tools-checkstyle.version>8.29</puppycrawl-tools-checkstyle.version>
<checkstyle.location>../etc/checkstyle</checkstyle.location>
<checkstyle.location>${maven.multiModuleProjectDirectory}/etc/checkstyle</checkstyle.location>
<checkstyle.suppressions.file>
${checkstyle.location}/checkstyle-suppressions.xml
</checkstyle.suppressions.file>