summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-09-09 11:25:32 +0530
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-09-09 15:06:50 +0530
commit5be1390d67a7a0fa05117e49d7a82134d6f81dcf (patch)
tree32784dd49721858799784be0dd5760f4f2086aef /main
parent44b22b049eb949b3102ef2a207c89a60deceff04 (diff)
java migration 8->11
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-288 Change-Id: I418f30e46acc99cb4802455e12212f123179eeb0
Diffstat (limited to 'main')
-rw-r--r--main/pom.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/main/pom.xml b/main/pom.xml
index 9641f943..2361089a 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -65,7 +65,7 @@
<dependency>
<groupId>org.jmockit</groupId>
<artifactId>jmockit</artifactId>
- <version>1.19</version>
+ <version>${jmockit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -134,6 +134,16 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.22.0</version>
+ <configuration>
+ <argLine>
+ -javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
+ </argLine>
+ </configuration>
+ </plugin>
</plugins>
</build>