This is an automated email from the ASF dual-hosted git repository.
mapohl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 625c6774fc1 [FLINK-36207][build] Disables deprecated API from japicmp
625c6774fc1 is described below
commit 625c6774fc187aed9f875abb421dd82d6cd10548
Author: Matthias Pohl <[email protected]>
AuthorDate: Tue Sep 3 21:33:02 2024 +0200
[FLINK-36207][build] Disables deprecated API from japicmp
The japicmp plugin doesn't seem to work well with Scala annotations (more
specifically @scala.deprecated). But we're planning to remove the Scala code as
part of the 2.0 release, anyway. Hence, excluding all *scala files should be
good enough.
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index 777fea41f31..fb56ce20f60 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2332,6 +2332,8 @@ under the License.
<!--<include>@org.apache.flink.annotation.PublicEvolving</include>-->
</includes>
<excludes>
+
<exclude>@java.lang.Deprecated</exclude>
+
<exclude>*.scala</exclude>
<exclude>@org.apache.flink.annotation.Experimental</exclude>
<exclude>@org.apache.flink.annotation.PublicEvolving</exclude>
<exclude>@org.apache.flink.annotation.Internal</exclude>
@@ -2341,6 +2343,8 @@ under the License.
<exclude>org.apache.flink.configuration.Configuration#setBytes(java.lang.String,byte[])</exclude>
<!--
FLINK-34085 Deprecated string config should be removed in 2.0 -->
<exclude>org.apache.flink.configuration.ConfigConstants</exclude>
+ <!--
FLINK-35886: WatermarksWithIdleness constructor was marked as deprecated -->
+
<exclude>org.apache.flink.api.common.eventtime.WatermarksWithIdleness</exclude>
<!--
FLINK-35812 move tuple interfaces into flink-core-api, should be removed in 2.0
-->
<exclude>org.apache.flink.api.java.tuple.*</exclude>
<exclude>org.apache.flink.types.NullFieldException</exclude>