Build: #297 was successful
Job: Default Job was successful
Code commits
Git
-
Ivo Ulrich <teleivo@users.noreply.github.com> 479795dafb1d99f6e94a044e23f13af795e70a7e
Merge pull request #378 from teleivo/RAD-345
RAD-345 Fail CI on missing license header and do not format -
teleivo <mrteleivo@gmail.com> d333ec8915bb860837b05651fb1a256d86d8e5db m
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- api/pom.xml (version d333ec8915bb860837b05651fb1a256d86d8e5db)
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateServiceComponentTest.java (version d333ec8915bb860837b05651fb1a256d86d8e5db)
- omod/pom.xml (version d333ec8915bb860837b05651fb1a256d86d8e5db)
- pom.xml (version d333ec8915bb860837b05651fb1a256d86d8e5db)