suninformation commented on issue #561: URL: https://github.com/apache/maven-mvnd/issues/561#issuecomment-1005780151
> > > @gnodet You're right. When execute the following command, it's right for a period of time. > > > ```shell > > > mvnd ymate:entity -DshowOnly=true -Dmvnd.pluginRealmEvictPattern=mvn:net.ymate.maven.plugins:ymate-maven-plugin > > > ``` > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I don't quite understand how to support reuse? How can I prevent such problems from happening? Can you give me some advice? > > > > > > To be honest, I wasn't really expecting the plugin eviction to work, as this looks more like a classloading issue. I suspect the thread's ContextClassLoader is not correctly set the second time. Could you debug the plugin execution and check the TTCL's value ? > > It may also be related to the concurrency issue found in maven https://issues.apache.org/jira/browse/MNG-7156 and https://issues.apache.org/jira/browse/MNG-7285 that should be fixed in maven 3.8.5. It was included with #523 but I think I should have removed the custom `MavenProject` included in `mvnd`. I think that's the cause of the problem. That's good news. Now we can only wait for maven 3.8.5 to be released before problem verification. Is there any other way? I can try. -- 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]
