]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
move findbugs plugin into a profile so its not run as part of install unless the...
authorChris Bowditch <cbowditch@apache.org>
Wed, 30 Mar 2016 07:54:13 +0000 (07:54 +0000)
committerChris Bowditch <cbowditch@apache.org>
Wed, 30 Mar 2016 07:54:13 +0000 (07:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1737082 13f79535-47bb-0310-9956-ffa450edef68

fop-core/pom.xml

index 4fcb4cb6a0221e41fd531a128739f15462b457ea..794ce86e51a674ffda81628744053995f90e6313 100644 (file)
           </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>
     </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>