wilx opened a new pull request, #1102:
URL: https://github.com/apache/maven-compiler-plugin/pull/1102

   ## Summary
   
   - persist the ordered class path and module path in the plugin-local 
`dependencies.lst` state file
   - record regular dependency files as size and modification time, and 
exploded dependency directories as a stable metadata fingerprint
   - trigger the existing `changed dependency` rebuild reason when dependencies 
are added, removed, reordered, relocated, or replaced at the same path
   - add integration coverage for dependency removal and same-path SNAPSHOT 
replacement
   
   ## Why
   
   The 3.x incremental check only considered dependency timestamps relative to 
the current Maven session. It could therefore miss a dependency removed between 
invocations or a JAR replaced at the same path before the next invocation, 
leaving stale application bytecode.
   
   ## Validation
   
   - `JAVA_HOME=/opt/jdks/latest-21 /opt/maven/latest/bin/mvn clean verify` — 
28 tests passed
   - `JAVA_HOME=/opt/jdks/latest-21 /opt/maven/latest/bin/mvn -Prun-its clean 
verify` — 78 builds passed, 5 environment-specific skips
   
   Fixes #1087
   
   ---
   
   Following this checklist to help us incorporate your
   contribution quickly and easily:
   
   - [x] An issue is filed for this change: #1087. This pull request addresses 
only that issue.
   - [x] Each commit in the pull request has a meaningful subject line and body.
   - [x] The pull request title describes the issue. The template's 
`[MCOMPILER-XXX]` convention is not applicable because this is tracked as 
GitHub issue #1087.
   - [x] The pull request description explains what the pull request does, how, 
and why.
   - [x] Ran `mvn clean verify`.
   - [x] Ran the integration tests successfully with `mvn -Prun-its clean 
verify`.
   
   If your pull request is about ~20 lines of code you don't need to sign an
   [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
   please ask on the developers list.
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](http://www.apache.org/licenses/LICENSE-2.0)
   you have to acknowledge this by using the following check-box.
   
   - [ ] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   
   - [ ] In any other case, please file an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
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