You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/07/15 14:00:42 UTC
[commons-vfs] branch master updated: Manage checktyle plugin
definition for building and reporting.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new bb19c1b Manage checktyle plugin definition for building and reporting.
bb19c1b is described below
commit bb19c1bdc08dd96d099c4c985080cb1bc50fc079
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jul 15 10:00:38 2021 -0400
Manage checktyle plugin definition for building and reporting.
---
pom.xml | 45 ++++++++++++++++++++-------------------------
1 file changed, 20 insertions(+), 25 deletions(-)
diff --git a/pom.xml b/pom.xml
index 6ba20c5..0c4805b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -269,6 +269,26 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${version.checkstyle}</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.puppycrawl.tools</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>8.41.1</version>
+ </dependency>
+ </dependencies>
+ <!-- Keep build/reporting in sync -->
+ <configuration>
+ <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
+ <configLocation>${vfs.parent.dir}/checkstyle.xml</configLocation>
+ <suppressionsLocation>${vfs.parent.dir}/checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=${basedir}</propertyExpansion>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
@@ -330,22 +350,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${version.checkstyle}</version>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>8.41.1</version>
- </dependency>
- </dependencies>
- <!-- Keep build/reporting in sync -->
- <configuration>
- <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
- <configLocation>${vfs.parent.dir}/checkstyle.xml</configLocation>
- <suppressionsLocation>${vfs.parent.dir}/checkstyle-suppressions.xml</suppressionsLocation>
- <enableRulesSummary>false</enableRulesSummary>
- <propertyExpansion>basedir=${basedir}</propertyExpansion>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
@@ -420,15 +424,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${version.checkstyle}</version>
- <!-- Keep build/reporting in sync -->
- <configuration>
- <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
- <configLocation>${vfs.parent.dir}/checkstyle.xml</configLocation>
- <suppressionsLocation>${vfs.parent.dir}/checkstyle-suppressions.xml</suppressionsLocation>
- <enableRulesSummary>false</enableRulesSummary>
- <propertyExpansion>basedir=${basedir}</propertyExpansion>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>