Skip to content

Commit

Permalink
[FLINK-36207][build] Disables deprecated API from japicmp
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
XComp committed Sep 12, 2024
1 parent 740a567 commit 3a91038
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 3a91038

Please sign in to comment.