Description
Since PMD 5.1.1, CPDConfiguration adds a method postContruct().
This method is used to set the sourceEncoding property used to read source files in PMD.
If the sourceEncoding not set, CPD will use the platform default encoding to read the source files and maven-pmd-plugin's encoding has no effects.