This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit b3c74bfe3a79e5bc4bb793fcb6b7e4053ccc4f82 Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Mon May 7 15:37:55 2018 +0200 Use same maven-checkstyle-plugin version Seems that the version used in `camel-spring-boot-dm` differs from the version we use in `camel-parent` this sets the version to 3.0.0 and aligns the configuration. --- platforms/spring-boot/spring-boot-dm/pom.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/platforms/spring-boot/spring-boot-dm/pom.xml b/platforms/spring-boot/spring-boot-dm/pom.xml index 99a7e1e..df4feb1 100644 --- a/platforms/spring-boot/spring-boot-dm/pom.xml +++ b/platforms/spring-boot/spring-boot-dm/pom.xml @@ -58,7 +58,7 @@ <groovy-version>2.4.15</groovy-version> <!-- Plugin versions --> - <maven-checkstyle-plugin-version>2.17</maven-checkstyle-plugin-version> + <maven-checkstyle-plugin-version>3.0.0</maven-checkstyle-plugin-version> <maven-checkstyle-version>7.6.1</maven-checkstyle-version> </properties> @@ -90,12 +90,16 @@ <includeResources>false</includeResources> <configLocation>camel-checkstyle.xml</configLocation> <consoleOutput>true</consoleOutput> - <failsOnError>true</failsOnError> + <failsOnError>${checkstyle.failOnViolation}</failsOnError> <linkXRef>false</linkXRef> <suppressionsLocation>camel-checkstyle-suppressions.xml</suppressionsLocation> <encoding>UTF-8</encoding> - <sourceDirectory>${basedir}/src</sourceDirectory> - <excludes>**/archetype-resources/**/*.java</excludes> + <sourceDirectories> + <sourceDirectory>${basedir}/src</sourceDirectory> + </sourceDirectories> + <headerLocation>header-java.txt</headerLocation> + <includes>**/*.java,**/*.groovy,**/*.scala,**/*.properties,**/*.xml,**/*.xsd</includes> + <excludes>**/archetype-resources/**/*.java,**/archetype-resources/**/*.groovy,**/archetype-resources/**/*.scala,**/archetype-resources/**/*.xml,**/org/json/simple/**/*.java</excludes> </configuration> <goals> <goal>checkstyle</goal> -- To stop receiving notification emails like this one, please contact zregv...@apache.org.