README.md: update example usage
This commit is contained in:
parent
a5d2a300f9
commit
8738afea8b
2 changed files with 98 additions and 76 deletions
19
README.md
19
README.md
|
@ -39,15 +39,18 @@ from the previous.
|
||||||
|
|
||||||
````
|
````
|
||||||
<properties>
|
<properties>
|
||||||
|
<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>0.2.0</kemitix-checkstyle-ruleset.version>
|
||||||
</properties>
|
</properties>
|
||||||
<pluginManagement>
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
<version>${maven.checkstyle.plugin.version}</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.puppycrawl.tools</groupId>
|
<groupId>com.puppycrawl.tools</groupId>
|
||||||
|
@ -70,8 +73,8 @@ from the previous.
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin><!-- maven-checkstyle-plugin -->
|
</plugin><!-- maven-checkstyle-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
@ -86,7 +89,15 @@ from the previous.
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin><!-- maven-checkstyle-plugin -->
|
</plugin><!-- maven-checkstyle-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>sevntu-maven</id>
|
||||||
|
<name>sevntu-maven</name>
|
||||||
|
<url>http://sevntu-checkstyle.github.io/sevntu.checkstyle/maven2</url>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
````
|
````
|
||||||
|
|
||||||
## All Checks
|
## All Checks
|
||||||
|
|
|
@ -39,15 +39,18 @@ from the previous.
|
||||||
|
|
||||||
````
|
````
|
||||||
<properties>
|
<properties>
|
||||||
|
<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>0.2.0</kemitix-checkstyle-ruleset.version>
|
||||||
</properties>
|
</properties>
|
||||||
<pluginManagement>
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
<version>${maven.checkstyle.plugin.version}</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.puppycrawl.tools</groupId>
|
<groupId>com.puppycrawl.tools</groupId>
|
||||||
|
@ -70,8 +73,8 @@ from the previous.
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin><!-- maven-checkstyle-plugin -->
|
</plugin><!-- maven-checkstyle-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
@ -86,7 +89,15 @@ from the previous.
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin><!-- maven-checkstyle-plugin -->
|
</plugin><!-- maven-checkstyle-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>sevntu-maven</id>
|
||||||
|
<name>sevntu-maven</name>
|
||||||
|
<url>http://sevntu-checkstyle.github.io/sevntu.checkstyle/maven2</url>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
````
|
````
|
||||||
|
|
||||||
## All Checks
|
## All Checks
|
||||||
|
|
Loading…
Reference in a new issue