jira-importer commented on issue #306:
URL: 
https://github.com/apache/maven-build-cache-extension/issues/306#issuecomment-2955437725

   **[Dave 
Moten](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=davidmoten2)**
 commented
   
   `nah the problem here is because of the multi module and so projects are 
part of the reactor build.`
   
   If I run mvn clean install on a new snapshot version of a single module 
project A I expect that that version should be present in .m2/repository 
afterwards.
   
   I move on to project B (completely separate) and try to use that new 
snapshot version of project A and it is not found (because build cache maven 
plugin skipped it).
   
   Sure this is an edge case because normally when versions change the source 
code has changed but I still think the plugin can be robust enough to handle 
it. Note that this edge case **is** encountered just after building a release.
   
   Disabling the extension by default is annoying because project users lose 
efficiency and educating project users about these edge cases is a pain in the 
bum.
   
   I've just confirmed the behaviour with a single module project. Just add the 
version to the checksum.
   
    
   
    
   
    
   


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