gviedma commented on issue #12676:
URL: https://github.com/apache/pinot/issues/12676#issuecomment-2013325131

   @Jackie-Jiang You can find the best practices under the [Maven dependency 
management 
guide](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html).
 The following sections are of particular relevance:
   * [Dependency 
Mangement](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#dependency-management):
 describes the practice of simplifying dependencies in the common parent pom, 
as well as the use of the `dependencyManagement` section to control the 
versions of artifacts used in transitive dependencies.
   * [Bill-of-Materials 
POMs](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms):
 this section describes how a collection of related libraries can all be 
managed as a single entity via the BOM mechanism, effectively allowing all 
related libraries to be pinned at the same version (without having to 
explicitly include every single one of them).
   
   Perhaps this is something that can be enforced during the PR review process 
or even automated via a linting mechanism.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to