[Java] Clean-up: make it so interim time during implementation produces correct artifacts - #2345
[Java] Clean-up: make it so interim time during implementation produces correct artifacts#2345edburns wants to merge 3 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2ea248b2-112a-4548-865e-922721479b0c
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de80978a-085e-476a-97a2-d2c5858446f6
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull request overview
Restricts Java native-runtime packaging to supported build hosts so incorrect platform-classified artifacts are not produced.
Changes:
- Adds host-activated Maven native packaging.
- Updates native-build documentation and ADR.
- Adds temporary implementation and validation plans.
Show a summary per file
| File | Description |
|---|---|
java/copilot-native/pom.xml |
Adds host-gated native packaging profiles. |
java/README.md |
Documents native build behavior. |
java/docs/adr/adr-007-native-bundling-strategy.md |
Records the host-matched packaging strategy. |
2323-java-windows-x64-embed-rust-remove-before-merge/20260815-make-it-so-no-incorrect-os-arch-artifacts-are-produced.md |
Adds a temporary implementation plan. |
2323-java-windows-x64-embed-rust-remove-before-merge/20260816-notes-to-linux-x64-agent.md |
Adds a temporary Linux validation handoff. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 5/5 changed files
- Comments generated: 4
- Review effort level: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de80978a-085e-476a-97a2-d2c5858446f6
Cross-SDK Consistency Review ✅This PR is entirely scoped to Java build infrastructure — it fixes incorrect No cross-SDK consistency issues identified. The changes affect:
None of these touch the public SDK API surface, so no corresponding changes are needed in the Node.js, Python, Go, .NET, or Rust implementations.
|
Fixes #2344 .
Since the merging of #2301 , the Java Maven POM incorrectly produced artifacts containing
linux-x64in the filename, regardless of the actual os-arch of the build. This is incorrect. The correct behavior is to make it so only when the actual os-arch islinux-x64should such artifacts be produced.