blob: 31266cf42ad83a4d41d58bcd5bb154606711d5a9 [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 -->
Timoney, Dan (dt5972)0e2eb6a2019-03-14 10:49:03 -040017<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050018
19 <parent>
20 <groupId>org.onap.ccsdk.parent</groupId>
21 <artifactId>binding-parent</artifactId>
Timoney, Dan (dt5972)67d6e8b2019-05-23 16:35:00 -040022 <version>1.2.3</version>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050023 <relativePath/>
24 </parent>
25
26 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
27 <artifactId>grpc-client-provider</artifactId>
Timoney, Dan (dt5972)11dc9262019-04-30 11:32:13 -040028 <version>0.4.3-SNAPSHOT</version>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -050029 <packaging>bundle</packaging>
30 <modelVersion>4.0.0</modelVersion>
31
32 <name>ccsdk-sli-adaptors :: grpc-client :: ${project.artifactId}</name>
33
34 <properties>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050035 <grpc.version>1.17.1</grpc.version>
36 <protobuf.version>3.6.1</protobuf.version>
37 <grpc.netty.version>4.1.30.Final</grpc.netty.version>
Alexis de Talhouëtbe2dbc52019-05-13 09:18:45 -040038 <ccsdk.sli.cds.version>0.4.3-SNAPSHOT</ccsdk.sli.cds.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>
Alexis de Talhouëtd07eecd2019-03-25 15:32:28 -040064 <groupId>org.onap.ccsdk.cds.components</groupId>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050065 <artifactId>proto-definition</artifactId>
Timoney, Dan (dt5972)4d8ef142019-04-02 14:08:59 -070066 <version>${ccsdk.sli.cds.version}</version>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -050067 <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ëted716252019-02-09 15:01:10 -0500109 <dependency>
110 <groupId>org.osgi</groupId>
111 <artifactId>org.osgi.core</artifactId>
112 <scope>provided</scope>
113 </dependency>
114
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500115 <!-- Testing -->
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500116 <dependency>
117 <groupId>junit</groupId>
118 <artifactId>junit</artifactId>
119 <version>${junit.version}</version>
120 <scope>test</scope>
121 </dependency>
122 <dependency>
123 <groupId>org.mockito</groupId>
124 <artifactId>mockito-core</artifactId>
125 <version>${mockito.version}</version>
126 <scope>test</scope>
127 </dependency>
Alexis de Talhouët09460af2019-02-28 14:59:03 -0500128 <dependency>
129 <groupId>io.grpc</groupId>
130 <artifactId>grpc-testing</artifactId>
131 <version>${grpc.version}</version>
132 <scope>test</scope>
133 </dependency>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500134 </dependencies>
135
136 <build>
137 <plugins>
138 <plugin>
139 <groupId>org.apache.felix</groupId>
140 <artifactId>maven-bundle-plugin</artifactId>
141 <extensions>true</extensions>
142 <configuration>
143 <instructions>
144 <Export-Package>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500145 io.grpc,
146 io.grpc.inprocess,
147 io.grpc.internal,
148 io.grpc.util
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500149 </Export-Package>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500150 <Import-Package>!com.google.errorprone.annotations,*</Import-Package>
Alexis de Talhouëte73462e2019-02-21 10:20:36 -0500151 <Embed-Dependency>*;inline=META-INF/services/**</Embed-Dependency>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500152 </instructions>
153 </configuration>
154 </plugin>
155 </plugins>
156 </build>
157
158</project>