diff options
author | priyanka.akhade <priyanka.akhade@huawei.com> | 2020-09-09 11:25:32 +0530 |
---|---|---|
committer | priyanka.akhade <priyanka.akhade@huawei.com> | 2020-09-09 15:06:50 +0530 |
commit | 5be1390d67a7a0fa05117e49d7a82134d6f81dcf (patch) | |
tree | 32784dd49721858799784be0dd5760f4f2086aef /profiles | |
parent | 44b22b049eb949b3102ef2a207c89a60deceff04 (diff) |
java migration 8->11
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com>
Issue-ID: CLI-288
Change-Id: I418f30e46acc99cb4802455e12212f123179eeb0
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/command/pom.xml | 2 | ||||
-rw-r--r-- | profiles/http/pom.xml | 2 | ||||
-rw-r--r-- | profiles/pom.xml | 10 | ||||
-rw-r--r-- | profiles/snmp/pom.xml | 2 |
4 files changed, 13 insertions, 3 deletions
diff --git a/profiles/command/pom.xml b/profiles/command/pom.xml index ddd3279f..2b56c54b 100644 --- a/profiles/command/pom.xml +++ b/profiles/command/pom.xml @@ -48,7 +48,7 @@ <dependency> <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> - <version>1.19</version> + <version>1.43</version> <scope>test</scope> </dependency> <dependency> diff --git a/profiles/http/pom.xml b/profiles/http/pom.xml index 3dee45c4..d4788aab 100644 --- a/profiles/http/pom.xml +++ b/profiles/http/pom.xml @@ -126,7 +126,7 @@ Excluded commons-codec vulnerable version and added invulnerable version <dependency> <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> - <version>1.19</version> + <version>1.43</version> <scope>test</scope> </dependency> <dependency> diff --git a/profiles/pom.xml b/profiles/pom.xml index 39176e24..62893578 100644 --- a/profiles/pom.xml +++ b/profiles/pom.xml @@ -125,6 +125,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> </pluginManagement> </build> diff --git a/profiles/snmp/pom.xml b/profiles/snmp/pom.xml index 43e5ff51..577d5ddd 100644 --- a/profiles/snmp/pom.xml +++ b/profiles/snmp/pom.xml @@ -70,7 +70,7 @@ <dependency> <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> - <version>1.19</version> + <version>1.43</version> <scope>test</scope> </dependency> <dependency> |