summaryrefslogtreecommitdiffstats
path: root/grpc-resource/provider/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-resource/provider/pom.xml')
-rw-r--r--grpc-resource/provider/pom.xml56
1 files changed, 44 insertions, 12 deletions
diff --git a/grpc-resource/provider/pom.xml b/grpc-resource/provider/pom.xml
index 20f83c1e4..9c0a4a0d9 100644
--- a/grpc-resource/provider/pom.xml
+++ b/grpc-resource/provider/pom.xml
@@ -33,8 +33,9 @@
<name>ccsdk-sli-adaptors :: grpc-client :: ${project.artifactId}</name>
<properties>
- <ccsdk.sli.adaptors.version>${project.version}</ccsdk.sli.adaptors.version>
- <grpc.version>1.16.1</grpc.version>
+ <grpc.version>1.17.1</grpc.version>
+ <protobuf.version>3.6.1</protobuf.version>
+ <grpc.netty.version>4.1.30.Final</grpc.netty.version>
</properties>
<dependencyManagement>
@@ -50,35 +51,62 @@
</dependencyManagement>
<dependencies>
+
+ <!-- SLI dependencies -->
<dependency>
<groupId>org.onap.ccsdk.sli.core</groupId>
<artifactId>sliPluginUtils-provider</artifactId>
- <scope>compile</scope>
+ <scope>provided</scope>
</dependency>
- <!-- GRPC Dependencies -->
+ <!-- CDS dependencies -->
<dependency>
- <groupId>io.grpc</groupId>
- <artifactId>grpc-core</artifactId>
- <version>${grpc.version}</version>
+ <groupId>org.onap.ccsdk.apps.components</groupId>
+ <artifactId>proto-definition</artifactId>
+ <version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java-util</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
+
+ <!-- protobuf dependencies -->
<dependency>
- <groupId>io.grpc</groupId>
- <artifactId>grpc-netty</artifactId>
- <version>${grpc.version}</version>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>${protobuf.version}</version>
</dependency>
+
+ <!-- gRPC dependencies -->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>${grpc.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<version>${grpc.version}</version>
</dependency>
+ <dependency>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-netty</artifactId>
+ <version>${grpc.version}</version>
+ </dependency>
- <!--Testing-->
+ <!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -102,8 +130,12 @@
<configuration>
<instructions>
<Export-Package>
- org.onap.ccsdk.sli.adaptors.grpc
+ io.grpc,
+ io.grpc.inprocess,
+ io.grpc.internal,
+ io.grpc.util
</Export-Package>
+ <Import-Package>!com.google.errorprone.annotations,*</Import-Package>
</instructions>
</configuration>
</plugin>