We were able to resolve this issue by following the suggestion posted in this github link
https://github.com/bjornvester/wsdl2java-gradle-plugin/issues/26
We forked this code and then compiled using the dependency
Under PluginImpl the import statement was replaced with
NameConverter nc = (NameConverter) context.parent().getModel().getNameConverter();
With the following changes, we published the plugin code to our local repo and use this plugin in cxf-codegen-plugin
I shall commit the code sample shortly for reference
Thanks -Raghavan