refactored cpd plugin to work with multi-project parallelized builds by limiting the plugin to only the root project since CPD is not thead-safe.
in addition, the pmd plugin is no longer applied by the cpd plugin, allowing it to be used independently.