Skip to content

build(mvn): add checkstyle validation

David Flor requested to merge xflord/STR-1148/checkstyle_init into main

Description

build(mvn): add checkstyle validation

  • added checkstyle plugin with custom configuration
  • build now fails if checkstyle finds errors

How to test

None

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

You can run checkstyle locally with mvn checkstyle:check or using the IDEA Checkstyle plugin (see the docs). Check of test classes has been disabled for now in this MR, will be enabled and fixed later.

Related issues

re STR-1148

Edited by David Flor

Merge request reports