Repository navigation
Add Java dependency version sync script and sync dependencies - #12286
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6dc9e98a-42fc-4fcf-b49c-b0823d177763
Handle numeric enum names and update the test token cache import for Azure Core 1.60.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6dc9e98a-42fc-4fcf-b49c-b0823d177763
|
All changed packages have been documented.
Show changes
|
There was a problem hiding this comment.
🔵 Needs a closer look
The runtime and build-tool upgrades warrant human confirmation of compatibility beyond the reported build and compilation checks.
0 open findings
What changed in this PR
Adds repeatable dependency synchronization for the Java emitter and aligns generator and generated-project dependencies with Azure SDK for Java.
Changes:
- Adds a PowerShell sync script with an allowlist, version pins, dry-run support, and offline tests.
- Updates Java dependencies and Maven plugins across generator modules and templates.
- Adjusts the authentication-test import and documents the synchronization workflow.
| File | Description |
|---|---|
packages/http-client-java/generator/pom.xml |
Updates shared Maven plugins. |
packages/http-client-java/generator/http-client-generator/pom.xml |
Updates Jackson and shade-plugin versions. |
packages/http-client-java/generator/http-client-generator-test/src/test/java/authentication/util/BearerTokenAuthenticationPolicy.java |
Uses the public token-cache import. |
packages/http-client-java/generator/http-client-generator-test/pom.xml |
Updates Azure integration-test dependencies. |
packages/http-client-java/generator/http-client-generator-mgmt/pom.xml |
Updates management-test dependencies. |
packages/http-client-java/generator/http-client-generator-core/src/main/resources/pom.xml |
Updates generated-POM defaults. |
packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/projectmodel/Project.java |
Updates generated-project dependency versions. |
packages/http-client-java/generator/http-client-generator-core/pom.xml |
Updates Azure Core for tests. |
packages/http-client-java/generator/http-client-generator-clientcore-test/pom.xml |
Updates ClientCore test dependencies and compiler plugin. |
packages/http-client-java/eng/versioning/Sync-Versions.Tests.ps1 |
Adds offline synchronization tests. |
packages/http-client-java/eng/versioning/Sync-Versions.ps1 |
Implements dependency synchronization. |
packages/http-client-java/eng/versioning/external_dependencies.txt |
Defines the allowlist and version pins. |
packages/http-client-java/CONTRIBUTING.md |
Documents synchronization and testing commands. |
.chronus/changes/http-client-java-sync-dependency-versions.md |
Records the internal tooling addition. |
.chronus/changes/chore-java-sync-dependency-versions-2026-9-16-10-20-30.md |
Records dependency updates. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
You can try these changes here
|
Reuse cached response bytes when reading XML page items and the next link. Add sync and async pagination regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6dc9e98a-42fc-4fcf-b49c-b0823d177763
Keep XML attribute and namespace support while reading cached response bytes. Cover stream-backed continuation tokens and next links. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6dc9e98a-42fc-4fcf-b49c-b0823d177763
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6dc9e98a-42fc-4fcf-b49c-b0823d177763
…5745) Update the Java core pin to `f098e0fdd` for the `0.48.2` hotfix. No package version bump in this PR. - Include continuation-token paging (microsoft/typespec#12196), enum Javadoc escaping (microsoft/typespec#12177), and dependency synchronization (microsoft/typespec#12286), plus upstream dependency maintenance (microsoft/typespec#12205, microsoft/typespec#12207, microsoft/typespec#12287). - Sync upstream integration tests and add a local version-sync script for shared test dependencies/plugins, using the pinned upstream POMs. Preserve Azure-specific tooling and generated samples. - Record all changes as Chronus `fix`, as requested for this release branch. Validation: branded emitter/generator build, offline version-sync tests, enum/ARM generation smoke checks, repository formatting and lint. Copilot-Session: c93fd771-4af9-4e61-b9af-8f2b15588c47
Summary
-WhatIf.Project.Dependency.Validation