This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch 1.X in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit 00e08c97d297a4e7f04394d9cc2781686e4243c8 Author: Gary D. Gregory <[email protected]> AuthorDate: Wed Dec 25 18:32:26 2024 -0500 Add checkstyle to default Maven goal --- pom.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f9f320fb..dd96e341 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ </dependencies> <build> - <defaultGoal>clean apache-rat:check verify japicmp:cmp javadoc:javadoc</defaultGoal> + <defaultGoal>clean apache-rat:check verify japicmp:cmp javadoc:javadoc checkstyle:check</defaultGoal> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -137,6 +137,16 @@ <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation> + <suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + <enableRulesSummary>false</enableRulesSummary> + <resourceExcludes>NOTICE.txt,LICENSE.txt,**/pom.properties,target/**.properties,</resourceExcludes> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins>
