diff options
author | Sebastian Bazley <sebb@apache.org> | 2016-06-05 10:56:14 +0000 |
---|---|---|
committer | Sebastian Bazley <sebb@apache.org> | 2016-06-05 10:56:14 +0000 |
commit | ed0519f6946f24ba4ce224d91377343cc6e74fdf (patch) | |
tree | 79552ba211c20a97a1be21809e3276ece1d9e724 /pom.xml | |
parent | 05d9a9d6f97304faa1fb532052955821ee809c03 (diff) | |
download | apache-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.xml | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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> |