Dependency Management ​
Proper dependency management is crucial for maintaining clean, modular pipeline applications.
Quarkus platform alignment ​
TPF targets Java 21 and Quarkus 4.0.1. Import both the Quarkus platform BOM and the TPF product BOM in the application parent. The TPF BOM pins the contracts, compiler, runtime, Connectors, Blocks and Expansions that were tested together. Use the same Quarkus version for the Quarkus Maven plugin and annotation processors. Child modules should inherit those versions.
<properties>
<quarkus.platform.version>4.0.1</quarkus.platform.version>
<tpf.version>26.12.2</tpf.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-amazon-services-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.pipelineframework</groupId>
<artifactId>pipelineframework-bom</artifactId>
<version>${tpf.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>Include the Amazon Services BOM when using the DynamoDB, SQS, or S3 extensions. Use the platform-aligned BOM rather than an independently versioned Quarkiverse Amazon Services BOM. Leave gRPC, protobuf, OpenTelemetry, JUnit, and Testcontainers dependency versions to the platform BOM; generation tools and runtime libraries must agree. Testcontainers 2 modules use names such as testcontainers-junit-jupiter, testcontainers-localstack, and testcontainers-postgresql.
Native builds require GraalVM/Mandrel 25.0 or newer, even when compiling the application with Java 21. Use Quarkus's supported native builder container with -Dquarkus.native.enabled=true -Dquarkus.native.container-build=true; the native validation workflow uses this path. GraalVM for JDK 21 is no longer a supported native builder. See the Quarkus native-builder announcement.
Applications using Hibernate ORM or Hibernate Reactive with PostgreSQL require PostgreSQL 14 or newer. TPF reference applications use PostgreSQL 17. Review schema validation before upgrading an existing database, particularly Hibernate version and timestamp columns and collection-set constraints. Quarkus 4.0.1 aligns on Jackson 3 (tools.jackson.core:jackson-core / jackson-databind:3.1.8 with com.fasterxml.jackson.core:jackson-annotations:2.21), CDI 5.0 (jakarta.cdi:jakarta.cdi-api:5.0.0), Vert.x 5 (5.2.3), and pre-Final Hibernate candidate releases (hibernate-core:8.0.0.CR2 and hibernate-reactive-core:5.1.0.CR3); track upcoming Quarkus 4.0.x patch releases for Hibernate Final alignment.
When packaging on OpenJDK 25 while preserving <maven.compiler.release>21</maven.compiler.release> (Java 21 bytecode), you can opt into automated Project Leyden AOT cache generation per build without adding Maven profiles by passing -Dquarkus.package.jar.aot.enabled=true -Dquarkus.package.jar.aot.type=aot -Dquarkus.package.jar.aot.phase=build and starting from target/quarkus-app with -XX:AOTCache=app.aot -jar quarkus-run.jar (or passing -XX:AOTCache=target/quarkus-app/app.aot when launching from the module root). The JVM defaults to -XX:AOTMode=auto, falling back cleanly if runtime flags diverge; add -XX:AOTMode=on only when you want fail-fast cache validation. Using an AOT cache requires the same OpenJDK 25 runtime version used at build time; Java 21 runtimes cannot load a JDK 25 AOT cache. Explicitly setting aot.type=aot and aot.phase=build ensures Quarkus produces a Leyden app.aot cache instead of falling back to app-cds.jsa when aot.type=auto inspects the Java 21 release target.
For the upstream changes, see the Quarkus migration guide for 4.0 alongside the 3.39 baseline.
Application parent POM ​
The application parent defines common properties and imports both product BOMs. It is an application-owned POM; do not use TPF's internal framework-parent publication coordinator as the application parent. The Quarkus extension dependency remains org.pipelineframework:pipelineframework:
<!-- pom.xml -->
<project>
<groupId>com.example</groupId>
<artifactId>my-pipeline-application-parent</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<properties>
<maven.compiler.release>21</maven.compiler.release>
<quarkus.platform.version>4.0.1</quarkus.platform.version>
<tpf.version>26.12.2</tpf.version>
</properties>
<modules>
<module>common</module>
<module>step-one-svc</module>
<module>step-two-svc</module>
<module>orchestrator-svc</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-amazon-services-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.pipelineframework</groupId>
<artifactId>pipelineframework-bom</artifactId>
<version>${tpf.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.example</groupId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.pipelineframework</groupId>
<artifactId>pipelineframework</artifactId>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.platform.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>The ${tpf.version} property selects one tested product set. The imported TPF BOM supplies the matching version for org.pipelineframework:pipelineframework and the other managed TPF artifacts used by child services.
Service POMs ​
Services declare dependencies on the common module and framework. Both runtime and deployment components are bundled in a single dependency:
<!-- step-one-svc/pom.xml -->
<project>
<parent>
<groupId>com.example</groupId>
<artifactId>my-pipeline-application-parent</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>step-one-svc</artifactId>
<dependencies>
<dependency>
<groupId>com.example</groupId>
<artifactId>common</artifactId>
</dependency>
<dependency>
<groupId>org.pipelineframework</groupId>
<artifactId>pipelineframework</artifactId>
</dependency>
</dependencies>
</project>Build Warning Note ​
When compiling role-specific outputs in a single module (for example, orchestrator-client and pipeline-server), Maven may emit a warning like "Overwriting artifact's file". This comes from the compiler plugin updating the project's output directory per execution and does not indicate class files are being overwritten.