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

gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new a0bd63ac5 [FLINK-40107] Group example modules under an examples 
aggregator pom
a0bd63ac5 is described below

commit a0bd63ac5a0ae790d7bfeff7257bd456950b5e5c
Author: Dennis-Mircea Ciupitu <[email protected]>
AuthorDate: Thu Jul 9 12:29:06 2026 +0300

    [FLINK-40107] Group example modules under an examples aggregator pom
---
 examples/autoscaling/pom.xml                      |  9 ++-----
 examples/flink-beam-example/pom.xml               |  6 ++---
 examples/flink-sql-runner-example/pom.xml         |  9 ++-----
 examples/kubernetes-client-examples/pom.xml       |  9 ++-----
 examples/{kubernetes-client-examples => }/pom.xml | 29 ++++++++++-------------
 pom.xml                                           |  5 +---
 6 files changed, 22 insertions(+), 45 deletions(-)

diff --git a/examples/autoscaling/pom.xml b/examples/autoscaling/pom.xml
index 4ceef96b3..6c5528278 100644
--- a/examples/autoscaling/pom.xml
+++ b/examples/autoscaling/pom.xml
@@ -22,20 +22,15 @@ under the License.
 
     <parent>
         <groupId>org.apache.flink</groupId>
-        <artifactId>flink-kubernetes-operator-parent</artifactId>
+        <artifactId>flink-kubernetes-operator-examples</artifactId>
         <version>1.16-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>..</relativePath>
     </parent>
 
     <artifactId>autoscaling</artifactId>
 
     <name>Flink Autoscaler Test Job</name>
 
-    <!-- Given that this is an example skip maven deployment -->
-    <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
-    </properties>
-
     <dependencies>
 
         <!-- This dependency is provided, because it should not be packaged 
into the JAR file. -->
diff --git a/examples/flink-beam-example/pom.xml 
b/examples/flink-beam-example/pom.xml
index 5f2a5bb94..af2341871 100644
--- a/examples/flink-beam-example/pom.xml
+++ b/examples/flink-beam-example/pom.xml
@@ -22,17 +22,15 @@ under the License.
 
     <parent>
         <groupId>org.apache.flink</groupId>
-        <artifactId>flink-kubernetes-operator-parent</artifactId>
+        <artifactId>flink-kubernetes-operator-examples</artifactId>
         <version>1.16-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>..</relativePath>
     </parent>
 
     <artifactId>flink-beam-example</artifactId>
     <name>Flink Beam Example</name>
 
-    <!-- Given that this is an example skip maven deployment -->
     <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
         <beam.version>2.73.0</beam.version>
     </properties>
 
diff --git a/examples/flink-sql-runner-example/pom.xml 
b/examples/flink-sql-runner-example/pom.xml
index 9f606bc55..41c4a3e06 100644
--- a/examples/flink-sql-runner-example/pom.xml
+++ b/examples/flink-sql-runner-example/pom.xml
@@ -22,19 +22,14 @@ under the License.
 
     <parent>
         <groupId>org.apache.flink</groupId>
-        <artifactId>flink-kubernetes-operator-parent</artifactId>
+        <artifactId>flink-kubernetes-operator-examples</artifactId>
         <version>1.16-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>..</relativePath>
     </parent>
 
     <artifactId>flink-sql-runner-example</artifactId>
     <name>Flink SQL Runner Example</name>
 
-    <!-- Given that this is an example skip maven deployment -->
-    <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
-    </properties>
-
     <dependencies>
         <!-- Apache Flink dependencies -->
         <!-- These dependencies are provided, because they should not be 
packaged into the JAR file. -->
diff --git a/examples/kubernetes-client-examples/pom.xml 
b/examples/kubernetes-client-examples/pom.xml
index 8123414c0..7577801f3 100644
--- a/examples/kubernetes-client-examples/pom.xml
+++ b/examples/kubernetes-client-examples/pom.xml
@@ -23,16 +23,11 @@ under the License.
 
     <parent>
         <groupId>org.apache.flink</groupId>
-        <artifactId>flink-kubernetes-operator-parent</artifactId>
+        <artifactId>flink-kubernetes-operator-examples</artifactId>
         <version>1.16-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>..</relativePath>
     </parent>
 
-    <!-- Given that this is an example skip maven deployment -->
-    <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
-    </properties>
-
     <artifactId>kubernetes-client-examples</artifactId>
     <name>Flink Kubernetes Client Code Example</name>
 
diff --git a/examples/kubernetes-client-examples/pom.xml b/examples/pom.xml
similarity index 72%
copy from examples/kubernetes-client-examples/pom.xml
copy to examples/pom.xml
index 8123414c0..ffc207c4e 100644
--- a/examples/kubernetes-client-examples/pom.xml
+++ b/examples/pom.xml
@@ -1,3 +1,4 @@
+<?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
@@ -6,9 +7,7 @@ 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
@@ -25,24 +24,22 @@ under the License.
         <groupId>org.apache.flink</groupId>
         <artifactId>flink-kubernetes-operator-parent</artifactId>
         <version>1.16-SNAPSHOT</version>
-        <relativePath>../..</relativePath>
+        <relativePath>..</relativePath>
     </parent>
 
-    <!-- Given that this is an example skip maven deployment -->
+    <artifactId>flink-kubernetes-operator-examples</artifactId>
+    <name>Flink Kubernetes Operator Examples</name>
+    <packaging>pom</packaging>
+
+    <!-- Given that these are examples skip maven deployment -->
     <properties>
         <maven.deploy.skip>true</maven.deploy.skip>
     </properties>
 
-    <artifactId>kubernetes-client-examples</artifactId>
-    <name>Flink Kubernetes Client Code Example</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.flink</groupId>
-            <artifactId>flink-kubernetes-operator</artifactId>
-            <version>1.16-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-    </dependencies>
-
+    <modules>
+        <module>autoscaling</module>
+        <module>flink-beam-example</module>
+        <module>flink-sql-runner-example</module>
+        <module>kubernetes-client-examples</module>
+    </modules>
 </project>
diff --git a/pom.xml b/pom.xml
index d40a7e91f..3e6be0048 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,10 +59,7 @@ under the License.
         <module>flink-autoscaler</module>
         <module>flink-autoscaler-standalone</module>
         <module>flink-autoscaler-plugin-jdbc</module>
-        <module>examples/flink-sql-runner-example</module>
-        <module>examples/flink-beam-example</module>
-        <module>examples/kubernetes-client-examples</module>
-        <module>examples/autoscaling</module>
+        <module>examples</module>
     </modules>
 
     <properties>

Reply via email to