You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2020/11/16 09:22:25 UTC

[flink] 20/21: [build] Add exclusions for added default methods in SourceReader and SplitEnumerator interfaces.

This is an automated email from the ASF dual-hosted git repository.

sewen pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 9cb241958e8c7f0e13ba856b0cbeb1419d296cd3
Author: Stephan Ewen <se...@apache.org>
AuthorDate: Sun Nov 15 23:22:38 2020 +0100

    [build] Add exclusions for added default methods in SourceReader and SplitEnumerator interfaces.
    
    Default methods don't break compatibility, but it seems that the japicmp plugin does not
    recognize this properly.
---
 flink-core/pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flink-core/pom.xml b/flink-core/pom.xml
index 9a7b53e..79fdb44 100644
--- a/flink-core/pom.xml
+++ b/flink-core/pom.xml
@@ -189,6 +189,8 @@ under the License.
 							<exclude>org.apache.flink.api.connector.source.SourceReaderContext</exclude>
 							<exclude>org.apache.flink.api.connector.source.SplitEnumeratorContext</exclude>
 							<exclude>org.apache.flink.api.connector.source.Source</exclude>
+							<exclude>org.apache.flink.api.connector.source.SourceReader</exclude>
+							<exclude>org.apache.flink.api.connector.source.SplitEnumerator</exclude>
 						</excludes>
 					</parameter>
 				</configuration>