commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1746900 - /commons/proper/bcel/trunk/pom.xml
Date Sun, 05 Jun 2016 10:56:14 GMT
Author: sebb
Date: Sun Jun  5 10:56:14 2016
New Revision: 1746900

URL: http://svn.apache.org/viewvc?rev=1746900&view=rev
Log:
Make it possible to disable the Clirr ignored diffs file

Modified:
    commons/proper/bcel/trunk/pom.xml

Modified: commons/proper/bcel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/pom.xml?rev=1746900&r1=1746899&r2=1746900&view=diff
==============================================================================
--- commons/proper/bcel/trunk/pom.xml (original)
+++ commons/proper/bcel/trunk/pom.xml Sun Jun  5 10:56:14 2016
@@ -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>



Mime
View raw message