Browse Source

move findbugs plugin into a profile so its not run as part of install unless the profile is enabled

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1737082 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_2
Chris Bowditch 8 years ago
parent
commit
ccfebcf0bd
1 changed files with 28 additions and 20 deletions
  1. 28
    20
      fop-core/pom.xml

+ 28
- 20
fop-core/pom.xml View File

@@ -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>

Loading…
Cancel
Save