Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-2
-
Fix Version/s: 3.0-beta-1
-
Component/s: Class Loading
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
This is a followup request for MNG-4041.
PluginManager and Plugin cache should allow safe release of plugin realms, that is, ability for embedding application, like Eclipse or Netbeans, to determine if any given plugin realm is currently being used and remove unused realms from PluginCache in a thread-safe manner.
I see at least two cases when it is not safe to release a plugin realm
- Regular plugin realm during mojo execution.
- Extensions plugin realm for as long as the referencing project(s) are in the reactor or otherwise known to the embedding application.
Issue Links
- is related to
-
MNG-4041
embedder returns stale maven project state
-
Could you provide some more details on the desired API, e.g. pseudo-code that illustrates its intended usage and the required methods?