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
pull/3/head
Chris Bowditch 8 years ago
parent
commit
675a7bb874
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      fop-core/pom.xml

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

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

Loading…
Cancel
Save