refactor: extract all hardcoded versions to parent POM properties #3088
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
Changes
Parent POM (
pom.xml)Added 49 new version properties organized into two sections:
Maven Plugin Versions:
maven-enforcer-plugin.version(3.6.2)maven-toolchains-plugin.version(3.2.0)go-offline-maven-plugin.version(1.2.8)sortpom-maven-plugin.version(4.0.0)jacoco-maven-plugin.version(0.8.14)easy-jacoco-maven-plugin.version(0.1.4)rewrite-maven-plugin.version(6.21.1)rewrite-testing-frameworks.version(3.19.0)rewrite-migrate-java.version(3.19.0)java18-signature.version(1.0)maven-shade-plugin.version(3.6.1)really-executable-jar-maven-plugin.version(2.1.1)org.eclipse.transformer.maven.version(0.2.0)Third-Party Dependency Versions:
commons-text,commons-exec,commons-fileupload,commons-codeccompile-testing,mockito.version(5.20.0)spring-web,spring-context,spring-cloud-*jakarta.ws.rs-api,jakarta.xml.bind-api,jakarta.xml.soap-api,jakarta.xml.ws-apijavax.ws.rs-api,jaxb-api,jaxb-impl,jaxws-apihttpclient4,httpclient5metrics-core-4,metrics-core-5saaj-impl-1,saaj-impl-3lombok,handlebars,hystrix-core,undertow-core,jersey-client,archaius-core, and moreChild Module POMs
Updated 23 child module POMs to use the new properties instead of hardcoded versions:
apt-test-generator,benchmark,core,dropwizard-metrics4,dropwizard-metrics5example-github,example-github-with-coroutine,example-wikipedia,example-wikipedia-with-springbootform,form-spring,hc5,httpclient,hystrixjackson-jaxb,jaxb,jaxb-jakarta,jaxrs,jaxrs2,jaxrs3,jaxrs4soap,soap-jakartaBenefits
metrics-core-4.versionvsmetrics-core-5.version)Validation
mvn validate -Pquickbuild -Dtoolchain.skip=true)git grep)Files Changed
🤖 Generated with Claude Code