xiangfu0 commented on code in PR #18542: URL: https://github.com/apache/pinot/pull/18542#discussion_r3282995839
########## pinot-bom/pom.xml: ########## @@ -0,0 +1,443 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<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"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-bom</artifactId> + <!-- + PURPOSE: import this BOM in any project that depends on Pinot modules but + does not inherit from the Pinot parent POM (e.g. Pinot extensions, plugins, + or external consumers). It pins every org.apache.pinot artifact to a single + consistent version, so you only need one import instead of one entry per + module. + + Third-party library versions are intentionally NOT in this BOM. Extension + developers pick up compatible transitive versions automatically by depending + on the Pinot modules themselves. If you need to resolve a transitive version + conflict, run `mvn dependency:tree` to see what version Pinot pulls in. + + VERSION NOTE: this explicit <version> must always equal the root pom version. + Do NOT change it manually — run `mvn versions:set -DnewVersion=X.Y.Z` from + the repository root and this module is updated automatically (the versions + plugin finds it in the reactor by matching this literal version). + + WHY NO <parent>: the root pom imports this BOM via <scope>import</scope>. + Maven 3 rejects a cycle where the BOM also inherits from that same root pom. + Omitting <parent> breaks the cycle; Maven resolves this POM independently. + --> + <version>1.6.0-SNAPSHOT</version> + <name>Pinot BOM</name> + <packaging>pom</packaging> + + <dependencyManagement> + <dependencies> + <!-- Pinot Modules --> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-spi</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-segment-spi</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-common</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-segment-local</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-core</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-materialized-view</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-query-planner</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-query-runtime</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-controller</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-broker</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-server</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-minion</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-java-client</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-jdbc-client</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-tools</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-perf</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-timeseries-spi</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-timeseries-planner</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-sql-ddl</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-timeseries-m3ql</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-udf-test</artifactId> + <version>${project.version}</version> + </dependency> + + <!-- Pinot Plug-in Modules --> + <!-- Batch Ingestion --> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-batch-ingestion-common</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-batch-ingestion-hadoop</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-batch-ingestion-spark-base</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-batch-ingestion-spark-3</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-batch-ingestion-standalone</artifactId> + <version>${project.version}</version> + </dependency> + <!-- Stream Ingestion --> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-kafka-base</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-kafka-3.0</artifactId> Review Comment: will there be conflict for kafka3 and kafka4? similar to spark 3 and 4 etc -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
