Skip to content

Conversation

@Derrickers
Copy link
Collaborator

@Derrickers Derrickers commented Aug 5, 2025

  • Add name to each pom file
  • change central endpoint

Summary by CodeRabbit

  • Chores
    • Updated project metadata to include descriptive names for all modules.
    • Updated repository URLs and version information for artifact deployment and snapshot resolution.
    • No changes to code, APIs, or user-facing features.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 5, 2025

Walkthrough

This change adds a <name> element to the Maven POM files of all modules, setting its value to ${project.groupId}:${project.artifactId}. Additionally, the root pom.xml updates the sofa.ark.version property from a snapshot to a release version and revises Sonatype repository URLs for artifact deployment and snapshot resolution.

Changes

Cohort / File(s) Change Summary
Add <name> to Module POMs
sofa-ark-bom/pom.xml, sofa-ark-parent/pom.xml, sofa-ark-parent/core/pom.xml, sofa-ark-parent/core/api/pom.xml, sofa-ark-parent/core/common/pom.xml, sofa-ark-parent/core/exception/pom.xml, sofa-ark-parent/core/spi/pom.xml, sofa-ark-parent/core-impl/pom.xml, sofa-ark-parent/core-impl/archive/pom.xml, sofa-ark-parent/core-impl/container/pom.xml, sofa-ark-parent/assembly/pom.xml, sofa-ark-parent/support/pom.xml, sofa-ark-parent/support/ark-maven-plugin/pom.xml, sofa-ark-parent/support/ark-plugin-maven-plugin/pom.xml, sofa-ark-parent/support/ark-springboot-integration/ark-common-springboot/pom.xml, sofa-ark-parent/support/ark-springboot-integration/ark-compatible-springboot1/pom.xml, sofa-ark-parent/support/ark-springboot-integration/ark-compatible-springboot2/pom.xml, sofa-ark-parent/support/ark-springboot-integration/ark-springboot-starter/pom.xml, sofa-ark-parent/support/ark-support-starter/pom.xml, sofa-ark-parent/support/ark-tools/pom.xml, sofa-ark-plugin/pom.xml, sofa-ark-plugin/config-ark-plugin/pom.xml, sofa-ark-plugin/netty-ark-plugin/pom.xml, sofa-ark-plugin/web-ark-plugin/pom.xml
Added <name>${project.groupId}:${project.artifactId}</name> to each module's POM for improved metadata clarity.
Root POM Version and Repository Update
pom.xml
Updated sofa.ark.version from 2.3.2-SNAPSHOT to 2.3.2 and replaced Sonatype OSSRH URLs with new endpoints for deployment.

Sequence Diagram(s)

No sequence diagram generated, as the changes are limited to build metadata and configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • update to 2.2.14-SNAPSHOT #1002: Also modifies the sofa.ark.version property in pom.xml, but focuses on a different version state and does not update repository URLs.
  • update to 2.2.16 #1051: Updates the sofa.ark.version property from a snapshot to a release version, similar to this PR's version management changes.
  • to 2.3.1 #1072: Changes the sofa.ark.version property from snapshot to release, directly relating to this PR's version update.

Suggested labels

size/XS

Suggested reviewers

  • lvjing2

Poem

In the meadow of code, a bunny hops with glee,
Adding names to POMs, as clear as can be!
URLs refreshed, versions set right,
The build now shines with metadata light.
With every hop, the project grows strong—
🐇 Happy coding, hop along!

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dongnan-dev

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Derrickers Derrickers requested a review from yuanyuancin August 5, 2025 08:49
@codecov
Copy link

codecov bot commented Aug 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.92%. Comparing base (7e0814f) to head (74e8d27).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1092      +/-   ##
============================================
+ Coverage     77.77%   77.92%   +0.14%     
- Complexity      911      912       +1     
============================================
  Files           175      175              
  Lines          7383     7383              
  Branches       1082     1082              
============================================
+ Hits           5742     5753      +11     
+ Misses         1092     1081      -11     
  Partials        549      549              

☔ 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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

♻️ Duplicate comments (4)
sofa-ark-parent/pom.xml (1)

14-15: Same note on descriptive <name> element

sofa-ark-parent/core/api/pom.xml (1)

13-14: Same note on descriptive <name> element

sofa-ark-parent/core-impl/archive/pom.xml (1)

11-12: Same note on descriptive <name> element

sofa-ark-parent/assembly/pom.xml (1)

11-12: Same note on descriptive <name> element

🧹 Nitpick comments (7)
sofa-ark-parent/support/pom.xml (1)

13-13: Consider a human-readable <name> value

Maven Central’s UI and generated docs show the <name> verbatim. While the coordinate ${project.groupId}:${project.artifactId} is valid, a descriptive label such as “SOFA-Ark Support Parent” is easier for humans to scan. Optional, but improves UX across repository browsers.

sofa-ark-parent/core/exception/pom.xml (1)

11-12: Prefer a human-readable <name> over coordinates

Sonatype’s Maven Central guidelines encourage a descriptive project name (e.g. “SOFA Ark Exception”) rather than repeating the coordinates. This is purely cosmetic and will not block deployment, but a friendlier name makes the generated POM easier to scan.

sofa-ark-parent/core/spi/pom.xml (1)

11-11: <name> value is machine-readable rather than human-friendly

${project.groupId}:${project.artifactId} is perfectly valid metadata, but Maven’s <name> is usually intended for a human-facing description (it shows up in generated sites, Bill-of-Materials, etc.). Using purely coordinates can reduce readability for consumers browsing the artifacts.

No action required, just flagging in case the team prefers descriptive names like “SOFA-Ark SPI”.

sofa-ark-plugin/config-ark-plugin/pom.xml (1)

14-14: Same note on human-readable module name

Consider whether a descriptive label such as “SOFA-Ark Config Plugin” would better serve downstream users than raw coordinates.

sofa-ark-parent/core/common/pom.xml (1)

11-11: Descriptive <name> might aid artifact discovery

While coordinates are technically fine, a friendlier string (e.g., “SOFA-Ark Common Utilities”) is often more helpful in generated docs.

sofa-ark-plugin/pom.xml (1)

15-15: Aggregating POM could expose clearer project title

This parent POM is an aggregator; you may want the <name> to reflect that role (“SOFA-Ark Plugins (Aggregator)”) for clarity in repository browsers.

sofa-ark-parent/support/ark-tools/pom.xml (1)

11-11: Optional: replace coordinates with descriptive tool name

E.g., “SOFA-Ark Development Tools”. Improves readability in Maven Central listings.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7e0814f and 74e8d27.

📒 Files selected for processing (25)
  • pom.xml (7 hunks)
  • sofa-ark-bom/pom.xml (1 hunks)
  • sofa-ark-parent/assembly/pom.xml (1 hunks)
  • sofa-ark-parent/core-impl/archive/pom.xml (1 hunks)
  • sofa-ark-parent/core-impl/container/pom.xml (1 hunks)
  • sofa-ark-parent/core-impl/pom.xml (1 hunks)
  • sofa-ark-parent/core/api/pom.xml (1 hunks)
  • sofa-ark-parent/core/common/pom.xml (1 hunks)
  • sofa-ark-parent/core/exception/pom.xml (1 hunks)
  • sofa-ark-parent/core/pom.xml (1 hunks)
  • sofa-ark-parent/core/spi/pom.xml (1 hunks)
  • sofa-ark-parent/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-maven-plugin/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-plugin-maven-plugin/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-springboot-integration/ark-common-springboot/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-springboot-integration/ark-compatible-springboot1/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-springboot-integration/ark-compatible-springboot2/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-springboot-integration/ark-springboot-starter/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-support-starter/pom.xml (1 hunks)
  • sofa-ark-parent/support/ark-tools/pom.xml (1 hunks)
  • sofa-ark-parent/support/pom.xml (1 hunks)
  • sofa-ark-plugin/config-ark-plugin/pom.xml (1 hunks)
  • sofa-ark-plugin/netty-ark-plugin/pom.xml (1 hunks)
  • sofa-ark-plugin/pom.xml (1 hunks)
  • sofa-ark-plugin/web-ark-plugin/pom.xml (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
  • GitHub Check: build
  • GitHub Check: sca
🔇 Additional comments (15)
sofa-ark-parent/support/ark-springboot-integration/ark-compatible-springboot2/pom.xml (1)

14-14: Consistent <name> metadata – looks good

The addition aligns with Maven Central requirements and the pattern used across all modules. No issues spotted.

sofa-ark-parent/core/pom.xml (1)

11-11: <name> tag addition validated

Standard‐conforming and helpful for repository browsing; nothing further to address here.

sofa-ark-parent/core-impl/container/pom.xml (1)

11-11: Metadata improvement accepted

The new <name> element is correct and keeps the module in sync with the rest of the build.

sofa-ark-parent/support/ark-support-starter/pom.xml (1)

13-13: Good addition of <name> element

No functional impact; enhances artifact readability in Central.

sofa-ark-parent/support/ark-plugin-maven-plugin/pom.xml (1)

13-13: <name> field correctly introduced

Change is straightforward and consistent with other modules.

sofa-ark-parent/core-impl/pom.xml (1)

11-11: Metadata <name> element addition is appropriate

The new <name>${project.groupId}:${project.artifactId}</name> satisfies Maven Central’s requirement for an explicit project name and follows the same convention applied across the repo. No further action needed.

sofa-ark-plugin/netty-ark-plugin/pom.xml (1)

15-15: Consistent naming convention applied

Adding the <name> field keeps this module aligned with the rest of the multi-module build and improves readability on Maven Central. Looks good.

sofa-ark-parent/support/ark-maven-plugin/pom.xml (1)

14-14: POM metadata enhanced

Including a <name> element here is a welcome improvement for artifact discoverability. No issues spotted.

sofa-ark-plugin/web-ark-plugin/pom.xml (1)

14-14: LGTM – <name> tag added

The update follows the new project-wide standard and has no impact on build behavior.

sofa-ark-parent/support/ark-springboot-integration/ark-compatible-springboot1/pom.xml (1)

14-14: Project name field added correctly

The change brings this Spring-Boot 1 compatibility module in line with the rest of the POMs. All good.

sofa-ark-parent/support/ark-springboot-integration/ark-common-springboot/pom.xml (1)

14-14: Consistent artifact naming metadata added – looks good

Adding <name>${project.groupId}:${project.artifactId}</name> keeps module metadata uniform across the multi-module build and improves discoverability on Maven Central.

sofa-ark-bom/pom.xml (1)

14-14: BOM now exposes a clear <name> – approved

The extra <name> in the BOM POM is harmless and aligns with the new convention adopted project-wide.

sofa-ark-parent/support/ark-springboot-integration/ark-springboot-starter/pom.xml (1)

18-18: Starter module metadata aligned – no issues

The new <name> element follows the same pattern as other modules; this is beneficial for Central search.

pom.xml (2)

17-17: Snapshot → release property bump – verify downstream expectations

Changing sofa.ark.version to the released 2.3.2 is correct for a Central push, but double-check:

  1. All child modules inherit this property (they reference ${project.version} in many places).
  2. CI/CD pipelines and any consumer projects are ready for the non-SNAPSHOT version.

230-336: New Sonatype endpoints may not be Maven-resolvable – please validate

The URLs were switched to:

  • https://ossrh-staging-api.central.sonatype.com/…
  • https://central.sonatype.com/repository/maven-snapshots/

These domains are not the usual repo hosts (s01.oss.sonatype.org or oss.sonatype.org). If these endpoints are incorrect, releases and snapshots will fail to deploy/resolve.
Furthermore, the default profile (Lines 345-362) still points to the legacy snapshot repo, creating inconsistency.

Action items:

  1. Confirm with Sonatype docs that the new endpoints are valid for REST staging and snapshot download.
  2. Align the default profile repositories with whichever endpoint you choose to prevent environment-dependent behaviour.

Copy link
Collaborator

@yuanyuancin yuanyuancin left a comment

Choose a reason for hiding this comment

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

LGTM

@Derrickers Derrickers merged commit c008301 into master Aug 5, 2025
8 checks passed
@Derrickers Derrickers deleted the dongnan-dev branch August 5, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants