ppkarwasz opened a new pull request, #508:
URL: https://github.com/apache/logging-parent/pull/508

   Fixes `verify-reproducibility-reusable` comparing builds against stale 
artifacts instead of the declared reference repository.
   
   The `artifact:compare` goal resolves reference artifacts through the Maven 
resolver, which stores them in the local repository under their regular 
coordinates. Since the workflow caches `~/.m2/repository`, the next run finds 
the snapshot already present and never fetches it from the reference repository 
again.
   
   Changes to `verify-reproducibility-reusable`:
   
   * Log the reference repository URI in a dedicated log group.
   * Before the build, purge all `*-SNAPSHOT` directories from the local Maven 
repository, emitting a `::warning::` for each file found, since their presence 
indicates a polluted cache.
   * After the build, silently purge all `*-SNAPSHOT` directories again (with 
`if: always()`), so the cache saved by the post step stays clean.
   


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