diff options
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> |