targetModules tag is not working but command line is working fine
ashisjena opened this issue · 0 comments
ashisjena commented
Characteristic
Issue Type: bug
Reproducibility: always
Severity: major
Tool/Service/Component: 1.3.7
Execution Environment: mac
Reporter: Ashis, ashisjena.talk2u@gmail.com
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 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