Repository navigation
chore: bump dependencies - #12770
Merged
Merged
chore: bump dependencies#12770
Conversation
…, mockito, logback and others) jmustache stays at 1.15: 1.16 changes template output and breaks CsharpClientGeneralEnumSupportIntegrationTest.
There was a problem hiding this comment.
🔵 Needs a closer look
The broad upgrades need human compatibility validation, and the Surefire execution configuration needs migration before upgrading.
1 open issue
What changed in this PR
Updates Maven dependencies and build plugins across Swagger Codegen, with Java 11 compatibility as the stated goal.
Changes:
- Bumps shared libraries and module-specific dependencies.
- Centralizes shared plugin versions in root properties.
- Updates compilation, testing, packaging, and publishing tools.
| File | Description |
|---|---|
| pom.xml | Updates shared dependencies and centralizes plugin versions. |
| modules/swagger-generator/pom.xml | Updates service dependencies and build plugins. |
| modules/swagger-codegen/pom.xml | Updates execution, compilation, and reporting plugins. |
| modules/swagger-codegen-maven-plugin/pom.xml | Updates Maven APIs and plugin tooling. |
| modules/swagger-codegen-cli/pom.xml | Uses the centralized Shade plugin version. |
Review effort: Balanced
…ns JUnit and TestNG in one pass)
djankows
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Bumps Maven dependencies and plugins to their latest stable versions that are compatible with our Java 11 CI build. Plugin versions that were hardcoded across several poms are now centralized as
*-versionproperties in the rootpom.xml.Bumped
Dependencies
Plugins
I checked the bytecode level of the new jars. All are Java 11 compatible or lower.
Intentionally not bumped
class file has wrong version 61.0, should be 55.0. 1.50 is also the last release, since the project is abandoned.CsharpClientGeneralEnumSupportIntegrationTest. Bumping needs a separate look at the rendering change and the expected files.##Surefire:
dropped the duplicate
test-testngexecutionChange: Removed the
test-testngexecution and thetestNGArtifactName/junitArtifactNamesettings. A single default execution now runs both JUnit and TestNG tests. The jmockit-javaagentargLineis unchanged. Kept Surefire at 3.6.0 rather than reverting to 3.0.0.PR checklist
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.shand./bin/security/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\.3.0.0branch for changes related to OpenAPI spec 3.0. Default:master.