Added coding problems in Java class as demonstration for PMD rules.
Added sample PMD configuration to POM.