我为runPIT添加了maven插件。它会创建工件,但不会在指定目录中上载。我希望将arctifacts上传到“ reports / mutation”目录中。我指定了如下路径。有人可以提供正确的方向吗?
<profile>
<id>runPIT</id>
<build>
<plugins>
plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>${pit.version}</version>
<configuration>
<failWhenNoMutations>false</failWhenNoMutations>
<timestampedReports>false</timestampedReports>
<mutationThreshold>${pit.mutationThreshold}</mutationThreshold>
<outputFormats>
<outputFormat>HTML</outputFormat>
<outputFormat>XML</outputFormat>
</outputFormats>
<reportsDirectory>reports/mutation</reportsDirectory>
<targetClasses><param>sf.claims.*.*</param></targetClasses>
<targetTests>
<param>sf.claims.*.*</param>
</targetTests>
<avoidCallsTo>
<avoidCallsTo>sf.jra.framework.eventing</avoidCallsTo>
<avoidCallsTo>java.lang.Thread</avoidCallsTo>
</avoidCallsTo>
<timeoutConstant>10000</timeoutConstant>
</configuration>
<executions>
<execution>
<goals>
<goal>mutationCoverage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>