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 3, 2024
1 parent 13cd826 commit ad9c4f6
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 @@ -2362,13 +2362,17 @@ 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>
<!-- MARKER: start exclusions; these will be wiped by tools/releasing/update_japicmp_configuration.sh -->
<!-- Mark these 2 methods to @Internal. Tracked under FLINK-34130, should be removed in 2.0 -->
<exclude>org.apache.flink.configuration.Configuration#getBytes(java.lang.String,byte[])</exclude>
<exclude>org.apache.flink.configuration.Configuration#setBytes(java.lang.String,byte[])</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 ad9c4f6

Please sign in to comment.