diff options
author | Chris Bowditch <cbowditch@apache.org> | 2016-03-30 07:54:13 +0000 |
---|---|---|
committer | Chris Bowditch <cbowditch@apache.org> | 2016-03-30 07:54:13 +0000 |
commit | ccfebcf0bd0f00f28df042c261132e58c25cbaeb (patch) | |
tree | ba5d870360e66096b8d7130eaa12c3835576c72e /fop-core/pom.xml | |
parent | 1f5a254a57c081e092d8ff009a28e5975be71618 (diff) | |
download | xmlgraphics-fop-ccfebcf0bd0f00f28df042c261132e58c25cbaeb.tar.gz xmlgraphics-fop-ccfebcf0bd0f00f28df042c261132e58c25cbaeb.zip |
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
Diffstat (limited to 'fop-core/pom.xml')
-rw-r--r-- | fop-core/pom.xml | 48 |
1 files changed, 28 insertions, 20 deletions
diff --git a/fop-core/pom.xml b/fop-core/pom.xml index 4fcb4cb6a..794ce86e5 100644 --- a/fop-core/pom.xml +++ b/fop-core/pom.xml @@ -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> |