michael-o commented on code in PR #240:
URL: https://github.com/apache/maven-resolver/pull/240#discussion_r1098528694
##########
maven-resolver-connector-basic/src/main/java/org/eclipse/aether/connector/basic/BasicRepositoryConnector.java:
##########
@@ -298,9 +306,11 @@ public void put( Collection<? extends ArtifactUpload>
artifactUploads,
Runnable task = new PutTaskRunner( location, transfer.getFile(),
transfer.getFileTransformer(),
checksumLocations, listener );
- task.run();
+ executor.execute( errorForwarder.wrap( task ) );
}
+ errorForwarder.await(); // make sure all artifacts are PUT before we
go with Metadata
+
Review Comment:
The forwarder will throw an exception if something goes wrong?
--
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]