You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/12/23 15:26:20 UTC

[GitHub] [maven] maximilian-novikov-db commented on a change in pull request #640: MNG-7129 fix for cleanup of partial state

maximilian-novikov-db commented on a change in pull request #640:
URL: https://github.com/apache/maven/pull/640#discussion_r774638973



##########
File path: src/main/java/org/apache/maven/buildcache/CachingMojosExecutionStrategy.java
##########
@@ -202,7 +202,6 @@ private boolean restoreProject( CacheResult cacheResult,
             // cleanup partial state
             project.getArtifact().setFile( null );
             project.getArtifact().setResolved( false );
-            project.getAttachedArtifacts().clear();

Review comment:
       a hotfix, as the attached artifacts is an unmodifiable list. Perhaps need a better fix.




-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org