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 (as it is done in TC) does not (the reason is in absence of execution 
of maven-compiler-plugin which is not called on `pmd:check` goal).
PR from [1] introduces solution to add generated and other sources to check, 
but now there is a question: should we really add additional sources for 
examination?
From one side generated sources are not in our direct control and it can be 
hard to impossible to fix them right, from another — generated sources still a 
part of project and some flaws and worst practices in it can influent project's 
stability in an unpredictable way.

Please, share your thoughts on the matter!




[1] https://issues.apache.org/jira/browse/IGNITE-15182

Reply via email to