You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/01/04 10:14:34 UTC
[maven] branch MNG-7129-maven-caching updated: MNG-7129 fix for cleanup of partial state (#640)
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch MNG-7129-maven-caching
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/MNG-7129-maven-caching by this push:
new ccc22af MNG-7129 fix for cleanup of partial state (#640)
ccc22af is described below
commit ccc22aff6d3e12187fd8f449e8f03fe5f38da5bd
Author: maximilian-novikov-db <ma...@db.com>
AuthorDate: Tue Jan 4 13:14:24 2022 +0300
MNG-7129 fix for cleanup of partial state (#640)
---
.../java/org/apache/maven/buildcache/CachingMojosExecutionStrategy.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/buildcache/CachingMojosExecutionStrategy.java b/src/main/java/org/apache/maven/buildcache/CachingMojosExecutionStrategy.java
index 74307d8..d334e53 100644
--- a/src/main/java/org/apache/maven/buildcache/CachingMojosExecutionStrategy.java
+++ b/src/main/java/org/apache/maven/buildcache/CachingMojosExecutionStrategy.java
@@ -202,7 +202,6 @@ public class CachingMojosExecutionStrategy implements MojosExecutionStrategy
// cleanup partial state
project.getArtifact().setFile( null );
project.getArtifact().setResolved( false );
- project.getAttachedArtifacts().clear();
mojoListener.remove( project );
// build as usual
for ( MojoExecution mojoExecution : cachedSegment )