ctubbsii commented on code in PR #173: URL: https://github.com/apache/maven-apache-parent/pull/173#discussion_r1373953619
########## pom.xml: ########## @@ -181,6 +182,11 @@ under the License. <artifactId>maven-clean-plugin</artifactId> <version>${version.maven-clean-plugin}</version> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>${version.maven-checkstyle-plugin}</version> + </plugin> Review Comment: The only problem with this is that the maven-checkstyle-plugin often uses a very old version of checkstyle, so to be useful to users, they still often have to define the plugin to override the dependency, as in: ```xml <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>10.12.2</version> </dependency> </dependencies> <executions> <execution> <id>check-style</id> <goals> <goal>check</goal> </goals> <configuration> <!-- execution configuration here --> </configuration> </execution> </executions> </plugin> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org