Maven checkstyle not running as part of build -



Maven checkstyle not running as part of build -

i'm totally lost why not. construction this:

using mvn checkstyle:check creates reports (i have identical settings in reporting section) build treats plugin doesn't exist. if alter checkstyle version, doesn't download it, etc. treats config invisible.

<build> <pluginmanagement> <plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-checkstyle-plugin</artifactid> <version>2.13</version> <configuration> <configlocation>checkstyle.xml</configlocation> <suppressionslocation>checkstyle-suppressions.xml</suppressionslocation> <maxallowedviolations>2500</maxallowedviolations> <consoleoutput>true</consoleoutput> <failsonerror>true</failsonerror> <failonviolation>true</failonviolation> </configuration> <executions> <execution> <id>checkstyle</id> <goals> <goal>check</goal> </goals> <configuration> <encoding>utf-8</encoding> <consoleoutput>true</consoleoutput> <failsonerror>true</failsonerror> <failonviolation>true</failonviolation> </configuration> </execution> </executions> </plugin> ..... </plugins> </pluginmanagement> </build>

maven checkstyle

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -