Related with the "Modules cleanup" tasks the maven jjtree-javacc plugin (Mojo version) failed compiling the cql module. The cql module was developed following the javacc "Simple" strategy which generates only one parser node (SimpleNode) for all parsing rules. Thus, to identify what is the semantic action required, the compiler gets the node identifier. This is the reason why the SimpleNode was customised. This approach requires an special maven behaviour that was introduced in the jjtee-javacc plugin developed for geotools project.
In order to avoid the maintain of jjtree-javacc pluguin, the parser generation will be changed from SIMPLE to MULTI node, so jjtree will generate one class for each node declared in the parsing rule (specified in the correspondent jjt file)
This solution requires to change all "getType" by "if node instanceof ..."