Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Maven BOM #731

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Create a Maven BOM #731

merged 1 commit into from
Aug 25, 2022

Conversation

shs96c
Copy link
Collaborator

@shs96c shs96c commented Aug 19, 2022

In multi-project Maven repos, it's common to create a
Bill of Materials (BOM) pom.xml that shares the common
dependencies the project uses, pinned at specific versions.

The maven_bom rule gathers multiple java_export targets
into a single unit, and creates the BOM from them. The
dependencies included in the BOM are:

  • Ones that appear as dependencies of two or more of the
    java_exports the BOM is being created for.
  • Are not one of the java_exports the BOM is being
    created for.

In multi-project Maven repos, it's common to create a
Bill of Materials (BOM) `pom.xml` that shares the common
dependencies the project uses, pinned at specific versions.

The `maven_bom` rule gathers multiple `java_export` targets
into a single unit, and creates the BOM from them. The
dependencies included in the BOM are:

 - Ones that appear as dependencies of two or more of the
  `java_export`s the BOM is being created for.
 - Are not one of the `java_export`s the BOM is being
   created for.
@shs96c shs96c requested a review from cheister as a code owner August 19, 2022 12:52
@shs96c shs96c merged commit 8a9bcd9 into bazelbuild:master Aug 25, 2022
@shs96c shs96c deleted the maven-bom branch August 25, 2022 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants