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

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

commit 59525e460afe3665201771e371eab511231f70a6
Author: Weijie Guo <[email protected]>
AuthorDate: Tue Feb 20 11:50:08 2024 +0800

    [FLINK-34548][API] Create flink-core-api module and let flink-core depend 
on it
---
 flink-core-api/pom.xml | 35 +++++++++++++++++++++++++++++++++++
 flink-core/pom.xml     |  6 ++++++
 pom.xml                |  1 +
 3 files changed, 42 insertions(+)

diff --git a/flink-core-api/pom.xml b/flink-core-api/pom.xml
new file mode 100644
index 00000000000..55f5473e48c
--- /dev/null
+++ b/flink-core-api/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+                xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.apache.flink</groupId>
+               <artifactId>flink-parent</artifactId>
+               <version>1.20-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>flink-core-api</artifactId>
+       <name>Flink : Core API</name>
+
+       <packaging>jar</packaging>
+</project>
diff --git a/flink-core/pom.xml b/flink-core/pom.xml
index c15a4461bbb..7c267f76fb0 100644
--- a/flink-core/pom.xml
+++ b/flink-core/pom.xml
@@ -59,6 +59,12 @@ under the License.
        </properties>
 
        <dependencies>
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-core-api</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+
                <dependency>
                        <groupId>org.apache.flink</groupId>
                        <artifactId>flink-annotations</artifactId>
diff --git a/pom.xml b/pom.xml
index da399793067..027fc40d11a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,6 +65,7 @@ under the License.
        <modules>
                <module>flink-annotations</module>
                <module>flink-architecture-tests</module>
+               <module>flink-core-api</module>
                <module>flink-core</module>
                <module>flink-java</module>
                <module>flink-scala</module>

Reply via email to