pitmp-maven-plugin icon indicating copy to clipboard operation
pitmp-maven-plugin copied to clipboard

Incompatibility with PITest 1.4.3

Open dmitry-timofeev opened this issue 5 years ago • 2 comments

Hi, cool project! I've encountered an incompatibility with the recent PITest:

Characteristics

  • Issue Type: bug
  • Reproducibility: always
  • Severity: minor
  • Tool/Service/Component: 1.3.6
  • Execution Environment: Oracle JDK 8, Maven 3.5.4, Ubuntu 16.04

Description

Such configuration

      <plugin>
        <groupId>eu.stamp-project</groupId>
        <artifactId>pitmp-maven-plugin</artifactId>
        <version>1.3.6</version>
        <dependencies>
          <dependency>
            <groupId>org.pitest</groupId>
            <artifactId>pitest-maven</artifactId>
            <version>1.4.3</version>
          </dependency>
          <dependency>
            <groupId>org.pitest</groupId>
            <artifactId>pitest-junit5-plugin</artifactId>
            <version>0.7</version>
          </dependency>
        </dependencies>
      </plugin>

causes the build to fail with the following error:

[ERROR] Failed to execute goal eu.stamp-project:pitmp-maven-plugin:1.3.6:run (default-cli) on project foo: Execution default-cli of goal eu.stamp-project:pitmp-maven-plugin:1.3.6:run failed: An API incompatibility was encountered while executing eu.stamp-project:pitmp-maven-plugin:1.3.6:run: java.lang.NoSuchMethodError: org.pitest.mutationtest.config.ReportOptions.setFullMutationMatrix(Z)V

Works fine with 1.4.2.

dmitry-timofeev avatar Oct 08 '18 20:10 dmitry-timofeev