aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
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>