blob: 9c0a4a0d9824bfa087b36cc458b55ac07c0cd258 [file] [log] [blame]
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2019 Bell Canada
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19
20 <parent>
21 <groupId>org.onap.ccsdk.parent</groupId>
22 <artifactId>binding-parent</artifactId>
23 <version>1.2.1-SNAPSHOT</version>
24 <relativePath/>
25 </parent>
26
27 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
28 <artifactId>grpc-client-provider</artifactId>
29 <version>0.4.1-SNAPSHOT</version>
30 <packaging>bundle</packaging>
31 <modelVersion>4.0.0</modelVersion>
32
33 <name>ccsdk-sli-adaptors :: grpc-client :: ${project.artifactId}</name>
34
35 <properties>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050036 <grpc.version>1.17.1</grpc.version>
37 <protobuf.version>3.6.1</protobuf.version>
38 <grpc.netty.version>4.1.30.Final</grpc.netty.version>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050039 </properties>
40
41 <dependencyManagement>
42 <dependencies>
43 <dependency>
44 <groupId>org.onap.ccsdk.sli.core</groupId>
45 <artifactId>sli-core-artifacts</artifactId>
46 <version>${ccsdk.sli.core.version}</version>
47 <type>pom</type>
48 <scope>import</scope>
49 </dependency>
50 </dependencies>
51 </dependencyManagement>
52
53 <dependencies>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050054
55 <!-- SLI dependencies -->
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050056 <dependency>
57 <groupId>org.onap.ccsdk.sli.core</groupId>
58 <artifactId>sliPluginUtils-provider</artifactId>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050059 <scope>provided</scope>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050060 </dependency>
61
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050062 <!-- CDS dependencies -->
63 <dependency>
64 <groupId>org.onap.ccsdk.apps.components</groupId>
65 <artifactId>proto-definition</artifactId>
66 <version>${project.version}</version>
67 <exclusions>
68 <exclusion>
69 <groupId>com.google.code.findbugs</groupId>
70 <artifactId>jsr305</artifactId>
71 </exclusion>
72 <exclusion>
73 <groupId>com.google.protobuf</groupId>
74 <artifactId>protobuf-java-util</artifactId>
75 </exclusion>
76 </exclusions>
77 </dependency>
78
79 <!-- protobuf dependencies -->
80 <dependency>
81 <groupId>com.google.protobuf</groupId>
82 <artifactId>protobuf-java</artifactId>
83 <version>${protobuf.version}</version>
84 </dependency>
85
86 <!-- gRPC dependencies -->
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050087 <dependency>
88 <groupId>io.grpc</groupId>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050089 <artifactId>grpc-protobuf</artifactId>
90 <version>${grpc.version}</version>
91 <exclusions>
92 <exclusion>
93 <groupId>com.google.code.findbugs</groupId>
94 <artifactId>jsr305</artifactId>
95 </exclusion>
96 </exclusions>
97 </dependency>
98 <dependency>
99 <groupId>io.grpc</groupId>
100 <artifactId>grpc-stub</artifactId>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500101 <version>${grpc.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>io.grpc</groupId>
105 <artifactId>grpc-netty</artifactId>
106 <version>${grpc.version}</version>
107 </dependency>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500108
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500109 <!-- Testing -->
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500110 <dependency>
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <version>${junit.version}</version>
114 <scope>test</scope>
115 </dependency>
116 <dependency>
117 <groupId>org.mockito</groupId>
118 <artifactId>mockito-core</artifactId>
119 <version>${mockito.version}</version>
120 <scope>test</scope>
121 </dependency>
122 </dependencies>
123
124 <build>
125 <plugins>
126 <plugin>
127 <groupId>org.apache.felix</groupId>
128 <artifactId>maven-bundle-plugin</artifactId>
129 <extensions>true</extensions>
130 <configuration>
131 <instructions>
132 <Export-Package>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500133 io.grpc,
134 io.grpc.inprocess,
135 io.grpc.internal,
136 io.grpc.util
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500137 </Export-Package>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500138 <Import-Package>!com.google.errorprone.annotations,*</Import-Package>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500139 </instructions>
140 </configuration>
141 </plugin>
142 </plugins>
143 </build>
144
145</project>