Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Policy repositories inherit from oparent which supports Checkstyle Plugin to ensure the code meets Java Code Style requirements. In addition, each repository enforces checkstyle by overriding oparent 

failsOnViolation=true 

violationSeverity=warning

Note: There are some overrides of class names leftover from Casablanca release that will be fixed in Dublin Release.


The following pages give instructions on how to setup your editor to continue to enforce checkstyle requirements in your developer environment. By doing so, this will prevent unnecessary CI/CD job verify failures.

Policy Developer Environment: Setting up Eclipse

Policy Developer Environment - Setting up IntelliJ


If you do not use these editoreditors, just a simple "mvn compile" from a command line terminal should identify checkstyle issues.

...