Skip to content

Commit

Permalink
fix xstream error
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Coles committed Mar 11, 2021
1 parent 5cdecca commit a5e123a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 0 additions & 1 deletion pitest-entry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>1.7.5</version>
<scope>test</scope>
</dependency>

Expand Down
3 changes: 2 additions & 1 deletion pitest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testNGArtifactName>none:none</testNGArtifactName>
<!-- pitest does not use reflection, but some of the tests depend on xstream, which does -->
<argLine>--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.ref=ALL-UNNAMED</argLine>

<includes>
<include>org/**/Test*.java</include>
Expand Down Expand Up @@ -220,7 +222,6 @@
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>3.5.4</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,17 @@
</profile>
</profiles>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>3.5.4</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

<!-- common dependencies used in all subprojects -->
<dependencies>
<dependency>
Expand All @@ -154,7 +165,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.9.0</version>
<version>3.19.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit a5e123a

Please sign in to comment.