1
0

Add checkstyle to default goal.

This commit is contained in:
Gary Gregory
2020-12-15 09:53:19 -05:00
parent 58bdb0842c
commit f90d7f92ea

13
pom.xml
View File

@@ -179,7 +179,7 @@ under the License.
<build>
<!-- TODO spotbugs:check -->
<!-- TODO replace clirr:check with japicmp:cmp -->
<defaultGoal>clean apache-rat:check clirr:check javadoc:javadoc package</defaultGoal>
<defaultGoal>clean apache-rat:check clirr:check javadoc:javadoc checkstyle:check package</defaultGoal>
<plugins>
<!--
@@ -458,6 +458,17 @@ under the License.
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.7</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerFile>${basedir}/license-header.txt</headerFile>
</configuration>
</plugin>
</plugins>
</build>