-
Enhancement
-
Resolution: Done
-
Major
-
None
-
7.3.0.Final
-
None
-
NEW
-
NEW
kie-maven-plugin uses Thread.currentThread().getContextClassLoader() to get what it seems to be a plugin classloader (so that it has access to all the deps of the plugin). Based on a recent discussion on maven-dev list, this is not correct, and will likely break the plugin when maven 3.5.1 is released. The fix is to use this.getClass().getClassloader() to get to the plugin classloader.
See http://mail-archives.apache.org/mod_mbox/maven-dev/201709.mbox/browser for the discussion on the maven developer list.