aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core/pom.xml
diff options
context:
space:
mode:
authorChris Bowditch <cbowditch@apache.org>2016-03-24 16:16:47 +0000
committerChris Bowditch <cbowditch@apache.org>2016-03-24 16:16:47 +0000
commit2f69dd714e02012a0bc2ba99b5926c693828e77f (patch)
tree3eb7f10f55b34c0fe4c4a7db7861120d2c3e7a2d /fop-core/pom.xml
parent82c958cf82240210e6e6b6b016a7c4c8e82cf155 (diff)
downloadxmlgraphics-fop-2f69dd714e02012a0bc2ba99b5926c693828e77f.tar.gz
xmlgraphics-fop-2f69dd714e02012a0bc2ba99b5926c693828e77f.zip
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
Diffstat (limited to 'fop-core/pom.xml')
-rw-r--r--fop-core/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/fop-core/pom.xml b/fop-core/pom.xml
index ad721832b..4fcb4cb6a 100644
--- a/fop-core/pom.xml
+++ b/fop-core/pom.xml
@@ -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>