Re: overwriting a read-only attribute in Checkstyle config

2020-04-24 Thread Hervé BOUTEMY
marking a plugin parameter as read-only is a choice of the plugin developer, who does not consider configuration as a provided plugin/goal feature, but wants to inject default values that are consistent with other POM configuration if you think the plugin needs to be improved to be more

Re: overwriting a read-only attribute in Checkstyle config

2020-04-23 Thread Enrico Olivelli
Javier, In upcoming Maven release 3.7 0 it won't be allowed to overwrite readonly attributes. I am sorry, I don't know how to fix your issue. Question for the community: can we drop the 'readonly' flag from the 'resources' field of checkstyle plugin? I mean, it has always been writable up to

overwriting a read-only attribute in Checkstyle config

2020-04-23 Thread Javier Gómez
Hi, we are testing a config, that overwrites a readonly attribute, in Maven Checkstyle plugin config, to be able to analyze a set of resource folders in project root folder. We don't want to define this spefic folders config in POM build block, to avoid inherit that in child POMs, so we