From ad9c4f6109d1b7911ba7d179445d683748b4307d Mon Sep 17 00:00:00 2001 From: Matthias Pohl Date: Tue, 3 Sep 2024 21:33:02 +0200 Subject: [PATCH] [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 476af629befb3..8e4f955240cb2 100644 --- a/pom.xml +++ b/pom.xml @@ -2362,6 +2362,8 @@ under the License. + @java.lang.Deprecated + *.scala @org.apache.flink.annotation.Experimental @org.apache.flink.annotation.PublicEvolving @org.apache.flink.annotation.Internal @@ -2369,6 +2371,8 @@ under the License. org.apache.flink.configuration.Configuration#getBytes(java.lang.String,byte[]) org.apache.flink.configuration.Configuration#setBytes(java.lang.String,byte[]) + + org.apache.flink.api.common.eventtime.WatermarksWithIdleness org.apache.flink.api.java.tuple.* org.apache.flink.types.NullFieldException