blob: c1f77922c53facf9bb67fa72fbf2a0b571e708f0 [file] [log] [blame]
Alexis de Talhouƫt95553262019-01-18 14:29:38 -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 <modelVersion>4.0.0</modelVersion>
20 <parent>
21 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
22 <artifactId>modules</artifactId>
23 <version>0.4.1-SNAPSHOT</version>
24 </parent>
25
26 <artifactId>proto-definition</artifactId>
27 <packaging>jar</packaging>
28
29 <name>Controller Blueprints Proto Definition</name>
30 <description>Controller Blueprints Proto Definition</description>
31
32 <dependencies>
33 <dependency>
34 <groupId>io.grpc</groupId>
35 <artifactId>grpc-protobuf</artifactId>
36 </dependency>
37 <dependency>
38 <groupId>io.grpc</groupId>
39 <artifactId>grpc-stub</artifactId>
40 </dependency>
41 <dependency>
42 <groupId>com.google.protobuf</groupId>
43 <artifactId>protobuf-java-util</artifactId>
44 </dependency>
45 </dependencies>
46
47 <build>
48 <extensions>
49 <extension>
50 <groupId>kr.motd.maven</groupId>
51 <artifactId>os-maven-plugin</artifactId>
52 <version>1.6.1</version>
53 </extension>
54 </extensions>
55 <plugins>
56 <plugin>
57 <groupId>org.xolstice.maven.plugins</groupId>
58 <artifactId>protobuf-maven-plugin</artifactId>
59 <version>0.6.1</version>
60 <configuration>
61 <protocArtifact>
62 com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}
63 </protocArtifact>
64 <pluginId>grpc-java</pluginId>
65 <pluginArtifact>
66 io.grpc:protoc-gen-grpc-java:1.16.1:exe:${os.detected.classifier}
67 </pluginArtifact>
68 <protoSourceRoot>proto</protoSourceRoot>
69 </configuration>
70 <executions>
71 <execution>
72 <goals>
73 <goal>compile</goal>
74 <goal>compile-custom</goal>
75 </goals>
76 </execution>
77 </executions>
78 </plugin>
79 </plugins>
80 </build>
81</project>