Skip to content

Add gradle.properties file for nullaway-bom module#1383

Merged
yuxincs merged 1 commit into
masterfrom
nullaway-bom-gradle-properties
Dec 19, 2025
Merged

Add gradle.properties file for nullaway-bom module#1383
yuxincs merged 1 commit into
masterfrom
nullaway-bom-gradle-properties

Conversation

@msridhar

@msridhar msridhar commented Dec 19, 2025

Copy link
Copy Markdown
Collaborator

This ensures the generated pom has a project name, required by Maven Central

Summary by CodeRabbit

  • Chores
    • Added Maven Bill of Materials configuration for improved dependency management capabilities.

✏️ Tip: You can customize this high-level summary in your review settings.

@msridhar msridhar requested a review from yuxincs December 19, 2025 19:08
@yuxincs yuxincs enabled auto-merge (squash) December 19, 2025 19:09
@coderabbitai

coderabbitai Bot commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

This pull request adds a new Gradle properties file at nullaway-bom/gradle.properties that defines Maven BOM (Bill of Materials) coordinates for the NullAway BOM module. The file contains metadata including the project name, artifact ID, and packaging type, along with an Apache 2.0 license header. No code or public interfaces are modified.

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a gradle.properties file to the nullaway-bom module, which is the core objective of this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nullaway-bom-gradle-properties

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 92983ce and 21137e7.

📒 Files selected for processing (1)
  • nullaway-bom/gradle.properties (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Build caffeine with snapshot
  • GitHub Check: Build and test on windows-latest
  • GitHub Check: Build and test on macos-latest
🔇 Additional comments (2)
nullaway-bom/gradle.properties (2)

1-15: LGTM.

The Apache 2.0 license header is correctly formatted and consistent with license requirements.


17-18: The property names POM_NAME and POM_ARTIFACT_ID follow standard Gradle naming conventions. Verify that the build configuration consumes these properties correctly before merging.

Comment on lines +17 to +19
POM_NAME=NullAway
POM_ARTIFACT_ID=nullaway-bom
POM_PACKAGING=jar

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Change POM_PACKAGING from "jar" to "pom" for the BOM module.

A BOM artifact requires packaging type pom, not jar, to qualify as a proper BOM with the POM file explicitly specifying <packaging>pom</packaging> in its metadata. This is essential for Maven Central compliance and proper BOM functionality.

-POM_PACKAGING=jar
+POM_PACKAGING=pom
🤖 Prompt for AI Agents
In nullaway-bom/gradle.properties around lines 17 to 19, the BOM module is
incorrectly set with POM_PACKAGING=jar; change the packaging value to
POM_PACKAGING=pom so the artifact is produced as a BOM (packaging pom) and
metadata will include <packaging>pom</packaging>, ensuring Maven Central
compliance and correct BOM behavior.

@yuxincs yuxincs merged commit 6a29dce into master Dec 19, 2025
8 of 9 checks passed
@yuxincs yuxincs deleted the nullaway-bom-gradle-properties branch December 19, 2025 19:11
@codecov

codecov Bot commented Dec 19, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.35%. Comparing base (92983ce) to head (21137e7).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1383   +/-   ##
=========================================
  Coverage     88.35%   88.35%           
  Complexity     2642     2642           
=========================================
  Files            97       97           
  Lines          8888     8888           
  Branches       1775     1775           
=========================================
  Hits           7853     7853           
  Misses          518      518           
  Partials        517      517           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants