aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorSebastian Bazley <sebb@apache.org>2016-06-05 10:56:14 +0000
committerSebastian Bazley <sebb@apache.org>2016-06-05 10:56:14 +0000
commited0519f6946f24ba4ce224d91377343cc6e74fdf (patch)
tree79552ba211c20a97a1be21809e3276ece1d9e724 /pom.xml
parent05d9a9d6f97304faa1fb532052955821ee809c03 (diff)
downloadapache-commons-bcel-ed0519f6946f24ba4ce224d91377343cc6e74fdf.tar.gz
Make it possible to disable the Clirr ignored diffs file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/bcel/trunk@1746900 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index a5c922f0..1c7887eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,6 @@
<inceptionYear>2004</inceptionYear>
<properties>
- <clirr.ignoredDifferencesFile>clirr-ignored-diffs.xml</clirr.ignoredDifferencesFile>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
@@ -384,6 +383,21 @@
</dependencies>
<profiles>
+ <!--
+ Profile to ignore certain Clirr errors
+ To show all the errors, use -P!quieten-clirr or -Dclirr.allDifferences
+ -->
+ <profile>
+ <id>quieten-clirr</id>
+ <activation>
+ <!-- Enable unless the following is defined -->
+ <property><name>!clirr.allDifferences</name></property>
+ </activation>
+ <properties>
+ <!-- It's not possible to undefine this once defined, so we define it in a profile that is normally active -->
+ <clirr.ignoredDifferencesFile>clirr-ignored-diffs.xml</clirr.ignoredDifferencesFile>
+ </properties>
+ </profile>
<!-- Profile to build and run PerformanceTest. Use 'mvn test -Pjdk-rt' -->
<profile>
<id>jdk-rt</id>