Bug 568879: [Build] execute pmd in verify step
automatically execute pmd/cpd targets in verify step
Change-Id: I279dc9ddd6703dd6e9d197920ab7acbdab3682a5
diff --git a/releng/org.eclipse.skills.releng/pom.xml b/releng/org.eclipse.skills.releng/pom.xml
index 47a66dd..c365dde 100644
--- a/releng/org.eclipse.skills.releng/pom.xml
+++ b/releng/org.eclipse.skills.releng/pom.xml
@@ -98,6 +98,17 @@
</excludeRoots>
<rulesets>../../releng/org.eclipse.skills.releng/pmd/pmd_rules.xml</rulesets>
</configuration>
+
+ <executions>
+ <execution>
+ <id>pmd-integration</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>pmd</goal>
+ <goal>cpd</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<!-- enable checkstyle code analysis -->