jira-importer commented on issue #282:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/282#issuecomment-2771521597

   **[Daniel 
Dabah](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dannyengineers)**
 commented
   
   How about a solution that stores `readyProjectsCounter` in the `session` 
field? (Specifically, using `session.topLevelProject.get/setContextValue`).
   The `session` is always the same instance, regardless of what `ClassRealm` 
is active.
   We've tested this solution in our build system and it works well.
   The only catch is that this requires declaring the `session` field which 
isn't currently declared in the plugin. However, this shouldn't actually 
require any change on the part of the user and so should be backward compatible.
   Are there any consequences of being dependent upon `session` that I'm not 
aware of?
   


-- 
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-unsubscr...@maven.apache.org

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

Reply via email to