Yuta HIGUCHI | 165afdd | 2018-03-06 20:18:13 -0800 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2018-present Open Networking Foundation |
| 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 |
| 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 19 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 20 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.onosproject</groupId> |
| 24 | <artifactId>onos-protocols</artifactId> |
ONOS Jenkins User | 1733ccf | 2018-04-20 00:49:12 +0000 | [diff] [blame] | 25 | <version>1.13.0-SNAPSHOT</version> |
Yuta HIGUCHI | 165afdd | 2018-03-06 20:18:13 -0800 | [diff] [blame] | 26 | <relativePath>../../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-protocols-gnmi-stub</artifactId> |
| 30 | <packaging>bundle</packaging> |
| 31 | |
| 32 | <description>ONOS gNMI API</description> |
| 33 | |
| 34 | <properties> |
| 35 | <protobuf.version>3.2.0</protobuf.version> |
| 36 | <grpc.version>1.3.1</grpc.version> |
| 37 | </properties> |
| 38 | |
| 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>org.onosproject</groupId> |
| 42 | <artifactId>onos-protocols-p4runtime-proto</artifactId> |
| 43 | <version>${project.version}</version> |
| 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.5.0.Final</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.5.0</version> |
| 60 | <configuration> |
| 61 | <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> |
| 62 | <pluginId>grpc-java</pluginId> |
| 63 | <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
| 64 | </configuration> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <goals> |
| 68 | <goal>compile</goal> |
| 69 | <goal>compile-custom</goal> |
| 70 | </goals> |
| 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
| 74 | </plugins> |
| 75 | </build> |
| 76 | |
| 77 | </project> |