You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by cb...@apache.org on 2016/03/30 09:54:13 UTC

svn commit: r1737082 - /xmlgraphics/fop/trunk/fop-core/pom.xml

Author: cbowditch
Date: Wed Mar 30 07:54:13 2016
New Revision: 1737082

URL: http://svn.apache.org/viewvc?rev=1737082&view=rev
Log:
move findbugs plugin into a profile so its not run as part of install unless the profile is enabled

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=1737082&r1=1737081&r2=1737082&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/pom.xml (original)
+++ xmlgraphics/fop/trunk/fop-core/pom.xml Wed Mar 30 07:54:13 2016
@@ -322,26 +322,6 @@
           </execution>
         </executions>
       </plugin>
-      <!-- code analysis - findbugs -->
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>${findbugs.plugin.version}</version>
-        <configuration>
-          <excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
-          <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>
       <resource>
@@ -366,4 +346,32 @@
     </testResources>
   </build>
 
+  <profiles>
+    <profile>
+    <id>runFindbugs</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>findbugs-maven-plugin</artifactId>
+            <version>${findbugs.plugin.version}</version>
+            <configuration>
+              <excludeFilterFile>src/tools/resources/findbugs/exclusions.xml</excludeFilterFile>
+              <effort>Max</effort>
+              <threshold>Low</threshold>
+            </configuration>
+            <executions>
+              <execution>
+                <id>verify</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org