checkstyle java code example
Example: checkstyle in java
<reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.0.0</version> <configuration> <configLocation>checkstyle.xml</configLocation> </configuration> </plugin> </plugins></reporting>