Author: cbowditch
Date: Thu Mar 24 16:16:47 2016
New Revision: 1736460

URL: http://svn.apache.org/viewvc?rev=1736460&view=rev
Log:
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

Modified:
    xmlgraphics/fop/trunk/fop-core/pom.xml

Modified: xmlgraphics/fop/trunk/fop-core/pom.xml
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/pom.xml?rev=1736460&r1=1736459&r2=1736460&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/pom.xml (original)
+++ xmlgraphics/fop/trunk/fop-core/pom.xml Thu Mar 24 16:16:47 2016
@@ -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>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to