Skip to content

Preserve POMs when provisioning archives - #202

Merged
wendigo merged 1 commit into
masterfrom
user/electrum/preserve-pom-artifact
Nov 22, 2026
Merged

wendigo merged 1 commit into
masterfrom
user/electrum/preserve-pom-artifact

Conversation

@electrum

Copy link
Copy Markdown
Member

Keep the original POM when a POM-packaged project provisions an archive. Such projects can install an unclassified ZIP and a classified sources JAR alongside the POM.

Copilot AI balanced review requested due to automatic review settings November 22, 2026 04:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The plugin adds configurable attachment types and classifiers for generated archives. For POM, JAR, and Takari JAR packaging, it attaches the archive using the configured type or, when none is set, the archive extension. A new integration fixture provisions a ZIP and a classified sources JAR for a POM-packaged project. The test checks that installation preserves the POM and both archives and does not install a main JAR.

Merge Risk: Minimal · up to 50714

This change keeps the POM when a POM-packaged project provisions archives, and it adds an integration test for that case. No merge-blocking risk was found.

Pre-merge checks: Passed 2

Check name Status Explanation
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.
Finishing Touches

Fix failing CI checks

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

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 39b59d76-642e-4850-a1eb-2bc16f7ed8bc
Commits

Reviewing files that changed from the base of the PR and between 693d6a9 and 507146e.

Files selected for processing: 6

  • provisio-maven-plugin/src/main/java/ca/vanzyl/maven/plugins/provisio/ProvisioningMojo.java
  • provisio-maven-plugin/src/test/java/ca/vanzyl/maven/plugins/provisio/ProvisioningIntegrationTest.java
  • provisio-maven-plugin/src/test/projects/pom-attachments/pom.xml
  • provisio-maven-plugin/src/test/projects/pom-attachments/src/main/content/example.txt
  • provisio-maven-plugin/src/test/projects/pom-attachments/src/main/provisio/docs/docs.xml
  • provisio-maven-plugin/src/test/projects/pom-attachments/src/main/provisio/sources/sources.xml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@electrum
electrum requested review from jvanzyl and wendigo November 22, 2026 05:44
@wendigo
wendigo merged commit 76e8114 into master Nov 22, 2026
4 of 5 checks passed
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.

3 participants