[Java] Clean-up: make it so interim time during implementation produces correct artifacts - #2345
Conversation
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
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2ea248b2-112a-4548-865e-922721479b0c
84a429b to
c5c8e28
Compare
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de80978a-085e-476a-97a2-d2c5858446f6 fix(java): guard native packaging by libc Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de80978a-085e-476a-97a2-d2c5858446f6 Remove prompts before merge
c5c8e28 to
a3316cc
Compare
Cross-SDK Consistency Review ✅This PR is entirely scoped to the Java SDK's native bundling infrastructure — no public SDK API surface is added or modified. Changed files:
Consistency assessment: The fix corrects incorrect No cross-language consistency issues found. 🎉
|
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.