wozhenbang2004 commented on issue #13472:
URL: https://github.com/apache/maven/issues/13472#issuecomment-7127504932

   m2e still [calls 
`DefaultMaven.newRepositorySession()`](https://github.com/eclipse-m2e/m2e-core/blob/249e94528bc649eefbbd06658d1134ce267f78a2/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenExecutionContext.java#L594-L599)
 when it starts a refresh. Would you prefer a public API for opening and 
closing an embedded session in #13462, or as a first step here?
   
   I tried the overlapping refresh case in a `BuildReportCollector` test 
against #14077 at `e5969627`. With two sessions and separate output 
directories, starting A, starting B, ending A, then ending B produced a report 
only for A. Ending A before starting B produced both reports. That seems worth 
covering in an embedder test so each caller gets its own result.


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