This is an automated email from the ASF dual-hosted git repository. ppkarwasz pushed a commit to branch centralize-third-party-versions in repository https://gitbox.apache.org/repos/asf/logging-flume.git
commit aa39f8524f8e3b8017323f67915d6c3fd5c200c7 Author: Piotr P. Karwasz <[email protected]> AuthorDate: Thu Jul 2 19:55:32 2026 +0200 Centralize third-party dependency versions in the BOM All third-party dependency versions now live in flume-third-party-dependencies, so there is a single source of truth. Previously flume-parent and flume-ng-node also declared versions (junit, mockito, hadoop test artifacts, mockserver, JUnit 5, etc.), some duplicating properties already defined in the BOM. The BOM dependencyManagement entries are now ordered by artifactId. Also drop the redundant relativePath (../pom.xml is the Maven default) and clarify the module description. Assisted-By: Claude Opus 4.8 (1M context) <[email protected]> --- flume-ng-node/pom.xml | 4 - flume-parent/pom.xml | 124 ----------- flume-third-party/pom.xml | 518 ++++++++++++++++++++++++++++------------------ 3 files changed, 315 insertions(+), 331 deletions(-) diff --git a/flume-ng-node/pom.xml b/flume-ng-node/pom.xml index 0542d117..6d0628c4 100644 --- a/flume-ng-node/pom.xml +++ b/flume-ng-node/pom.xml @@ -34,7 +34,6 @@ <spotbugs.maxAllowedViolations>12</spotbugs.maxAllowedViolations> <pmd.maxAllowedViolations>7</pmd.maxAllowedViolations> <module.name>org.apache.flume.node</module.name> - <junit-jupiter.version>5.12.2</junit-jupiter.version> </properties> <dependencies> @@ -110,19 +109,16 @@ <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> - <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> - <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> - <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> diff --git a/flume-parent/pom.xml b/flume-parent/pom.xml index ddebdd36..841880fa 100644 --- a/flume-parent/pom.xml +++ b/flume-parent/pom.xml @@ -228,11 +228,6 @@ <stagingDirectory>${project.basedir}/target/docs</stagingDirectory> <bundle-plugin.version>2.3.7</bundle-plugin.version> - <curator.version>5.9.0</curator.version> - <fest-reflect.version>1.4.1</fest-reflect.version> - <hadoop.version>3.5.0</hadoop.version> - <junit.version>4.13.2</junit.version> - <mockito.version>5.18.0</mockito.version> <mvn-antrun-plugin.version>1.8</mvn-antrun-plugin.version> <!-- Do not upgrade the assumbly plugin version until MASSEMBLY-941 is fixed --> <mvn-assembly-plugin.version>3.2.0</mvn-assembly-plugin.version> @@ -252,11 +247,9 @@ <external.protobuf.version>4.35.0</external.protobuf.version> <protobuf.plugin.version>0.6.1</protobuf.plugin.version> <rat.version>0.12</rat.version> - <wiremock.version>1.53</wiremock.version> <os.maven.version>1.7.1</os.maven.version> <redirectTestOutput>true</redirectTestOutput> <spotless-maven-plugin.version>3.4.0</spotless-maven-plugin.version> - <system-rules.version>1.19.0</system-rules.version> <palantir-java-format.version>2.90.0</palantir-java-format.version> </properties> @@ -270,63 +263,6 @@ <scope>import</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>${junit.version}</version> - </dependency> - - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <version>${mockito.version}</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.easytesting</groupId> - <artifactId>fest-reflect</artifactId> - <version>${fest-reflect.version}</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>com.github.stefanbirkner</groupId> - <artifactId>system-rules</artifactId> - <version>${system-rules.version}</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-minikdc</artifactId> - <version>${hadoop.version}</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>ch.qos.reload4j</groupId> - <artifactId>reload4j</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-reload4j</artifactId> - </exclusion> - <exclusion> - <!-- exclude this from hadoop minikdc as the minikdc depends on - the apacheds-jdbm1 bundle, which is not available in maven central--> - <groupId>org.apache.directory.jdbm</groupId> - <artifactId>apacheds-jdbm1</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <!-- add this to satisfy the dependency requirement of apacheds-jdbm1 in minikdc--> - <groupId>org.apache.directory.jdbm</groupId> - <artifactId>apacheds-jdbm1</artifactId> - <version>2.0.0-M2</version> - <scope>test</scope> - </dependency> - <!-- internal module dependencies --> <dependency> <groupId>org.apache.flume</groupId> @@ -349,66 +285,6 @@ <classifier>tests</classifier> <scope>test</scope> </dependency> - - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-test</artifactId> - <version>${curator.version}</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-minicluster</artifactId> - <version>${hadoop.version}</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>tomcat</groupId> - <artifactId>jasper-compiler</artifactId> - </exclusion> - <exclusion> - <groupId>tomcat</groupId> - <artifactId>jasper-runtime</artifactId> - </exclusion> - <exclusion> - <groupId>ch.qos.reload4j</groupId> - <artifactId>reload4j</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-reload4j</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-mapreduce-client-core</artifactId> - <version>${hadoop.version}</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>ch.qos.reload4j</groupId> - <artifactId>reload4j</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-reload4j</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.mock-server</groupId> - <artifactId>mockserver-netty</artifactId> - <version>3.10.8</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mock-server</groupId> - <artifactId>mockserver-client-java</artifactId> - <version>3.10.8</version> - <scope>test</scope> - </dependency> </dependencies> </dependencyManagement> diff --git a/flume-third-party/pom.xml b/flume-third-party/pom.xml index b92e7b5b..be69bb4c 100644 --- a/flume-third-party/pom.xml +++ b/flume-third-party/pom.xml @@ -23,15 +23,17 @@ <groupId>org.apache.flume</groupId> <artifactId>flume-project</artifactId> <version>2.0.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.flume</groupId> + <artifactId>flume-third-party-dependencies</artifactId> <packaging>pom</packaging> <name>Apache Flume Third Party Dependencies</name> + <description>Bill of Materials (BOM) pinning the versions of the third-party dependencies used by Apache Flume. + Import it to keep the dependency versions of secondary repositories and downstream applications aligned with + those Flume is built and tested against.</description> - <inceptionYear>2009</inceptionYear> + <inceptionYear>2026</inceptionYear> <organization> <name>Apache Software Foundation</name> @@ -53,6 +55,7 @@ <properties> <flume-project.version>2.0.0-SNAPSHOT</flume-project.version> + <apacheds-jdbm1.version>2.0.0-M2</apacheds-jdbm1.version> <commons-cli.version>1.5.0</commons-cli.version> <commons-codec.version>1.22.0</commons-codec.version> <commons-collections.version>3.2.2</commons-collections.version> @@ -63,6 +66,7 @@ <commons-text.version>1.15.0</commons-text.version> <curator.version>5.9.0</curator.version> <derby.version>10.17.1.0</derby.version> + <fest-reflect.version>1.4.1</fest-reflect.version> <jackson-annotations.version>2.22</jackson-annotations.version> <fasterxml.jackson.version>2.22.0</fasterxml.jackson.version> <fasterxml.jackson.databind.version>2.22.0</fasterxml.jackson.databind.version> @@ -76,9 +80,13 @@ <jakarta-servlet.version>6.1.0</jakarta-servlet.version> <jetty.version>12.1.9</jetty.version> <jsr305.version>3.0.2</jsr305.version> + <junit.version>4.13.2</junit.version> + <junit-jupiter.version>5.12.2</junit-jupiter.version> <log4j.version>2.26.0</log4j.version> <mapdb.version>0.9.9</mapdb.version> <mina.version>2.2.8</mina.version> + <mockito.version>5.18.0</mockito.version> + <mockserver.version>3.10.8</mockserver.version> <spotbugs.version>4.9.3</spotbugs.version> <netty-all.version>4.2.15.Final</netty-all.version> <external.protobuf.version>4.35.0</external.protobuf.version> @@ -93,7 +101,14 @@ <dependencyManagement> <dependencies> - <!-- Dependencies: build --> + <dependency> + <!-- add this to satisfy the dependency requirement of apacheds-jdbm1 in minikdc--> + <groupId>org.apache.directory.jdbm</groupId> + <artifactId>apacheds-jdbm1</artifactId> + <version>${apacheds-jdbm1.version}</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bc-jdk18on-bom</artifactId> @@ -102,7 +117,11 @@ <scope>import</scope> </dependency> - <!-- Dependencies: compile --> + <dependency> + <groupId>org.apache.flume</groupId> + <artifactId>build-support</artifactId> + <version>${flume-project.version}</version> + </dependency> <dependency> <groupId>commons-cli</groupId> @@ -110,134 +129,67 @@ <version>${commons-cli.version}</version> </dependency> - <!-- Pin commons-logging to a version with native Log4j API support --> <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>${commons-logging.version}</version> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>${commons-codec.version}</version> </dependency> <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>${commons-lang.version}</version> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>${commons-collections.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> - <artifactId>commons-text</artifactId> - <version>${commons-text.version}</version> - </dependency> - - <dependency> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - <version>${guava.version}</version> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-bom</artifactId> - <version>${log4j.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - - <!-- Pin SLF4J to 2.x so transitive deps cannot downgrade it to 1.x --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-bom</artifactId> - <version>${slf4j.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java</artifactId> - <version>${external.protobuf.version}</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>jakarta.servlet</groupId> - <artifactId>jakarta.servlet-api</artifactId> - <!-- Use 5.0.0 for Jetty 11 / EE9. Use 6.0.0 or 6.1.0 for Jetty 12 (EE10) --> - <version>${jakarta-servlet.version}</version> - <scope>provided</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty.ee11</groupId> - <artifactId>jetty-ee11-servlet</artifactId> - <version>${jetty.version}</version> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-security</artifactId> - <version>${jetty.version}</version> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-util</artifactId> - <version>${jetty.version}</version> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-server</artifactId> - <version>${jetty.version}</version> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-jmx</artifactId> - <version>${jetty.version}</version> + <artifactId>commons-compress</artifactId> + <version>${commons-compress.version}</version> </dependency> <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - <version>${httpclient.version}</version> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons-io.version}</version> </dependency> <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpcore</artifactId> - <version>${httpcore.version}</version> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>${commons-lang.version}</version> </dependency> + <!-- Pin commons-logging to a version with native Log4j API support --> <dependency> - <groupId>org.mapdb</groupId> - <artifactId>mapdb</artifactId> - <version>${mapdb.version}</version> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> </dependency> - <!-- Gson: Java to Json conversion --> <dependency> - <groupId>com.google.code.gson</groupId> - <artifactId>gson</artifactId> - <version>${gson.version}</version> + <groupId>org.apache.commons</groupId> + <artifactId>commons-text</artifactId> + <version>${commons-text.version}</version> </dependency> + <!-- Dependency for Zk provider --> <dependency> - <groupId>commons-codec</groupId> - <artifactId>commons-codec</artifactId> - <version>${commons-codec.version}</version> + <groupId>org.apache.curator</groupId> + <artifactId>curator-framework</artifactId> + <version>${curator.version}</version> </dependency> <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>${commons-io.version}</version> + <groupId>org.apache.curator</groupId> + <artifactId>curator-recipes</artifactId> + <version>${curator.version}</version> </dependency> <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>${commons-collections.version}</version> + <groupId>org.apache.curator</groupId> + <artifactId>curator-test</artifactId> + <version>${curator.version}</version> + <scope>test</scope> </dependency> <dependency> @@ -247,36 +199,12 @@ </dependency> <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-annotations</artifactId> - <version>${jackson-annotations.version}</version> - </dependency> - - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - <version>${fasterxml.jackson.version}</version> - </dependency> - - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> - <version>${fasterxml.jackson.databind.version}</version> - </dependency> - - <dependency> - <groupId>org.schwering</groupId> - <artifactId>irclib</artifactId> - <version>${irclib.version}</version> - </dependency> - - <dependency> - <groupId>com.jcraft</groupId> - <artifactId>jzlib</artifactId> - <version>${zlib.version}</version> + <groupId>org.easytesting</groupId> + <artifactId>fest-reflect</artifactId> + <version>${fest-reflect.version}</version> + <scope>test</scope> </dependency> - <!-- internal module dependencies --> <dependency> <groupId>org.apache.flume</groupId> <artifactId>flume-dependencies</artifactId> @@ -285,68 +213,44 @@ <scope>import</scope> </dependency> + <!-- Gson: Java to Json conversion --> <dependency> - <groupId>org.apache.flume</groupId> - <artifactId>build-support</artifactId> - <version>${flume-project.version}</version> - </dependency> - - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-compress</artifactId> - <version>${commons-compress.version}</version> - </dependency> - - <dependency> - <groupId>org.apache.mina</groupId> - <artifactId>mina-core</artifactId> - <version>${mina.version}</version> - </dependency> - - <dependency> - <groupId>io.netty</groupId> - <artifactId>netty-all</artifactId> - <version>${netty-all.version}</version> - </dependency> - - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>prometheus-metrics-core</artifactId> - <version>${prometheus.version}</version> - </dependency> - - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>prometheus-metrics-exporter-servlet-jakarta</artifactId> - <version>${prometheus.version}</version> + <groupId>com.google.code.gson</groupId> + <artifactId>gson</artifactId> + <version>${gson.version}</version> </dependency> <dependency> - <groupId>org.xerial.snappy</groupId> - <artifactId>snappy-java</artifactId> - <version>${snappy-java.version}</version> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>${guava.version}</version> </dependency> - <!-- Dependency for Zk provider --> <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-framework</artifactId> - <version>${curator.version}</version> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-annotations</artifactId> + <version>${hadoop.version}</version> </dependency> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-recipes</artifactId> - <version>${curator.version}</version> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-auth</artifactId> + <version>${hadoop.version}</version> + <exclusions> + <exclusion> + <groupId>ch.qos.reload4j</groupId> + <artifactId>reload4j</artifactId> + </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-reload4j</artifactId> + </exclusion> + </exclusions> </dependency> - <dependency> - <groupId>org.apache.curator</groupId> - <artifactId>curator-test</artifactId> - <version>${curator.version}</version> - <scope>test</scope> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-client</artifactId> + <version>${hadoop.version}</version> </dependency> - <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> @@ -371,6 +275,11 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-distcp</artifactId> + <version>${hadoop.version}</version> + </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> @@ -405,6 +314,22 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-mapreduce-client-core</artifactId> + <version>${hadoop.version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>ch.qos.reload4j</groupId> + <artifactId>reload4j</artifactId> + </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-reload4j</artifactId> + </exclusion> + </exclusions> + </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-minicluster</artifactId> @@ -431,18 +356,9 @@ </dependency> <dependency> <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-client</artifactId> - <version>${hadoop.version}</version> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-annotations</artifactId> - <version>${hadoop.version}</version> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-auth</artifactId> + <artifactId>hadoop-minikdc</artifactId> <version>${hadoop.version}</version> + <scope>test</scope> <exclusions> <exclusion> <groupId>ch.qos.reload4j</groupId> @@ -452,12 +368,215 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-reload4j</artifactId> </exclusion> + <exclusion> + <!-- exclude this from hadoop minikdc as the minikdc depends on + the apacheds-jdbm1 bundle, which is not available in maven central--> + <groupId>org.apache.directory.jdbm</groupId> + <artifactId>apacheds-jdbm1</artifactId> + </exclusion> </exclusions> </dependency> + <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-distcp</artifactId> - <version>${hadoop.version}</version> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>${httpclient.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpcore</artifactId> + <version>${httpcore.version}</version> + </dependency> + + <dependency> + <groupId>org.schwering</groupId> + <artifactId>irclib</artifactId> + <version>${irclib.version}</version> + </dependency> + + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>${jackson-annotations.version}</version> + </dependency> + + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>${fasterxml.jackson.version}</version> + </dependency> + + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>${fasterxml.jackson.databind.version}</version> + </dependency> + + <dependency> + <groupId>jakarta.servlet</groupId> + <artifactId>jakarta.servlet-api</artifactId> + <!-- Use 5.0.0 for Jetty 11 / EE9. Use 6.0.0 or 6.1.0 for Jetty 12 (EE10) --> + <version>${jakarta-servlet.version}</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty.ee11</groupId> + <artifactId>jetty-ee11-servlet</artifactId> + <version>${jetty.version}</version> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-jmx</artifactId> + <version>${jetty.version}</version> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-security</artifactId> + <version>${jetty.version}</version> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-server</artifactId> + <version>${jetty.version}</version> + </dependency> + + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-util</artifactId> + <version>${jetty.version}</version> + </dependency> + + <!-- For ThreadSafe and GuardedBy annotations --> + <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + <version>${jsr305.version}</version> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>${junit.version}</version> + </dependency> + + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>${junit-jupiter.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <version>${junit-jupiter.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + <version>${junit-jupiter.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.jcraft</groupId> + <artifactId>jzlib</artifactId> + <version>${zlib.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-bom</artifactId> + <version>${log4j.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <dependency> + <groupId>org.mapdb</groupId> + <artifactId>mapdb</artifactId> + <version>${mapdb.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.mina</groupId> + <artifactId>mina-core</artifactId> + <version>${mina.version}</version> + </dependency> + + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>${mockito.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.mock-server</groupId> + <artifactId>mockserver-client-java</artifactId> + <version>${mockserver.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.mock-server</groupId> + <artifactId>mockserver-netty</artifactId> + <version>${mockserver.version}</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + <version>${netty-all.version}</version> + </dependency> + + <dependency> + <groupId>io.prometheus</groupId> + <artifactId>prometheus-metrics-core</artifactId> + <version>${prometheus.version}</version> + </dependency> + + <dependency> + <groupId>io.prometheus</groupId> + <artifactId>prometheus-metrics-exporter-servlet-jakarta</artifactId> + <version>${prometheus.version}</version> + </dependency> + + <dependency> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + <version>${external.protobuf.version}</version> + <scope>compile</scope> + </dependency> + + <!-- Pin SLF4J to 2.x so transitive deps cannot downgrade it to 1.x --> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-bom</artifactId> + <version>${slf4j.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <dependency> + <groupId>org.xerial.snappy</groupId> + <artifactId>snappy-java</artifactId> + <version>${snappy-java.version}</version> + </dependency> + + <dependency> + <groupId>com.github.stefanbirkner</groupId> + <artifactId>system-rules</artifactId> + <version>${system-rules.version}</version> + <scope>test</scope> </dependency> <dependency> @@ -471,13 +590,6 @@ </exclusion> </exclusions> </dependency> - - <!-- For ThreadSafe and GuardedBy annotations --> - <dependency> - <groupId>com.google.code.findbugs</groupId> - <artifactId>jsr305</artifactId> - <version>${jsr305.version}</version> - </dependency> </dependencies> </dependencyManagement>
