You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/02/02 08:02:23 UTC

[flink] 02/02: [FLINK-25894][build] Explicitly set streaming-java oldVersion

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

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit e5956c4981f0ea923cb9c3421c586ad9e2bb3943
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Jan 31 22:13:07 2022 +0100

    [FLINK-25894][build] Explicitly set streaming-java oldVersion
---
 flink-streaming-java/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/flink-streaming-java/pom.xml b/flink-streaming-java/pom.xml
index 952ce28..bc87e1d 100644
--- a/flink-streaming-java/pom.xml
+++ b/flink-streaming-java/pom.xml
@@ -104,6 +104,18 @@ under the License.
 			<plugin>
 				<groupId>com.github.siom79.japicmp</groupId>
 				<artifactId>japicmp-maven-plugin</artifactId>
+				<configuration>
+					<oldVersion>
+						<!-- Previous version had a scala suffix -->
+						<!-- Remove this in 1.16 -->
+						<dependency>
+							<groupId>${project.groupId}</groupId>
+							<artifactId>${project.artifactId}_2.11</artifactId>
+							<version>${japicmp.referenceVersion}</version>
+							<type>jar</type>
+						</dependency>
+					</oldVersion>
+				</configuration>
 			</plugin>
 
 			<!-- disable fork reuse for the streaming project, because of