Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

targetModules tag is not working but command line is working fine #50

Open
ashisjena opened this issue Jan 2, 2020 · 0 comments
Open

Comments

@ashisjena
Copy link

ashisjena commented Jan 2, 2020

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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant