This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch release-1.16 in repository https://gitbox.apache.org/repos/asf/flink.git
commit 30d6e6122a50c6353bc2fb17cd7414e1724ab3df Author: Chesnay Schepler <ches...@apache.org> 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 | 7 ------- flink-streaming-scala/pom.xml | 9 --------- pom.xml | 6 ++++++ 8 files changed, 6 insertions(+), 44 deletions(-) diff --git a/flink-connectors/flink-hadoop-compatibility/pom.xml b/flink-connectors/flink-hadoop-compatibility/pom.xml index cd8e0b7d468..414ce38d6ed 100644 --- a/flink-connectors/flink-hadoop-compatibility/pom.xml +++ b/flink-connectors/flink-hadoop-compatibility/pom.xml @@ -115,11 +115,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 c877e49b65f..95d33baf116 100644 --- a/flink-core/pom.xml +++ b/flink-core/pom.xml @@ -139,12 +139,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 3ae4cc520ed..7f72eba43bf 100644 --- a/flink-java/pom.xml +++ b/flink-java/pom.xml @@ -69,12 +69,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 73db2963f44..baf32d77c44 100644 --- a/flink-metrics/flink-metrics-core/pom.xml +++ b/flink-metrics/flink-metrics-core/pom.xml @@ -48,11 +48,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 ac8b96642d7..7afbdbf6fb6 100644 --- a/flink-scala/pom.xml +++ b/flink-scala/pom.xml @@ -155,12 +155,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 18d1330ed2c..3b1351d6ec7 100644 --- a/flink-streaming-java/pom.xml +++ b/flink-streaming-java/pom.xml @@ -98,13 +98,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-streaming-scala/pom.xml b/flink-streaming-scala/pom.xml index 319f3830819..e008f13ed44 100644 --- a/flink-streaming-scala/pom.xml +++ b/flink-streaming-scala/pom.xml @@ -254,7 +254,6 @@ under the License. </executions> </plugin> - <!-- activate API compatibility checks --> <plugin> <groupId>io.github.zentol.japicmp</groupId> <artifactId>japicmp-maven-plugin</artifactId> @@ -272,14 +271,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 3aafd7cc5a2..1e0a18270a4 100644 --- a/pom.xml +++ b/pom.xml @@ -1395,6 +1395,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>