|
|
@ -113,6 +113,24 @@ |
|
|
|
<ruleset>rulesets/java/ali-set.xml</ruleset> |
|
|
|
<ruleset>rulesets/java/ali-set.xml</ruleset> |
|
|
|
</rulesets> |
|
|
|
</rulesets> |
|
|
|
</configuration> |
|
|
|
</configuration> |
|
|
|
|
|
|
|
<executions> |
|
|
|
|
|
|
|
<!-- 绑定pmd:check到verify生命周期 --> |
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
|
|
<id>pmd-check-verify</id> |
|
|
|
|
|
|
|
<phase>validate</phase> |
|
|
|
|
|
|
|
<goals> |
|
|
|
|
|
|
|
<goal>check</goal> |
|
|
|
|
|
|
|
</goals> |
|
|
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
<!-- 绑定pmd:pmd到site生命周期 --> |
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
|
|
<id>pmd-pmd-site</id> |
|
|
|
|
|
|
|
<phase>site</phase> |
|
|
|
|
|
|
|
<goals> |
|
|
|
|
|
|
|
<goal>pmd</goal> |
|
|
|
|
|
|
|
</goals> |
|
|
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
</executions> |
|
|
|
<dependencies> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.alibaba.p3c</groupId> |
|
|
|
<groupId>com.alibaba.p3c</groupId> |
|
|
|