aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorNiranjana <niranjana.y60@wipro.com>2020-07-17 12:44:01 +0530
committerNiranjana <niranjana.y60@wipro.com>2020-07-22 11:06:29 +0530
commitc757df8e1ebba6f23659edfe77501eeed6df5424 (patch)
tree7c44c11a4f7595a23af20ab81b025b337f4a3069 /pom.xml
parent77166d0a455957e3a713ef5dcaf103ef0ecff0fc (diff)
Upgrade son-handler to support Java-11
Issue-ID: DCAEGEN2-2284 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: I331babbe7c52b39c4f7d30921eff64996a85f3b4
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml45
1 files changed, 30 insertions, 15 deletions
diff --git a/pom.xml b/pom.xml
index 9ec00c6..fd9b1c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
<groupId>org.onap.dcaegen2.services.son-handler</groupId>
<artifactId>son-handler</artifactId>
<name>dcaegen2-services-son-handler</name>
- <version>2.0.3-SNAPSHOT</version>
+ <version>2.1.0-SNAPSHOT</version>
<!--parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version> </parent -->
@@ -43,8 +43,8 @@
<properties>
<sdk.version>1.1.4</sdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
+ <maven.compiler.source>11</maven.compiler.source>
+ <maven.compiler.target>11</maven.compiler.target>
<docker.image.name>onap/org.onap.dcaegen2.services.son-handler</docker.image.name>
<!-- NEXUS RELATED SETTINGS -->
<nexusproxy>https://nexus.onap.org</nexusproxy>
@@ -150,7 +150,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>1.10.16</version>
+ <version>2.21.0</version>
<scope>test</scope>
</dependency>
@@ -161,19 +161,23 @@
<version>4.12</version>
<scope>test</scope>
</dependency>
- <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
- <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito -->
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito</artifactId>
- <version>1.6.4</version>
- <scope>test</scope>
- </dependency>
+ <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2 -->
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-api-mockito2</artifactId>
+ <version>2.0.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
<!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
- <version>1.6.4</version>
+ <version>2.0.2</version>
<scope>test</scope>
</dependency>
@@ -231,7 +235,18 @@
<artifactId>bootstrap</artifactId>
<version>4.3.1</version>
</dependency>
-
+ <!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
+ <dependency>
+ <groupId>org.javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.24.1-GA</version>
+ </dependency>
</dependencies>
<build>
@@ -267,7 +282,7 @@
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
- <baseImage>openjdk:8-alpine</baseImage>
+ <baseImage>openjdk:11.0.6-jre-slim</baseImage>
<user>sonhms</user>
<resources>
<resource>