STAMP-project / pitmp-maven-plugin

Maven plugin to handle multi module projects for PiTest
GNU Lesser General Public License v3.0
46 stars 14 forks source link

Incompatibility with PITest 1.4.3 #35

Open dmitry-timofeev opened 5 years ago

dmitry-timofeev commented 5 years ago

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

Characteristics

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.

pedrorijo91 commented 5 years ago

this supported versions are documented under https://github.com/STAMP-project/pitmp-maven-plugin#releases

oscarlvp commented 5 years ago

1.3.7-SNAPSHOT has been deployed to the Nexus repository and should address this issue.