Skip to content

Conversation

@velo
Copy link
Collaborator

@velo velo commented Nov 10, 2025

Summary

Created a new module flink-sql-runner-runtime-dependencies that automatically generates a flattened POM containing all runtime dependencies of flink-sql-runner using the flatten-maven-plugin.

Purpose

This module allows downstream users to:

  • Import a single dependency to get all transitive runtime dependencies of flink-sql-runner
  • Ensure consistent versions across all dependencies
  • Simplify dependency management by relying on automatic dependency resolution

Implementation

  • Created new module under /flink-sql-runner-runtime-dependencies
  • Added single dependency on flink-sql-runner
  • Configured flatten-maven-plugin to generate flattened POM with all dependencies
  • Plugin configuration:
    • flattenDependencyMode: all - Includes all transitive dependencies
    • omitExclusions: true - Removes exclusions from flattened POM
  • Moved flatten-maven-plugin version to parent POM for consistency
  • Fixed license plugin excludes to use **/ prefix
  • Removed excludes from BOM generation configuration

Usage

Users can import this module to get all runtime dependencies:

<dependency>
  <groupId>com.datasqrl.flinkrunner</groupId>
  <artifactId>flink-sql-runner-runtime-dependencies</artifactId>
  <version>0.9-SNAPSHOT</version>
  <type>pom</type>
</dependency>

The flatten-maven-plugin will automatically generate a flattened POM during the build process that contains all transitive dependencies.

Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
@velo velo force-pushed the feature/runtime-dependencies-bom branch from cffa475 to 53602fa Compare November 10, 2025 12:56
@velo velo changed the title Add runtime dependencies BOM module Create new module for flink-sql-runner runtime dependencies Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants