slachiewicz opened a new pull request, #2337:
URL: https://github.com/apache/maven-resolver/pull/2337

   Port of #2336 to 1.9.x. Wagon reads `Last-Modified` into the `Resource` but 
never sets it on the downloaded file, so with 
`-Dmaven.resolver.transport=wagon` the local repository holds the download 
time. The HTTP transporter already sets the remote time (MRESOLVER-393). The 
Wagon transporter now sets it too, before the temp file is moved into place; 
#2318 keeps it through that move on Windows.
   
   As with the HTTP transporter, the update check now sees a downloaded 
snapshot as dated by the server, not by the download. The test lives in #2336; 
this line's tests are JUnit 4, so none is added here.
   
   ---
   
   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:
   
   - [x] 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