Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J2-1576-revapi [created] 825d099aa


LOG4J2-1576 added revapi:check goals to build and revapi:report goals to site. 
Ignoring Scala modules (no previous version to compare against)


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/825d099a
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/825d099a
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/825d099a

Branch: refs/heads/LOG4J2-1576-revapi
Commit: 825d099aa405c01bb694674498e3bd6cc9e84a73
Parents: d59bb71
Author: rpopma <rpo...@apache.org>
Authored: Mon Sep 19 22:25:57 2016 +0900
Committer: rpopma <rpo...@apache.org>
Committed: Mon Sep 19 22:25:57 2016 +0900

----------------------------------------------------------------------
 log4j-1.2-api/pom.xml        | 34 +++++++++++++++++++++++++++++++++
 log4j-api-scala_2.10/pom.xml | 36 +++++++++++++++++++++++++++++++++++
 log4j-api-scala_2.11/pom.xml | 36 +++++++++++++++++++++++++++++++++++
 log4j-api/pom.xml            | 34 +++++++++++++++++++++++++++++++++
 log4j-bom/pom.xml            | 14 +++++++++++++-
 log4j-core/pom.xml           | 34 +++++++++++++++++++++++++++++++++
 log4j-flume-ng/pom.xml       | 34 +++++++++++++++++++++++++++++++++
 log4j-iostreams/pom.xml      | 34 +++++++++++++++++++++++++++++++++
 log4j-jcl/pom.xml            | 34 +++++++++++++++++++++++++++++++++
 log4j-jmx-gui/pom.xml        | 34 +++++++++++++++++++++++++++++++++
 log4j-jul/pom.xml            | 34 +++++++++++++++++++++++++++++++++
 log4j-liquibase/pom.xml      | 34 +++++++++++++++++++++++++++++++++
 log4j-nosql/pom.xml          | 34 +++++++++++++++++++++++++++++++++
 log4j-slf4j-impl/pom.xml     | 34 +++++++++++++++++++++++++++++++++
 log4j-taglib/pom.xml         | 34 +++++++++++++++++++++++++++++++++
 log4j-to-slf4j/pom.xml       | 34 +++++++++++++++++++++++++++++++++
 log4j-web/pom.xml            | 34 +++++++++++++++++++++++++++++++++
 pom.xml                      | 40 +++++++++++++++++++++++++++++++++++++++
 18 files changed, 601 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-1.2-api/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-1.2-api/pom.xml b/log4j-1.2-api/pom.xml
index 779f050..c56bcf9 100644
--- a/log4j-1.2-api/pom.xml
+++ b/log4j-1.2-api/pom.xml
@@ -113,11 +113,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-api-scala_2.10/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-api-scala_2.10/pom.xml b/log4j-api-scala_2.10/pom.xml
index 6a1382e..6c6ef2a 100644
--- a/log4j-api-scala_2.10/pom.xml
+++ b/log4j-api-scala_2.10/pom.xml
@@ -112,11 +112,47 @@
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <skip>true</skip>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-api-scala_2.11/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-api-scala_2.11/pom.xml b/log4j-api-scala_2.11/pom.xml
index 74ba6b1..f2f9ad1 100644
--- a/log4j-api-scala_2.11/pom.xml
+++ b/log4j-api-scala_2.11/pom.xml
@@ -112,11 +112,47 @@
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <skip>true</skip>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-api/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml
index 40496c8..79c3fe0 100644
--- a/log4j-api/pom.xml
+++ b/log4j-api/pom.xml
@@ -128,11 +128,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>clirr-maven-plugin</artifactId>
         <version>${clirr.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-bom/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-bom/pom.xml b/log4j-bom/pom.xml
index 7859b07..0629c5d 100644
--- a/log4j-bom/pom.xml
+++ b/log4j-bom/pom.xml
@@ -139,7 +139,19 @@
         <artifactId>apache-rat-plugin</artifactId>
         <version>0.12</version>
       </plugin>
-    </plugins>
+      <!-- Revapi report -->
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>0.5.1</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.revapi</groupId>
+            <artifactId>revapi-java</artifactId>
+            <version>0.10.1</version>
+          </dependency>
+        </dependencies>
+      </plugin>    </plugins>
   </build>
 
   <scm>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-core/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml
index 6630e9f..57834ad 100644
--- a/log4j-core/pom.xml
+++ b/log4j-core/pom.xml
@@ -408,11 +408,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-flume-ng/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-flume-ng/pom.xml b/log4j-flume-ng/pom.xml
index 1f95db0..b6d8efd 100644
--- a/log4j-flume-ng/pom.xml
+++ b/log4j-flume-ng/pom.xml
@@ -154,11 +154,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-iostreams/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-iostreams/pom.xml b/log4j-iostreams/pom.xml
index a497f85..6ec2dba 100644
--- a/log4j-iostreams/pom.xml
+++ b/log4j-iostreams/pom.xml
@@ -99,11 +99,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-jcl/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-jcl/pom.xml b/log4j-jcl/pom.xml
index dd88ffc..85dc19f 100644
--- a/log4j-jcl/pom.xml
+++ b/log4j-jcl/pom.xml
@@ -89,11 +89,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-jmx-gui/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-jmx-gui/pom.xml b/log4j-jmx-gui/pom.xml
index 240eaf1..f1f160a 100644
--- a/log4j-jmx-gui/pom.xml
+++ b/log4j-jmx-gui/pom.xml
@@ -83,11 +83,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-jul/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-jul/pom.xml b/log4j-jul/pom.xml
index 2a1c448..d32abb2 100644
--- a/log4j-jul/pom.xml
+++ b/log4j-jul/pom.xml
@@ -105,11 +105,45 @@
                 </excludes>
             </configuration>
         </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-liquibase/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-liquibase/pom.xml b/log4j-liquibase/pom.xml
index 76276c4..83bc78e 100644
--- a/log4j-liquibase/pom.xml
+++ b/log4j-liquibase/pom.xml
@@ -140,11 +140,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-nosql/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-nosql/pom.xml b/log4j-nosql/pom.xml
index 6a75bcf..87a2eda 100644
--- a/log4j-nosql/pom.xml
+++ b/log4j-nosql/pom.xml
@@ -81,11 +81,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-slf4j-impl/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-slf4j-impl/pom.xml b/log4j-slf4j-impl/pom.xml
index 21b02b1..c7905cb 100644
--- a/log4j-slf4j-impl/pom.xml
+++ b/log4j-slf4j-impl/pom.xml
@@ -154,11 +154,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-taglib/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-taglib/pom.xml b/log4j-taglib/pom.xml
index a037cc1..9f5128a 100644
--- a/log4j-taglib/pom.xml
+++ b/log4j-taglib/pom.xml
@@ -109,11 +109,45 @@
           <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-to-slf4j/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-to-slf4j/pom.xml b/log4j-to-slf4j/pom.xml
index 955bc04..d25c508 100644
--- a/log4j-to-slf4j/pom.xml
+++ b/log4j-to-slf4j/pom.xml
@@ -94,11 +94,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/log4j-web/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-web/pom.xml b/log4j-web/pom.xml
index 3a134b0..b317736 100644
--- a/log4j-web/pom.xml
+++ b/log4j-web/pom.xml
@@ -89,11 +89,45 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+          <oldArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${revapi.oldVersion}</artifact>
+          </oldArtifacts>
+          <newArtifacts>
+            
<artifact>${project.groupId}:${project.artifactId}:${project.version}</artifact>
+          </newArtifacts>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
         <version>${changes.plugin.version}</version>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/825d099a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 51f8c6a..048324c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -188,6 +188,8 @@
     <Log4jReleaseKey>B3D8E1BA</Log4jReleaseKey>
     <!-- <Log4jReleaseManager>Matt Sicker</Log4jReleaseManager>
     <Log4jReleaseKey>FA1C814D</Log4jReleaseKey> -->
+    <!-- The version to compare the current artifacts against for binary 
compatibility. -->
+    <revapi.oldVersion>2.6.2</revapi.oldVersion>
     <!-- note that any properties you want available in velocity templates 
must not use periods! -->
     <slf4jVersion>1.7.21</slf4jVersion>
     <logbackVersion>1.1.7</logbackVersion>
@@ -226,6 +228,8 @@
     <!-- Allow Clirr severity to be overriden by the command-line option 
-DminSeverity=level -->
     <minSeverity>info</minSeverity>
     <jctoolsVersion>1.2.1</jctoolsVersion>
+    <revapi.maven.plugin.version>0.5.1</revapi.maven.plugin.version>
+    <revapi.java.version>0.10.1</revapi.java.version>
   </properties>
   <pluginRepositories>
     <pluginRepository>
@@ -1119,10 +1123,46 @@
           </excludes>
         </configuration>
       </plugin>
+
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.revapi</groupId>
+            <artifactId>revapi-java</artifactId>
+            <version>${revapi.java.version}</version>
+          </dependency>
+        </dependencies>
+        <configuration>
+        </configuration>
+        <executions>
+          <execution>
+            <id>api-check</id>
+            <goals><goal>check</goal></goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
+      <plugin>
+        <groupId>org.revapi</groupId>
+        <artifactId>revapi-maven-plugin</artifactId>
+        <version>${revapi.maven.plugin.version}</version>
+        <configuration>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <id>api-check</id>
+            <reports>
+              <report>report-aggregate</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
       <!-- Changes report -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

Reply via email to