Allow checkstyle config location to be completely overridden

This commit is contained in:
Paul Campbell 2017-12-29 18:33:31 +00:00
parent b0ad2b1436
commit 4cc136d8a5

View file

@ -5,6 +5,7 @@
<sevntu.version>1.24.1</sevntu.version> <sevntu.version>1.24.1</sevntu.version>
<ruleset.version>3.3.0</ruleset.version> <ruleset.version>3.3.0</ruleset.version>
<ruleset.level>5-complexity</ruleset.level> <ruleset.level>5-complexity</ruleset.level>
<checkstyle.ruleset.location>net/kemitix/checkstyle-${ruleset.level}.xml</checkstyle.ruleset.location>
</properties> </properties>
<build> <build>
<plugins> <plugins>
@ -30,7 +31,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
<configuration> <configuration>
<configLocation>net/kemitix/checkstyle-${ruleset.level}.xml</configLocation> <configLocation>${checkstyle.ruleset.location}</configLocation>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>