Skip to content

Commit 3a91038

Browse files
committed
[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.
1 parent 740a567 commit 3a91038

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,6 +2332,8 @@ under the License.
23322332
<!--<include>@org.apache.flink.annotation.PublicEvolving</include>-->
23332333
</includes>
23342334
<excludes>
2335+
<exclude>@java.lang.Deprecated</exclude>
2336+
<exclude>*.scala</exclude>
23352337
<exclude>@org.apache.flink.annotation.Experimental</exclude>
23362338
<exclude>@org.apache.flink.annotation.PublicEvolving</exclude>
23372339
<exclude>@org.apache.flink.annotation.Internal</exclude>
@@ -2341,6 +2343,8 @@ under the License.
23412343
<exclude>org.apache.flink.configuration.Configuration#setBytes(java.lang.String,byte[])</exclude>
23422344
<!-- FLINK-34085 Deprecated string config should be removed in 2.0 -->
23432345
<exclude>org.apache.flink.configuration.ConfigConstants</exclude>
2346+
<!-- FLINK-35886: WatermarksWithIdleness constructor was marked as deprecated -->
2347+
<exclude>org.apache.flink.api.common.eventtime.WatermarksWithIdleness</exclude>
23442348
<!-- FLINK-35812 move tuple interfaces into flink-core-api, should be removed in 2.0 -->
23452349
<exclude>org.apache.flink.api.java.tuple.*</exclude>
23462350
<exclude>org.apache.flink.types.NullFieldException</exclude>

0 commit comments

Comments
 (0)