diff options
author | jitendra007 <jitendra.sharma1@huawei.com> | 2020-08-18 14:04:11 +0530 |
---|---|---|
committer | jitendra007 <jitendra.sharma1@huawei.com> | 2020-08-18 14:09:07 +0530 |
commit | 59178f7231980682c9483d3ed8a6bf5307473f9b (patch) | |
tree | 0aaac9d1344fb9ad4d36f5d6200bc2a9f674f7a8 /vnfmarket-be/vnf-sdk-marketplace/pom.xml | |
parent | d8a6f9355c2e557f3b7b8ebc5d6e2f9637a472c2 (diff) |
Migrate from java 8 to 11
Issue-ID: VNFSDK-632
Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com>
Change-Id: Ida39e4d4be466ad1b4b64860f536a811500eb994
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace/pom.xml')
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/pom.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/pom.xml b/vnfmarket-be/vnf-sdk-marketplace/pom.xml index 8c5adf7e..bd203acc 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/pom.xml +++ b/vnfmarket-be/vnf-sdk-marketplace/pom.xml @@ -26,11 +26,17 @@ <maven.test.skip>false</maven.test.skip> <maven.test.failure.ignore>false</maven.test.failure.ignore> <swagger-ui.version>3.12.0</swagger-ui.version> + <jmockit.version>1.43</jmockit.version> </properties> <dependencies> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.3.1</version> + </dependency> <!-- oclip --> <dependency> <groupId>org.onap.cli</groupId> @@ -205,7 +211,7 @@ due to Security Issues:- CVE-2019-10241,CVE-2019-10247,CVE-2019-10246 <dependency> <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> - <version>1.19</version> + <version>${jmockit.version}</version> <scope>test</scope> </dependency> <dependency> @@ -264,7 +270,10 @@ due to Security Issues:- CVE-2019-10241,CVE-2019-10247,CVE-2019-10246 <version>2.20</version> <configuration> <forkMode>always</forkMode> - <argLine>${surefireArgLine}</argLine> + <argLine> + -javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar + <!--${surefireArgLine}--> + </argLine> <skip>${maven.test.skip}</skip> <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore> <!-- Excludes integration tests when unit tests are run. --> |