From e8ccb96419a3a3a9015e7f7fbafc7511c6fe03fd Mon Sep 17 00:00:00 2001 From: Aleksandr Pavlyuk Date: Mon, 16 Feb 2026 11:34:58 +0300 Subject: [PATCH 1/2] build: add bom module --- CHANGELOG.md | 4 + pom.xml | 113 ++---------------------- tarantool-java-sdk-bom/pom.xml | 156 +++++++++++++++++++++++++++++++++ 3 files changed, 165 insertions(+), 108 deletions(-) create mode 100644 tarantool-java-sdk-bom/pom.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 91096315..a031cabf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### BOM Module + +- Add `tarantool-java-sdk-bom` module providing centralized dependency management for all Tarantool Java SDK modules and their dependencies + ### Testcontainers - Remove dependency on `testcontainers-java-tarantool` library diff --git a/pom.xml b/pom.xml index f5b95306..19864d12 100644 --- a/pom.xml +++ b/pom.xml @@ -286,115 +286,11 @@ io.tarantool - tarantool-client - 2.0.0-SNAPSHOT + tarantool-java-sdk-bom + ${project.version} + pom + import - - io.tarantool - tarantool-core - 2.0.0-SNAPSHOT - - - io.tarantool - tarantool-pooling - 2.0.0-SNAPSHOT - - - io.tarantool - tarantool-jackson-mapping - 2.0.0-SNAPSHOT - - - io.tarantool - tarantool-schema - 2.0.0-SNAPSHOT - - - io.tarantool - tarantool-balancer - 2.0.0-SNAPSHOT - - - io.tarantool - tarantool-spring-data - 2.0.0-SNAPSHOT - - - io.tarantool - tarantool-spring-data-core - 2.0.0-SNAPSHOT - - - io.tarantool - testcontainers - 2.0.0-SNAPSHOT - test - - - org.msgpack - jackson-dataformat-msgpack - ${msgpack.version} - - - org.msgpack - msgpack-core - ${msgpack.version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - - - org.slf4j - slf4j-api - ${slf4j.api.version} - - - - - ch.qos.logback - logback-classic - - 1.3.16 - - test - - - org.junit.jupiter - junit-jupiter - 5.13.4 - test - - - org.testcontainers - testcontainers-junit-jupiter - ${testcontainers.version} - test - - - org.apache.commons - commons-lang3 - 3.18.0 - - - org.projectlombok - lombok - 1.18.38 - test - - - com.google.guava - guava - 33.4.8-jre - test - - @@ -634,5 +530,6 @@ jacoco-coverage-aggregate-report testcontainers-autogen documentation + tarantool-java-sdk-bom diff --git a/tarantool-java-sdk-bom/pom.xml b/tarantool-java-sdk-bom/pom.xml new file mode 100644 index 00000000..0cbd81f4 --- /dev/null +++ b/tarantool-java-sdk-bom/pom.xml @@ -0,0 +1,156 @@ + + + 4.0.0 + + tarantool-java-sdk-bom + BOM for tarantool-java-sdk + https://tarantool.io + pom + + io.tarantool + tarantool-java-sdk-bom + 2.0.0-SNAPSHOT + + + 2.0.0-SNAPSHOT + 2.18.4 + 0.9.10 + 4.2.7.Final + 2.0.17 + 2.0.1 + 1.3.16 + 5.13.4 + 3.18.0 + 1.18.38 + 33.4.8-jre + + + + + + + io.tarantool + tarantool-client + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-core + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-pooling + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-jackson-mapping + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-schema + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-balancer + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-spring-data + ${tarantool-java-sdk.version} + + + io.tarantool + tarantool-spring-data-core + ${tarantool-java-sdk.version} + + + io.tarantool + testcontainers + ${tarantool-java-sdk.version} + test + + + + + org.msgpack + jackson-dataformat-msgpack + ${msgpack.version} + + + org.msgpack + msgpack-core + ${msgpack.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.version} + + + org.slf4j + slf4j-api + ${slf4j.api.version} + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + + + ch.qos.logback + logback-classic + ${logback.version} + test + + + org.junit.jupiter + junit-jupiter + ${junit-jupiter.version} + test + + + org.testcontainers + testcontainers-junit-jupiter + ${testcontainers.version} + test + + + org.projectlombok + lombok + ${lombok.version} + test + + + com.google.guava + guava + ${guava.version} + test + + + + + + + + com.diffplug.spotless + spotless-maven-plugin + 2.46.1 + + true + + + + + From 91a2b6d91a62cf46b73089658454ba96c294f792 Mon Sep 17 00:00:00 2001 From: Aleksandr Pavlyuk Date: Mon, 2 Mar 2026 07:43:46 +0300 Subject: [PATCH 2/2] build: edit poms --- .gitignore | 3 + pom.xml | 3 + tarantool-core/pom.xml | 7 -- tarantool-java-sdk-bom/pom.xml | 153 +++++++++++++++++++++++++++------ testcontainers-autogen/pom.xml | 11 +-- testcontainers/pom.xml | 26 ++++-- 6 files changed, 152 insertions(+), 51 deletions(-) diff --git a/.gitignore b/.gitignore index 3ce9a8a1..c4a24b39 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,6 @@ workbench.xmi documentation/venv documentation/site documentation/target +release.properties +*.releaseBackup +*.tag diff --git a/pom.xml b/pom.xml index 19864d12..0cf92191 100644 --- a/pom.xml +++ b/pom.xml @@ -166,6 +166,9 @@ deploy 4 @{project.version} + + clean install diff --git a/tarantool-core/pom.xml b/tarantool-core/pom.xml index 873869da..4c5e0c6a 100644 --- a/tarantool-core/pom.xml +++ b/tarantool-core/pom.xml @@ -8,7 +8,6 @@ ${project.parent.basedir}/LICENSE_HEADER.txt - 1.14.12 @@ -25,22 +24,18 @@ io.netty netty-transport - ${netty.version} io.netty netty-handler - ${netty.version} io.netty netty-codec - ${netty.version} io.netty netty-codec-http - ${netty.version} org.msgpack @@ -49,12 +44,10 @@ io.micrometer micrometer-core - ${micrometer.version} io.micrometer micrometer-registry-jmx - ${micrometer.version} org.slf4j diff --git a/tarantool-java-sdk-bom/pom.xml b/tarantool-java-sdk-bom/pom.xml index 0cbd81f4..1fbe126d 100644 --- a/tarantool-java-sdk-bom/pom.xml +++ b/tarantool-java-sdk-bom/pom.xml @@ -12,7 +12,6 @@ 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT 2.18.4 0.9.10 4.2.7.Final @@ -23,59 +22,107 @@ 3.18.0 1.18.38 33.4.8-jre + 1.14.12 + 5.5 + 5.3.4 + 0.8.6 + 1.76.0 + 3.25.8 + 1.28.0 + 1.19.0 + 2.20.0 + 5.5.1 + 1.2.2 + + + io.netty + netty-bom + ${netty.version} + pom + import + + + com.fasterxml.jackson + jackson-bom + ${jackson.version} + pom + import + + + io.micrometer + micrometer-bom + ${micrometer.version} + pom + import + + + org.testcontainers + testcontainers-bom + ${testcontainers.version} + pom + import + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + io.tarantool tarantool-client - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-core - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-pooling - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-jackson-mapping - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-schema - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-balancer - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-spring-data - ${tarantool-java-sdk.version} + ${project.version} io.tarantool tarantool-spring-data-core - ${tarantool-java-sdk.version} + ${project.version} io.tarantool testcontainers - ${tarantool-java-sdk.version} + ${project.version} test - + org.msgpack jackson-dataformat-msgpack @@ -86,16 +133,6 @@ msgpack-core ${msgpack.version} - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - org.slf4j slf4j-api @@ -107,6 +144,66 @@ ${commons-lang3.version} + + + org.apache.httpcomponents.client5 + httpclient5 + ${httpclient5.version} + + + org.apache.httpcomponents.core5 + httpcore5 + ${httpcore5.version} + + + org.apache.httpcomponents.core5 + httpcore5-h2 + ${httpcore5.version} + + + + + io.etcd + jetcd-launcher + ${jetcd.version} + + + io.etcd + jetcd-core + ${jetcd.version} + + + + + commons-io + commons-io + ${commons-io.version} + + + org.apache.commons + commons-compress + ${commons-compress.version} + + + commons-codec + commons-codec + ${commons-codec.version} + + + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + + + org.jsonschema2pojo + jsonschema2pojo-core + ${jsonschema2pojo.version} + + ch.qos.logback @@ -120,17 +217,11 @@ ${junit-jupiter.version} test - - org.testcontainers - testcontainers-junit-jupiter - ${testcontainers.version} - test - org.projectlombok lombok ${lombok.version} - test + provided com.google.guava @@ -138,6 +229,12 @@ ${guava.version} test + + org.instancio + instancio-core + ${instancio.version} + test + diff --git a/testcontainers-autogen/pom.xml b/testcontainers-autogen/pom.xml index cb230dd2..a110dc44 100644 --- a/testcontainers-autogen/pom.xml +++ b/testcontainers-autogen/pom.xml @@ -21,20 +21,11 @@ ${project.parent.basedir}/LICENSE_HEADER.txt - - - - org.jsonschema2pojo - jsonschema2pojo-core - ${jsonschema2pojo.version} - - - - org.jsonschema2pojo jsonschema2pojo-core + ${jsonschema2pojo.version} diff --git a/testcontainers/pom.xml b/testcontainers/pom.xml index b74dfd9a..dea59c21 100644 --- a/testcontainers/pom.xml +++ b/testcontainers/pom.xml @@ -19,13 +19,30 @@ ${project.parent.basedir}/LICENSE_HEADER.txt 17 0.8.6 + 5.5 + 5.5.1 1.76.0 3.25.8 0.6.1 - 5.5 - 5.5.1 + + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + + org.slf4j @@ -41,23 +58,20 @@ com.fasterxml.jackson.dataformat jackson-dataformat-yaml - ${jackson.version} com.fasterxml.jackson.datatype jackson-datatype-jdk8 - ${jackson.version} org.projectlombok lombok compile - org.apache.httpcomponents.client5 httpclient5 - ${apache.http-client.version} + ${httpclient5.version}