【发布时间】:2017-03-09 10:54:13
【问题描述】:
我已经配置了我的 pom 文件,以便使用我的 pom 文件中的插件生成 pmd 报告。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>pmd</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<format>xml</format>
</configuration>
</execution>
</executions>
</plugin>
在这里我可以使用以下方法在我的项目目标文件夹下创建报告pmd.xml:
mvn clean compile" command
但它也在该目标文件夹下创建“站点”文件夹,并且在站点文件夹内也创建了pmd.html 文件。
why.How 进行配置,以便不会创建站点文件夹。
【问题讨论】: