turns out my fix was wrong.
DefaultClassRealm in classworlds is child-first delegation, so when loading classes in a child container (which creates its own realm), MojoScanner interface ends up loaded locally. So really the only solution is to hide the maven-plugin-tools-api.jar from embedded Maven. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2106 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录