Merge pull request #378 from teleivo/RAD-345 RAD-345 Fail CI on missing license header and do not format
teleivo <mrteleivo@gmail.com>
d333ec8915bb860837b05651fb1a256d86d8e5dbm
RAD-345 Fail CI on missing license header and do not format
Ensure that when devs run mvn install/package the code and license headers are
formatted. Do not format on CI and fail on CI if license header is missing.
* bind mycila maven license plugin goal format to phase process-sources so it executes on
mvn install/package automatically.
* add ids to formatter plugins so we can override them easily
* extract common plugin configs for formatters into root pom in
pluginManagement
* fix missed formatting in MrrtReportTemplateServiceComponentTest
* add ci profile
** activated with env var CI=true
** license header will be checked and build will fail
** code and license header will not be formatted