Skip to content

Commit 53602fa

Browse files
committed
Add runtime dependencies BOM module for version consistency
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent aa08bb9 commit 53602fa

File tree

2 files changed

+68
-7
lines changed

2 files changed

+68
-7
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright © 2025 DataSQRL (contact@datasqrl.com)
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<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/xsd/maven-4.0.0.xsd">
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<parent>
23+
<groupId>com.datasqrl.flinkrunner</groupId>
24+
<artifactId>flink-sql-runner-parent</artifactId>
25+
<version>0.9-SNAPSHOT</version>
26+
</parent>
27+
28+
<artifactId>flink-sql-runner-runtime-dependencies</artifactId>
29+
<packaging>pom</packaging>
30+
<name>Flink SQL Runner Runtime Dependencies</name>
31+
<description>Flink SQL Runner runtime dependencies (generated by flatten-maven-plugin)</description>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>com.datasqrl.flinkrunner</groupId>
36+
<artifactId>flink-sql-runner</artifactId>
37+
<version>${project.version}</version>
38+
</dependency>
39+
</dependencies>
40+
41+
<build>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.codehaus.mojo</groupId>
45+
<artifactId>flatten-maven-plugin</artifactId>
46+
<version>${flatten-maven-plugin.version}</version>
47+
<configuration>
48+
<flattenDependencyMode>all</flattenDependencyMode>
49+
<outputDirectory>${project.build.directory}</outputDirectory>
50+
<omitExclusions>true</omitExclusions>
51+
</configuration>
52+
<executions>
53+
<execution>
54+
<goals>
55+
<goal>flatten</goal>
56+
</goals>
57+
<phase>process-resources</phase>
58+
</execution>
59+
</executions>
60+
</plugin>
61+
</plugins>
62+
</build>
63+
</project>

pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<module>connectors</module>
6565
<module>testing</module>
6666
<module>flink-sql-runner</module>
67+
<module>flink-sql-runner-runtime-dependencies</module>
6768
</modules>
6869

6970
<scm>
@@ -119,6 +120,7 @@
119120
<build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>
120121
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
121122
<exec-maven-plugin.version>3.6.2</exec-maven-plugin.version>
123+
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
122124
<license-maven-plugin.version>5.0.0</license-maven-plugin.version>
123125
<maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
124126
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
@@ -362,9 +364,9 @@
362364
<licenseSet>
363365
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
364366
<excludes>
365-
<exclude>src/test/resources/**</exclude>
366-
<exclude>m2e-target/**</exclude>
367-
<exclude>bin/**</exclude>
367+
<exclude>**/src/test/resources/**</exclude>
368+
<exclude>**/m2e-target/**</exclude>
369+
<exclude>**/bin/**</exclude>
368370
</excludes>
369371
</licenseSet>
370372
</licenseSets>
@@ -502,10 +504,6 @@
502504
<includes>
503505
<include>com.datasqrl.flinkrunner:*</include>
504506
</includes>
505-
<excludes>
506-
<exclude>*:testing</exclude>
507-
<exclude>*:*-sample</exclude>
508-
</excludes>
509507
</modules>
510508
</bom>
511509
</boms>

0 commit comments

Comments
 (0)