-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Replenish module name #1388
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
Replenish module name #1388
Conversation
Signed-off-by: JermaineHua <[email protected]>
Signed-off-by: JermaineHua <[email protected]>
WalkthroughA Changes
Possibly related PRs
Suggested labels
Poem
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (6)
sofa-boot-project/sofa-boot-starters/rpc-sofa-boot-starter/pom.xml (1)
12-12: Good addition; consider conventional element order for readabilityThe
<name>element is a welcome addition and fully valid in any position, but Maven docs and most IDEs conventionally list<artifactId>first, followed by<version>,<packaging>,<name>, etc. Swapping the two lines keeps the file layout consistent with common expectations and with other open-source POMs, aiding quick visual scanning across modules.- <name>RPC SOFABoot Starter</name> - <artifactId>rpc-sofa-boot-starter</artifactId> + <artifactId>rpc-sofa-boot-starter</artifactId> + <name>RPC SOFABoot Starter</name>sofa-boot-project/sofa-boot-starters/sofa-boot-starter/pom.xml (1)
12-12: Place<name>after<artifactId>for conventional POM ordering
Maven’s canonical element sequence puts<name>after<artifactId>(and<version>if present). Although Maven does not enforce the order, following the convention eases scanning and diffing across modules.<artifactId>sofa-boot-starter</artifactId> - <name>SOFABoot Starter</name> + <name>SOFABoot Starter</name>sofa-boot-project/sofa-boot-core/ark-sofa-boot/pom.xml (1)
12-12: Minor style: move<name>below<artifactId>
Align with standard POM layout for consistency across modules and with upstream archetypes.<artifactId>ark-sofa-boot</artifactId> - <name>ARK SOFA Boot</name> + <name>ARK SOFA Boot</name>sofa-boot-project/sofa-boot/pom.xml (1)
13-13: Follow conventional element order
For readability, list<name>after<artifactId>.<artifactId>sofa-boot</artifactId> - <name>SOFA Boot</name> + <name>SOFA Boot</name>sofa-boot-project/sofa-boot-starters/isle-sofa-boot-starter/pom.xml (1)
12-12: Consistent naming & ordering
- Conventional order: place
<name>after<artifactId>.- Consider naming pattern “SOFABoot Isle Starter” to mirror “SOFABoot Starter” unless “Isle SOFABoot Starter” is intentional.
<artifactId>isle-sofa-boot-starter</artifactId> - <name>Isle SOFABoot Starter</name> + <name>SOFABoot Isle Starter</name> <!-- or keep as-is if branding dictates -->sofa-boot-project/sofa-boot-actuator-autoconfigure/pom.xml (1)
14-14: Non-blocking style tweak
Placing<name>after<artifactId>keeps all module POMs uniform.<artifactId>sofa-boot-actuator-autoconfigure</artifactId> - <name>SOFABoot Actuator Autoconfigure</name> + <name>SOFABoot Actuator Autoconfigure</name>
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (24)
sofa-boot-project/pom.xml(1 hunks)sofa-boot-project/sofa-boot-actuator-autoconfigure/pom.xml(1 hunks)sofa-boot-project/sofa-boot-actuator/pom.xml(1 hunks)sofa-boot-project/sofa-boot-autoconfigure/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/ark-sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/isle-sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/runtime-sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/test-sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofa-boot-core/tracer-sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofa-boot-parent/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/actuator-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/ark-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/isle-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/rpc-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/runtime-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/test-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-starters/tracer-sofa-boot-starter/pom.xml(1 hunks)sofa-boot-project/sofa-boot-tools/pom.xml(1 hunks)sofa-boot-project/sofa-boot/pom.xml(1 hunks)sofa-boot-project/sofaboot-dependencies/pom.xml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: build (21)
- GitHub Check: build (17)
- GitHub Check: sca
🔇 Additional comments (18)
sofa-boot-project/sofa-boot-tools/pom.xml (1)
14-14: Good addition of<name>for clearer artifact metadataAdding the
<name>element improves readability in generated Maven sites and tooling with zero build-time impact. Looks all good.sofa-boot-project/sofa-boot-starters/actuator-sofa-boot-starter/pom.xml (1)
12-12: Consistent<name>element added – LGTMAdds human-readable module name, improving POM metadata with no functional impact. Matches naming style used in other modules.
sofa-boot-project/sofa-boot-starters/test-sofa-boot-starter/pom.xml (1)
12-12: Addition of<name>element looks goodThe new
<name>tag enriches the POM metadata and has no side effects on build logic.sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml (1)
12-12: Addition of<name>element improves Maven metadata – LGTM.The element is syntactically correct and aligns with the naming pattern used in sibling modules. No further action required.
sofa-boot-project/sofa-boot-core/tracer-sofa-boot/pom.xml (1)
12-12: Human-readable module name added – looks goodIncluding a
<name>element improves POM metadata clarity and has no functional impact. No concerns here.sofa-boot-project/sofa-boot-core/isle-sofa-boot/pom.xml (1)
12-12: Metadata enrichment looks correct – no issues spotted.Adding a
<name>element is Maven-standard, harmless to the build, and improves readability in generated artifacts (e.g., in Maven Central listings).sofa-boot-project/sofa-boot-core/runtime-sofa-boot/pom.xml (1)
12-12: Good addition of human-readable module name.Consistent with the broader refactor; nothing else affected.
sofa-boot-project/sofa-boot-starters/pom.xml (1)
13-13: Aggregator POM now exposes a clear display name – looks fine.No impact on the multi-module build; change is purely descriptive.
sofa-boot-project/sofa-boot-actuator/pom.xml (1)
13-13: Display name added – conforms to naming convention.Nothing else changed; safe update.
sofa-boot-project/sofa-boot-starters/runtime-sofa-boot-starter/pom.xml (1)
29-29: Starter POM now has a proper<name>tag – all good.Aligns with other modules and introduces no functional risk.
sofa-boot-project/sofa-boot-core/test-sofa-boot/pom.xml (1)
12-12: Module name added – LGTMThe
<name>element improves Maven-Central readability and introduces no functional changes.sofa-boot-project/sofa-boot-core/pom.xml (1)
23-23: Human-readable module name – looks correctConsistent with the other modules and placed in the standard location before
<artifactId>.sofa-boot-project/sofa-boot-starters/ark-sofa-boot-starter/pom.xml (1)
12-12: Metadata enhancement approvedAddition follows the same pattern; no build impact.
sofa-boot-project/sofa-boot-autoconfigure/pom.xml (1)
14-14: Clear module naming – OKGood placement and wording; aligns with the rest of the project.
sofa-boot-project/sofa-boot-starters/tracer-sofa-boot-starter/pom.xml (1)
12-12: Consistent<name>element – approvedCompletes the naming sweep across starter modules.
sofa-boot-project/sofaboot-dependencies/pom.xml (1)
13-13:<name>element is a welcome metadata enrichmentAdding a human-readable project name improves the generated POM and any tooling/UI that surfaces it. No functional impact detected.
sofa-boot-project/pom.xml (1)
12-12: Good: aggregator POM now has an explicit display nameHelps readability in artifact repositories (e.g., Nexus, Maven Central). Placement just after
<parent>is conventional.sofa-boot-project/sofa-boot-parent/pom.xml (1)
14-14: LGTM – parent POM metadata clarifiedNo build-time changes involved; only improves metadata clarity for consumers.
| <version>${revision}</version> | ||
| </parent> | ||
|
|
||
| <name>SOFABoot Dependencies</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Double-check consistency across all modules
If any sub-module POM is still missing a <name> tag, Maven-centric dashboards will show an empty field for that module. Consider running a quick search to confirm full coverage.
🏁 Script executed:
#!/bin/bash
# Find POMs that still lack a <name> element
fd -e xml pom . | xargs grep -L '<name>'Length of output: 773
Add missing <name> tags to all modules
Several POM files currently lack a <name> element, which will cause Maven-centric dashboards to show an empty name for those modules. Please add a descriptive <name> entry to each of the following files:
• sofa-boot-tests/pom.xml
• sofa-boot-tests/sofa-boot-jacoco-report/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-actuator/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-ark/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-boot/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-isle/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-runtime/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-test/pom.xml
• sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-tracer/pom.xml
Example insertion:
<project>
…
<name>SOFABoot Smoke Tests – Actuator</name>
…
</project>🤖 Prompt for AI Agents
In sofa-boot-project/sofaboot-dependencies/pom.xml at line 13, add a descriptive
<name> tag inside the <project> element if missing. Then, for each listed module
POM file, open the file and insert a meaningful <name> element within the
<project> tags, describing the module clearly (e.g., "SOFABoot Smoke Tests –
Actuator" for the actuator module). This ensures Maven dashboards display proper
module names.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1388 +/- ##
=========================================
Coverage 82.91% 82.91%
Complexity 2972 2972
=========================================
Files 340 340
Lines 9833 9833
Branches 1178 1178
=========================================
Hits 8153 8153
Misses 1164 1164
Partials 516 516 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit