pitmp-maven-plugin
pitmp-maven-plugin copied to clipboard
targetModules tag is not working but command line is working fine
Characteristic
Issue Type: bug Reproducibility: always Severity: major Tool/Service/Component: 1.3.7 Execution Environment: mac Reporter: Ashis, [email protected]
Description
<plugin>
<groupId>eu.stamp-project</groupId>
<artifactId>pitmp-maven-plugin</artifactId>
<version>${pitmp-maven-plugin-version}</version>
<configuration>
<mutationEngine>descartes</mutationEngine>
<targetModules>
<param>module-name</param>
</targetModules>
<avoidCallsTo>
<avoidCallsTo>java.util.logging</avoidCallsTo>
<avoidCallsTo>org.apache.log4j</avoidCallsTo>
<avoidCallsTo>org.slf4j</avoidCallsTo>
<avoidCallsTo>org.apache.commons.logging</avoidCallsTo>
</avoidCallsTo>
</configuration>
</plugin>
The above is my plugin config.
While running mvn eu.stamp-project:pitmp-maven-plugin:descartes
with the <targetModules> tag, the pitmp is trying to run every module in the project.
but mentioning the targetModules as in the below command line it's working as intended and picking only the mentioned modules in the command line.
mvn "-DtargetModules=module-name" eu.stamp-project:pitmp-maven-plugin:descartes