Re: Checking generated sources with PMD

2021-07-28 Thread Konstantin Orlov
Hi, Petr! The idea sounds good in theory, but reality is bit complicated. When the code is generated from scratch, it's seems possible to comply with all requirements and checks. But in case of templating there is no chance to avoid all violations. Here is an example: public AstNode createCust

Checking generated sources with PMD

2021-07-26 Thread Petr Ivanov
Hi, Igniters! While working with Semyon on IGNITE-15182 [1] we've stumbled upon the following dilemma, that I would like to discuss. Currently, `mvn compile pmd:check` command (as mentioned in Devnotes) also adds to check generated sources and fails on them, while mvn install && mvn pmd:check