Need help on migrating from PluginManager to PluginProcessor #3573
Unanswered
VenkataSubbareddy-GY
asked this question in
Q&A
Replies: 1 comment
-
@VenkataSubbareddy-GY, when you compile your code using the annotation processor, do you see a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using PluginManager.addPackage() for adding custom plugins, but the same is deprecated now and need to migrate to PluginProcessor. So, could someone help on doing the same with an example completely.
Also, i tried the below approach, for which i am getting build fail while running the test cases through maven build.
I have commented all the PluginManager.addPackage() statements.
Added below maven compiler plugin in pom.xml
So, with the above two changes i am getting build fail with below error messages, while running test cases.
Error message : ERROR Unrecognized conversion specifier [V4Log] starting at position 6 in conversion pattern.
I believe, with my above code changes, i don't think, PluginProcessor is working as aspected and during runtime, my custom plugins from Log4j2Plugins.dat are not available for PluginManager to scan / load. So, need help here on the same.
Beta Was this translation helpful? Give feedback.
All reactions