This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git

commit cef796fe2377e1a47734acc3d99db3deb5712459
Author: Chesnay Schepler <[email protected]>
AuthorDate: Tue Feb 1 15:10:37 2022 +0100

    [FLINK-25868][build] Enable japicmp for all modules
---
 flink-connectors/flink-hadoop-compatibility/pom.xml | 5 -----
 flink-core/pom.xml                                  | 6 ------
 flink-java/pom.xml                                  | 6 ------
 flink-metrics/flink-metrics-core/pom.xml            | 5 -----
 flink-scala/pom.xml                                 | 6 ------
 flink-streaming-java/pom.xml                        | 1 -
 flink-streaming-scala/pom.xml                       | 9 ---------
 pom.xml                                             | 6 ++++++
 8 files changed, 6 insertions(+), 38 deletions(-)

diff --git a/flink-connectors/flink-hadoop-compatibility/pom.xml 
b/flink-connectors/flink-hadoop-compatibility/pom.xml
index 1f2eac45d80..b2b6218a522 100644
--- a/flink-connectors/flink-hadoop-compatibility/pom.xml
+++ b/flink-connectors/flink-hadoop-compatibility/pom.xml
@@ -116,11 +116,6 @@ under the License.
                                        </scala>
                                </configuration>
                        </plugin>
-                       <!-- activate API compatibility checks -->
-                       <plugin>
-                               <groupId>io.github.zentol.japicmp</groupId>
-                               <artifactId>japicmp-maven-plugin</artifactId>
-                       </plugin>
                        <!-- Scala Compiler -->
                        <plugin>
                                <groupId>net.alchim31.maven</groupId>
diff --git a/flink-core/pom.xml b/flink-core/pom.xml
index 25d9c9585bf..f3e9d8e157e 100644
--- a/flink-core/pom.xml
+++ b/flink-core/pom.xml
@@ -141,12 +141,6 @@ under the License.
                                </configuration>
                        </plugin>
 
-                       <!-- activate API compatibility checks -->
-                       <plugin>
-                               <groupId>io.github.zentol.japicmp</groupId>
-                               <artifactId>japicmp-maven-plugin</artifactId>
-                       </plugin>
-
                        <!-- publish some test base classes -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
diff --git a/flink-java/pom.xml b/flink-java/pom.xml
index 95b6ee97911..681d0b2dc3d 100644
--- a/flink-java/pom.xml
+++ b/flink-java/pom.xml
@@ -70,12 +70,6 @@ under the License.
 
        <build>
                <plugins>
-                       <!-- activate API compatibility checks -->
-                       <plugin>
-                               <groupId>io.github.zentol.japicmp</groupId>
-                               <artifactId>japicmp-maven-plugin</artifactId>
-                       </plugin>
-
                        <!-- Because flink-scala, flink-avro and 
flink-hadoop-compatibility uses it in tests -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
diff --git a/flink-metrics/flink-metrics-core/pom.xml 
b/flink-metrics/flink-metrics-core/pom.xml
index eabcf75dc6e..94b999713d2 100644
--- a/flink-metrics/flink-metrics-core/pom.xml
+++ b/flink-metrics/flink-metrics-core/pom.xml
@@ -49,11 +49,6 @@ under the License.
 
        <build>
                <plugins>
-                       <!-- activate API compatibility checks -->
-                       <plugin>
-                               <groupId>io.github.zentol.japicmp</groupId>
-                               <artifactId>japicmp-maven-plugin</artifactId>
-                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
diff --git a/flink-scala/pom.xml b/flink-scala/pom.xml
index 534d8848baa..1e01b762199 100644
--- a/flink-scala/pom.xml
+++ b/flink-scala/pom.xml
@@ -156,12 +156,6 @@ under the License.
                                </configuration>
                        </plugin>
 
-                       <!-- activate API compatibility checks -->
-                       <plugin>
-                               <groupId>io.github.zentol.japicmp</groupId>
-                               <artifactId>japicmp-maven-plugin</artifactId>
-                       </plugin>
-
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
diff --git a/flink-streaming-java/pom.xml b/flink-streaming-java/pom.xml
index 71ec429dc72..524c477b364 100644
--- a/flink-streaming-java/pom.xml
+++ b/flink-streaming-java/pom.xml
@@ -100,7 +100,6 @@ under the License.
        <build>
                <plugins>
 
-                       <!-- activate API compatibility checks -->
                        <plugin>
                                <groupId>io.github.zentol.japicmp</groupId>
                                <artifactId>japicmp-maven-plugin</artifactId>
diff --git a/flink-streaming-scala/pom.xml b/flink-streaming-scala/pom.xml
index bfaa943bd5b..77e15ce9ebe 100644
--- a/flink-streaming-scala/pom.xml
+++ b/flink-streaming-scala/pom.xml
@@ -255,7 +255,6 @@ under the License.
                                </executions>
                        </plugin>
 
-                       <!-- activate API compatibility checks -->
                        <plugin>
                                <groupId>io.github.zentol.japicmp</groupId>
                                <artifactId>japicmp-maven-plugin</artifactId>
@@ -273,14 +272,6 @@ under the License.
                                                </excludes>
                                        </parameter>
                                </configuration>
-                               <executions>
-                                       <execution>
-                                               <phase>verify</phase>
-                                               <goals>
-                                                       <goal>cmp</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
                        </plugin>
 
                        <!-- Generate the test-jar -->
diff --git a/pom.xml b/pom.xml
index 5e9f97e726d..5791fc4f90b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1388,6 +1388,12 @@ under the License.
                                </configuration>
                        </plugin>
 
+                       <plugin>
+                               <!-- activate API compatibility checks -->
+                               <groupId>io.github.zentol.japicmp</groupId>
+                               <artifactId>japicmp-maven-plugin</artifactId>
+                       </plugin>
+
                        <plugin>
                                <groupId>org.apache.rat</groupId>
                                <artifactId>apache-rat-plugin</artifactId>

Reply via email to