Fixing restconf_client.py script
[ccsdk/cds.git] / components / model-catalog / proto-definition / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Copyright (C) 2019 Bell Canada
4  * Modifications Copyright © 2017-2018 AT&T Intellectual Property.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  -->
18 <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">
19     <modelVersion>4.0.0</modelVersion>
20     <parent>
21         <groupId>org.onap.ccsdk.cds</groupId>
22         <artifactId>parent</artifactId>
23         <version>0.4.5-SNAPSHOT</version>
24         <relativePath>../../../</relativePath>
25     </parent>
26
27     <groupId>org.onap.ccsdk.cds.components</groupId>
28     <artifactId>proto-definition</artifactId>
29     <version>0.4.5-SNAPSHOT</version>
30     <packaging>jar</packaging>
31
32     <name>Controller Blueprints Proto Definition</name>
33     <description>Controller Blueprints Proto Definition</description>
34
35     <dependencies>
36         <dependency>
37             <groupId>io.grpc</groupId>
38             <artifactId>grpc-protobuf</artifactId>
39             <version>1.17.1</version>
40         </dependency>
41         <dependency>
42             <groupId>io.grpc</groupId>
43             <artifactId>grpc-stub</artifactId>
44             <version>1.17.1</version>
45         </dependency>
46         <dependency>
47             <groupId>com.google.protobuf</groupId>
48             <artifactId>protobuf-java-util</artifactId>
49             <version>3.6.1</version>
50         </dependency>
51     </dependencies>
52
53     <build>
54         <extensions>
55             <extension>
56                 <groupId>kr.motd.maven</groupId>
57                 <artifactId>os-maven-plugin</artifactId>
58                 <version>1.6.1</version>
59             </extension>
60         </extensions>
61         <plugins>
62             <plugin>
63                 <groupId>org.xolstice.maven.plugins</groupId>
64                 <artifactId>protobuf-maven-plugin</artifactId>
65                 <version>0.6.1</version>
66                 <configuration>
67                     <protocArtifact>
68                         com.google.protobuf:protoc:3.6.1:exe:${os.detected.classifier}
69                     </protocArtifact>
70                     <pluginId>grpc-java</pluginId>
71                     <pluginArtifact>
72                         io.grpc:protoc-gen-grpc-java:1.18.0:exe:${os.detected.classifier}
73                     </pluginArtifact>
74                     <protoSourceRoot>proto</protoSourceRoot>
75                 </configuration>
76                 <executions>
77                     <execution>
78                         <goals>
79                             <goal>compile</goal>
80                             <goal>compile-custom</goal>
81                         </goals>
82                     </execution>
83                 </executions>
84             </plugin>
85         </plugins>
86     </build>
87 </project>