Skip to content

Fix Maven JAR finalName warning - #389

Merged
BenCodez merged 1 commit into
masterfrom
chore/maven-jar-finalname-20261122
Nov 22, 2026
Merged

BenCodez merged 1 commit into
masterfrom
chore/maven-jar-finalname-20261122

Conversation

@BenCodez

@BenCodez BenCodez commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Move <finalName>${project.name}</finalName> from the read-only maven-jar-plugin configuration into Maven's supported <build> section.
  • Preserve the expected target/AdvancedCore.jar output name, packaging checks, and installation behavior.
  • No Java code, dependencies, or shade filters changed.

Validation — verified on exact PR head dcde618c9c66c0129dd8e40fb46ea5008fd08235

  • GitHub Actions Maven package build passed.
  • 1,723 unit tests passed (0 failures, 0 errors, 0 skipped).
  • 2 packaged-artifact tests passed (0 failures, 0 errors, 0 skipped).
  • Build log confirms target/AdvancedCore.jar was produced and retained required relocated classes.
  • The prior read-only finalName Maven JAR warning does not appear in the successful build log.
  • GitHub reports no merge conflicts; CodeRabbit reported no actionable code-review findings.

The existing Maven shade duplicate-class warnings remain and are outside this narrow fix; see #385 for separate packaging work. The CodeRabbit OSV scanner did not complete (exit 127), so this PR does not claim a successful dependency-vulnerability scan.

Summary by CodeRabbit

  • Chores
    • The build output now uses the project name as the packaged artifact’s filename, providing a consistent name across build configurations.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The POM now sets the artifact’s final name at the build level. The JAR plugin configuration no longer sets the final name.

Changes: Artifact naming

Layer / File(s) Summary
Set build-level final name
AdvancedCore/pom.xml
The build configuration sets the final name to ${project.name}. The JAR plugin configuration no longer sets it.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to dcde6

This build-hygiene change keeps the JAR output name the same and removes a Maven warning. No actionable merge risk was found, and CI should confirm the artifact name.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Fix Maven JAR finalName warning" matches the main change. The PR moves the finalName setting from the maven-jar-plugin configuration to the top-level build section, which removes the read-o…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "Fix Maven JAR finalName warning" matches the main change. The PR moves the finalName setting from the maven-jar-plugin configuration to the top-level build section, which removes the read-only parameter warning. The title is specific and concise, and it names the warning that the change resolves.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

OSV Scanner (2.7.0)

AdvancedCore/pom.xml

OSV Scanner exited with code 127; dependency analysis is incomplete

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

@BenCodez
BenCodez marked this pull request as ready for review November 22, 2026 19:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T19:11:10.016438Z dcde618 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-22T19:12:40.580273Z dcde618 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BenCodez
BenCodez merged commit c6ca315 into master Nov 22, 2026
6 checks passed
@BenCodez
BenCodez deleted the chore/maven-jar-finalname-20261122 branch November 22, 2026 19:25
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.

1 participant