Skip to content

Commit

Permalink
Introduce powermock.version property, update PowerMock to 2.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev authored Apr 6, 2020
1 parent a9ad272 commit 1a48b87
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
<access-modifier-annotation.version>${access-modifier.version}</access-modifier-annotation.version>
<access-modifier-checker.version>${access-modifier.version}</access-modifier-checker.version>
<animal.sniffer.version>1.18</animal.sniffer.version>
<powermock.version>2.0.7</powermock.version>

<!-- To opt in to @Restricted(Beta.class) APIs, set to true: -->
<useBeta>false</useBeta>
Expand Down Expand Up @@ -155,10 +156,6 @@
<version>1.0</version>
<type>signature</type>
</dependency>
<!--
Recommended versions of Mockito and PowerMock for build with Java 11 (JENKINS-55098)
The versions require Java 8 as a minimum baseline, but they can be downgraded in plugins if needed.
-->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
Expand All @@ -167,12 +164,12 @@
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>2.0.6</version>
<version>${powermock.version}</version>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
<version>2.0.6</version>
<version>${powermock.version}</version>
</dependency>
<dependency>
<groupId>org.objenesis</groupId>
Expand Down

0 comments on commit 1a48b87

Please sign in to comment.