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

   **[Olivier 
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** 
commented
   
   We cannot have a full rebuild here as this would break some features of the 
build cache project.
   The module is part of the reactor and only the version has changed (nothing 
else such Java source, dependencies, resources etc..) so the checksum is 
exactly the same.
   As it's part of the reactor the checksum is calculated versionLess which 
perfectly makes sense as again nothing else has changed.
   Well here this is generating a problem because of the version used by some 
metadata tooling.
   We may need something here to manage the case of m-plugin-p:descriptor as it 
should run on the restored output from the cache (having a maven-plugin part of 
the reactor build for reusing it can lead to other problems)
   By the way, the recommended way for testing Maven plugins is to use the 
maven-invoker-plugin https://maven.apache.org/plugins/maven-invoker-plugin/ 
which includes some very features for testing plugins.
   


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