[MPMD-256] Add maxAllowedViolations property for PMD

Merge branch 'pr-1'