Migrate ccsdk/apps to ccsdk/cds
[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.2-SNAPSHOT</version>
24         <relativePath>../../../</relativePath>
25     </parent>
26
27     <groupId>org.onap.ccsdk.cds.components</groupId>
28     <artifactId>proto-definition</artifactId>
29     <packaging>jar</packaging>
30
31     <name>Controller Blueprints Proto Definition</name>
32     <description>Controller Blueprints Proto Definition</description>
33
34     <dependencies>
35         <dependency>
36             <groupId>io.grpc</groupId>
37             <artifactId>grpc-protobuf</artifactId>
38             <version>1.17.1</version>
39         </dependency>
40         <dependency>
41             <groupId>io.grpc</groupId>
42             <artifactId>grpc-stub</artifactId>
43             <version>1.17.1</version>
44         </dependency>
45         <dependency>
46             <groupId>com.google.protobuf</groupId>
47             <artifactId>protobuf-java-util</artifactId>
48             <version>3.6.1</version>
49         </dependency>
50     </dependencies>
51
52     <build>
53         <extensions>
54             <extension>
55                 <groupId>kr.motd.maven</groupId>
56                 <artifactId>os-maven-plugin</artifactId>
57                 <version>1.6.1</version>
58             </extension>
59         </extensions>
60         <plugins>
61             <plugin>
62                 <groupId>org.xolstice.maven.plugins</groupId>
63                 <artifactId>protobuf-maven-plugin</artifactId>
64                 <version>0.6.1</version>
65                 <configuration>
66                     <protocArtifact>
67                         com.google.protobuf:protoc:3.6.1:exe:${os.detected.classifier}
68                     </protocArtifact>
69                     <pluginId>grpc-java</pluginId>
70                     <pluginArtifact>
71                         io.grpc:protoc-gen-grpc-java:1.18.0:exe:${os.detected.classifier}
72                     </pluginArtifact>
73                     <protoSourceRoot>proto</protoSourceRoot>
74                 </configuration>
75                 <executions>
76                     <execution>
77                         <goals>
78                             <goal>compile</goal>
79                             <goal>compile-custom</goal>
80                         </goals>
81                     </execution>
82                 </executions>
83             </plugin>
84         </plugins>
85     </build>
86 </project>