ParkGyeongTae opened a new pull request, #5308:
URL: https://github.com/apache/zeppelin/pull/5308

   ### What is this PR for?
   The root `pom.xml` declares a `plugin.checkstyle.version` property (`2.17`) 
intended to pin the `maven-checkstyle-plugin` version used across all modules, 
but the plugin's `<pluginManagement>` declaration never referenced it via a 
`<version>` tag. As a result Maven silently resolved a different, 
non-deterministic plugin version regardless of what the property said — 
confirmed locally: the property said `2.17`, but the build actually ran 
`checkstyle:3.4.0:check`. This PR adds the missing 
`<version>${plugin.checkstyle.version}</version>` tag and bumps the property to 
`3.6.0` (the current latest release) so the pinned version is the one that 
actually runs.
   
   ### What type of PR is it?
   Improvement
   
   ### Todos
   * [x] Add `<version>${plugin.checkstyle.version}</version>` to the 
`maven-checkstyle-plugin` block in `<pluginManagement>`
   * [x] Bump `plugin.checkstyle.version` from `2.17` to `3.6.0`
   
   ### What is the Jira issue?
   
[ZEPPELIN-6541](https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-6541)
   
   ### How should this be tested?
   ```bash
   ./mvnw -pl shell verify -DskipTests
   ```
   Confirm the log shows checkstyle:3.6.0:check (not an arbitrary/older 
version) and the build completes with BUILD SUCCESS. No module overrides the 
plugin version locally, so all modules using maven-checkstyle-plugin inherit 
the pinned version consistently.
   
   
   Screenshots (if appropriate)
   
   N/A
   
   Questions:
   
   - Does the license files need to update? No.
   - Is there breaking changes for older versions? No — build-time only change, 
no runtime behavior affected.
   - Does this needs documentation? No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to