commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1754062 - /commons/proper/commons-parent/trunk/pom.xml
Date Tue, 26 Jul 2016 01:41:01 GMT
Author: chas
Date: Tue Jul 26 01:41:01 2016
New Revision: 1754062

URL: http://svn.apache.org/viewvc?rev=1754062&view=rev
Log:
COMMONSSITE-89: Support both clirr and japicmp

Modified:
    commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1754062&r1=1754061&r2=1754062&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Tue Jul 26 01:41:01 2016
@@ -360,6 +360,17 @@ Version 39:
         </plugin>
         <!-- Other plugins, alpha order by groupId and artifactId -->
         <plugin>
+          <groupId>com.github.siom79.japicmp</groupId>
+          <artifactId>japicmp-maven-plugin</artifactId>
+          <version>${commons.japicmp.version}</version>
+          <configuration>
+            <parameter>
+              <onlyModified>true</onlyModified>
+              <breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
+            </parameter>
+          </configuration>
+        </plugin>
+        <plugin>
           <groupId>org.apache.commons</groupId>
           <artifactId>commons-build-plugin</artifactId>
           <version>${commons.build-plugin.version}</version>
@@ -743,14 +754,6 @@ Version 39:
       </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
-        <artifactId>clirr-maven-plugin</artifactId>
-        <version>${commons.clirr.version}</version>
-        <configuration>
-          <minSeverity>${minSeverity}</minSeverity>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
         <artifactId>jdepend-maven-plugin</artifactId>
         <version>${commons.jdepend.version}</version>
       </plugin>
@@ -977,6 +980,59 @@ Version 39:
       </reporting>
     </profile>
 
+    <profile>
+      <id>clirr</id>
+      <activation>
+        <file>
+          <exists>src/site/resources/profile.clirr</exists>
+        </file>
+      </activation>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>clirr-maven-plugin</artifactId>
+            <version>${commons.clirr.version}</version>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+
+    <!-- alternative to clirr, will fail build if binary compatibility is broken -->
+    <profile>
+      <id>japicmp</id>
+      <activation>
+        <file>
+          <exists>src/site/resources/profile.japicmp</exists>
+        </file>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>com.github.siom79.japicmp</groupId>
+            <artifactId>japicmp-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>cmp</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>com.github.siom79.japicmp</groupId>
+            <artifactId>japicmp-maven-plugin</artifactId>
+            <version>${commons.japicmp.version}</version>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+
     <!--
          Profile for Commons releases via Nexus.
          Assembles artifacts, creates source and javadoc jars, signs them and adds hashes.
@@ -1402,6 +1458,7 @@ Version 39:
     <commons.rat.version>0.12</commons.rat.version>
     <commons.changes.version>2.12</commons.changes.version>
     <commons.clirr.version>2.7</commons.clirr.version>
+    <commons.japicmp.version>0.8.0</commons.japicmp.version>
     <commons.jxr.version>2.5</commons.jxr.version>
     <commons.project-info.version>2.9</commons.project-info.version>
     <commons.wagon-ssh.version>2.10</commons.wagon-ssh.version>



Mime
View raw message