Bump models to 2.3.2
[policy/models.git] / models-interactions / model-impl / cds / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   Copyright (C) 2019-2020 Bell Canada.
5   Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19 -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24   <modelVersion>4.0.0</modelVersion>
25   <parent>
26     <artifactId>model-impl</artifactId>
27     <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
28     <version>2.3.2-SNAPSHOT</version>
29   </parent>
30
31   <artifactId>cds</artifactId>
32   <name>${project.artifactId}</name>
33   <description>gRPC client implementation to send process message to CDS blueprint processor gRPC endpoint.</description>
34
35   <properties>
36     <grpc.version>1.17.1</grpc.version>
37     <protobuf.version>3.6.1</protobuf.version>
38   </properties>
39
40   <dependencies>
41     <!-- CDS dependencies -->
42     <dependency>
43       <groupId>org.onap.ccsdk.cds.components</groupId>
44       <artifactId>proto-definition</artifactId>
45     </dependency>
46
47     <!-- protobuf dependencies -->
48     <dependency>
49       <groupId>com.google.protobuf</groupId>
50       <artifactId>protobuf-java</artifactId>
51       <version>${protobuf.version}</version>
52     </dependency>
53
54     <!-- gRPC dependencies -->
55     <!-- io.netty artifacts have security issues and are transitive dependencies from io.grpc:grpc-netty:1.17.1.
56     Override io.netty dependencies and add exclusions to io.grpc:grpc-netty where io.netty version is mandated. -->
57     <dependency>
58       <groupId>io.netty</groupId>
59       <artifactId>netty-codec-http2</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>io.netty</groupId>
63       <artifactId>netty-handler-proxy</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>io.grpc</groupId>
67       <artifactId>grpc-protobuf</artifactId>
68       <version>${grpc.version}</version>
69       <exclusions>
70         <exclusion>
71           <groupId>com.google.code.findbugs</groupId>
72           <artifactId>jsr305</artifactId>
73         </exclusion>
74       </exclusions>
75     </dependency>
76     <dependency>
77       <groupId>io.grpc</groupId>
78       <artifactId>grpc-stub</artifactId>
79       <version>${grpc.version}</version>
80     </dependency>
81     <dependency>
82       <groupId>io.grpc</groupId>
83       <artifactId>grpc-netty</artifactId>
84       <version>${grpc.version}</version>
85       <exclusions>
86         <exclusion>
87           <groupId>io.netty</groupId>
88           <artifactId>netty-codec-http2</artifactId>
89         </exclusion>
90       </exclusions>
91     </dependency>
92     <dependency>
93       <groupId>io.grpc</groupId>
94       <artifactId>grpc-testing</artifactId>
95       <version>${grpc.version}</version>
96       <scope>test</scope>
97     </dependency>
98
99     <!-- Policy dependencies -->
100     <dependency>
101       <groupId>org.onap.policy.common</groupId>
102       <artifactId>common-parameters</artifactId>
103       <version>${policy.common.version}</version>
104     </dependency>
105     <dependency>
106         <groupId>org.onap.policy.common</groupId>
107         <artifactId>policy-endpoints</artifactId>
108         <version>${policy.common.version}</version>
109     </dependency>
110
111     <!-- junit dependencies -->
112     <dependency>
113       <groupId>org.mockito</groupId>
114       <artifactId>mockito-core</artifactId>
115       <scope>test</scope>
116     </dependency>
117   </dependencies>
118 </project>