efegokdemir opened a new pull request, #343:
URL: https://github.com/apache/maven-remote-resources-plugin/pull/343

   Fixes #341. `JarResourceLoader` retains JAR files registered through 
`supplementalModelArtifacts`, which can lock them or serve stale content after 
replacement. The plugin now reads supplemental model entries directly from each 
resolved artifact using a short-lived `JarFile`, while keeping the existing 
locator for other resource paths. A regression test replaces the artifact 
between executions and checks that the updated model is loaded.
   
   `mvn -Prun-its verify` passed on JDK 21 (58 unit tests, 12 integration 
tests, 7 Invoker projects). `mvn spotless:apply` and `git diff --check` passed.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed 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