Bukama commented on code in PR #12916:
URL: https://github.com/apache/maven/pull/12916#discussion_r3889116807


##########
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java:
##########
@@ -89,7 +89,11 @@ public void 
injectTransformedArtifacts(RepositorySystemSession session, MavenPro
                     : Files.createTempFile(CONSUMER_POM_CLASSIFIER + "-", 
".pom");
             deferDeleteFile(consumer);
 
-            project.addAttachedArtifact(createConsumerPomArtifact(project, 
consumer, session));
+            boolean alreadyAttached = project.getAttachedArtifacts().stream()

Review Comment:
   Do you want to apply this improvement before merging as we had some 
performance issue with local repository in rc6 or do you want to apply it in a 
separate PR/later version?



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