blob: 32abcaf65cf78af7191f10aaf63b47ee435e586f [file] [log] [blame]
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016-present Open Networking Laboratory
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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18 <modelVersion>4.0.0</modelVersion>
19 <parent>
Yuta HIGUCHIa0557a22017-01-11 16:22:53 -080020 <artifactId>onos-incubator-protobuf-dependencies</artifactId>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070021 <groupId>org.onosproject</groupId>
Ray Milkeyde84cdd2017-02-13 10:54:12 -080022 <version>1.9.0-SNAPSHOT</version>
Yuta HIGUCHIa0557a22017-01-11 16:22:53 -080023 <relativePath>../protobuf-dependencies/pom.xml</relativePath>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070024 </parent>
25
26 <artifactId>onos-incubator-protobuf</artifactId>
27 <packaging>bundle</packaging>
28
29 <description>ONOS ProtoBuf models</description>
30 <url>http://onosproject.org</url>
31
32 <properties>
33 <onos.app.name>org.onosproject.incubator.protobuf</onos.app.name>
Yuta HIGUCHI9efba1e2016-07-09 11:07:13 -070034 <onos.app.title>ONOS Protocol Buffers models</onos.app.title>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070035 </properties>
36
37 <dependencies>
38
39 <dependency>
Yuta HIGUCHIa0557a22017-01-11 16:22:53 -080040 <groupId>org.onosproject</groupId>
41 <artifactId>onos-api</artifactId>
42 <version>${project.version}</version>
43 </dependency>
44
45 <dependency>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070046 <groupId>com.google.protobuf</groupId>
47 <artifactId>protobuf-java</artifactId>
48 <version>${protobuf.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>org.apache.felix</groupId>
53 <artifactId>org.apache.felix.scr.annotations</artifactId>
54 <scope>provided</scope>
55 </dependency>
56
57 </dependencies>
58
59 <build>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070060
61 <pluginManagement>
62 <plugins>
63 <plugin>
64 <groupId>org.apache.karaf.tooling</groupId>
65 <artifactId>karaf-maven-plugin</artifactId>
Jon Hallb84df5d2017-01-31 11:19:48 -080066 <version>3.0.8</version>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070067 <extensions>true</extensions>
68 </plugin>
69 </plugins>
70 </pluginManagement>
71
72 <plugins>
73 <!-- TODO This is included to suppress the generation of javadocs for
74 this package. There is a problem when we try to package the
75 auto-generated code's javadoc into a jar. -->
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-javadoc-plugin</artifactId>
79 <configuration>
80 <sourcepath>${basedir}/src/main/java/</sourcepath>
81 <excludePackageNames>org.onosproject.incubator.rpc.grpc</excludePackageNames>
82 </configuration>
83 </plugin>
84
85 <plugin>
86 <groupId>org.apache.felix</groupId>
87 <artifactId>maven-bundle-plugin</artifactId>
88 <extensions>true</extensions>
HIGUCHI Yuta48dac722016-05-22 09:59:10 -070089 <configuration>
90 <instructions>
HIGUCHI Yuta06c1a3f2016-05-23 12:54:55 -070091 <Export-Package>org.onosproject.grpc.net,org.onosproject.incubator.protobuf.net</Export-Package>
HIGUCHI Yuta48dac722016-05-22 09:59:10 -070092 </instructions>
93 </configuration>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -070094 </plugin>
95
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 </plugin>
100
101 <plugin>
102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-scr-plugin</artifactId>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -0700104 </plugin>
105
106 <plugin>
107 <groupId>org.xolstice.maven.plugins</groupId>
108 <artifactId>protobuf-maven-plugin</artifactId>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -0700109 </plugin>
110
111 <plugin>
112 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>build-helper-maven-plugin</artifactId>
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -0700114 </plugin>
Yuta HIGUCHIa0557a22017-01-11 16:22:53 -0800115
116 <plugin>
117 <groupId>org.onosproject</groupId>
118 <artifactId>onos-maven-plugin</artifactId>
119 </plugin>
120
HIGUCHI Yuta3fce2422016-05-11 18:41:41 -0700121 </plugins>
122 </build>
123
124</project>