Browse Source

Avoid the need to run checkstyle and findbugs separately and integrate them into the build process; checkstyle runs in validate (pre-compile) phase and findbugs runs in verify (post-compile) phase

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1736460 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_2
Chris Bowditch 8 years ago
parent
commit
2f69dd714e
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      fop-core/pom.xml

+ 19
- 0
fop-core/pom.xml View File

</plugin> </plugin>
<!-- code analysis - checkstyle --> <!-- code analysis - checkstyle -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<configuration> <configuration>
<configLocation>${project.baseUri}src/tools/resources/checkstyle/checkstyle.xml</configLocation> <configLocation>${project.baseUri}src/tools/resources/checkstyle/checkstyle.xml</configLocation>
<suppressionsLocation>${project.baseUri}src/tools/resources/checkstyle/suppressions.xml</suppressionsLocation> <suppressionsLocation>${project.baseUri}src/tools/resources/checkstyle/suppressions.xml</suppressionsLocation>
<violationSeverity>warning</violationSeverity> <violationSeverity>warning</violationSeverity>
</configuration> </configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
<!-- code analysis - findbugs --> <!-- code analysis - findbugs -->
<plugin> <plugin>
<effort>Max</effort> <effort>Max</effort>
<threshold>Low</threshold> <threshold>Low</threshold>
</configuration> </configuration>
<executions>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
<resources> <resources>

Loading…
Cancel
Save