blob: 4eee611f03985a067f3a0bf4641a939b62991415 [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ë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>
128 </dependencies>
129
130 <build>
131 <plugins>
132 <plugin>
133 <groupId>org.apache.felix</groupId>
134 <artifactId>maven-bundle-plugin</artifactId>
135 <extensions>true</extensions>
136 <configuration>
137 <instructions>
138 <Export-Package>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500139 io.grpc,
140 io.grpc.inprocess,
141 io.grpc.internal,
142 io.grpc.util
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500143 </Export-Package>
Alexis de Talhouëtafde7322019-01-18 15:14:23 -0500144 <Import-Package>!com.google.errorprone.annotations,*</Import-Package>
Alexis de Talhouëte73462e2019-02-21 10:20:36 -0500145 <Embed-Dependency>*;inline=META-INF/services/**</Embed-Dependency>
Alexis de Talhouët9d88d3f2019-01-18 13:50:18 -0500146 </instructions>
147 </configuration>
148 </plugin>
149 </plugins>
150 </build>
151
152</project>