README.md: update usage example

This commit is contained in:
Paul Campbell 2017-01-09 08:31:56 +00:00
parent b414a8e602
commit 8696fb10cd
2 changed files with 6 additions and 4 deletions

View file

@ -42,7 +42,8 @@ from the previous.
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version> <maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
<checkstyle.version>7.3</checkstyle.version> <checkstyle.version>7.3</checkstyle.version>
<sevntu-checkstyle-maven-plugin.version>1.22.0</sevntu-checkstyle-maven-plugin.version> <sevntu-checkstyle-maven-plugin.version>1.22.0</sevntu-checkstyle-maven-plugin.version>
<kemitix-checkstyle-ruleset.version>0.2.0</kemitix-checkstyle-ruleset.version> <kemitix-checkstyle-ruleset.version>2.0.0</kemitix-checkstyle-ruleset.version>
<kemitix-checkstyle-ruleset.level>5-complexity</kemitix-checkstyle-ruleset.level>
</properties> </properties>
<build> <build>
<pluginManagement> <pluginManagement>
@ -69,7 +70,7 @@ from the previous.
</dependency> </dependency>
</dependencies> </dependencies>
<configuration> <configuration>
<configLocation>net/kemitix/checkstyle-5-complexity.xml</configLocation> <configLocation>net/kemitix/checkstyle-${kemitix-checkstyle-ruleset.level}.xml</configLocation>
</configuration> </configuration>
</plugin><!-- maven-checkstyle-plugin --> </plugin><!-- maven-checkstyle-plugin -->
</plugins> </plugins>

View file

@ -42,7 +42,8 @@ from the previous.
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version> <maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
<checkstyle.version>7.3</checkstyle.version> <checkstyle.version>7.3</checkstyle.version>
<sevntu-checkstyle-maven-plugin.version>1.22.0</sevntu-checkstyle-maven-plugin.version> <sevntu-checkstyle-maven-plugin.version>1.22.0</sevntu-checkstyle-maven-plugin.version>
<kemitix-checkstyle-ruleset.version>0.2.0</kemitix-checkstyle-ruleset.version> <kemitix-checkstyle-ruleset.version>2.0.0</kemitix-checkstyle-ruleset.version>
<kemitix-checkstyle-ruleset.level>5-complexity</kemitix-checkstyle-ruleset.level>
</properties> </properties>
<build> <build>
<pluginManagement> <pluginManagement>
@ -69,7 +70,7 @@ from the previous.
</dependency> </dependency>
</dependencies> </dependencies>
<configuration> <configuration>
<configLocation>net/kemitix/checkstyle-5-complexity.xml</configLocation> <configLocation>net/kemitix/checkstyle-${kemitix-checkstyle-ruleset.level}.xml</configLocation>
</configuration> </configuration>
</plugin><!-- maven-checkstyle-plugin --> </plugin><!-- maven-checkstyle-plugin -->
</plugins> </plugins>