HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 1 | <?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 HIGUCHI | a0557a2 | 2017-01-11 16:22:53 -0800 | [diff] [blame] | 20 | <artifactId>onos-incubator-protobuf-dependencies</artifactId> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 21 | <groupId>org.onosproject</groupId> |
Ray Milkey | de84cdd | 2017-02-13 10:54:12 -0800 | [diff] [blame] | 22 | <version>1.9.0-SNAPSHOT</version> |
Yuta HIGUCHI | a0557a2 | 2017-01-11 16:22:53 -0800 | [diff] [blame] | 23 | <relativePath>../protobuf-dependencies/pom.xml</relativePath> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 24 | </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 HIGUCHI | 9efba1e | 2016-07-09 11:07:13 -0700 | [diff] [blame] | 34 | <onos.app.title>ONOS Protocol Buffers models</onos.app.title> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 35 | </properties> |
| 36 | |
| 37 | <dependencies> |
| 38 | |
| 39 | <dependency> |
Yuta HIGUCHI | a0557a2 | 2017-01-11 16:22:53 -0800 | [diff] [blame] | 40 | <groupId>org.onosproject</groupId> |
| 41 | <artifactId>onos-api</artifactId> |
| 42 | <version>${project.version}</version> |
| 43 | </dependency> |
| 44 | |
| 45 | <dependency> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 46 | <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 Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 60 | |
| 61 | <pluginManagement> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.karaf.tooling</groupId> |
| 65 | <artifactId>karaf-maven-plugin</artifactId> |
Jon Hall | b84df5d | 2017-01-31 11:19:48 -0800 | [diff] [blame] | 66 | <version>3.0.8</version> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 67 | <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 Yuta | 48dac72 | 2016-05-22 09:59:10 -0700 | [diff] [blame] | 89 | <configuration> |
| 90 | <instructions> |
HIGUCHI Yuta | 06c1a3f | 2016-05-23 12:54:55 -0700 | [diff] [blame] | 91 | <Export-Package>org.onosproject.grpc.net,org.onosproject.incubator.protobuf.net</Export-Package> |
HIGUCHI Yuta | 48dac72 | 2016-05-22 09:59:10 -0700 | [diff] [blame] | 92 | </instructions> |
| 93 | </configuration> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 94 | </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 Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 104 | </plugin> |
| 105 | |
| 106 | <plugin> |
| 107 | <groupId>org.xolstice.maven.plugins</groupId> |
| 108 | <artifactId>protobuf-maven-plugin</artifactId> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 109 | </plugin> |
| 110 | |
| 111 | <plugin> |
| 112 | <groupId>org.codehaus.mojo</groupId> |
| 113 | <artifactId>build-helper-maven-plugin</artifactId> |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 114 | </plugin> |
Yuta HIGUCHI | a0557a2 | 2017-01-11 16:22:53 -0800 | [diff] [blame] | 115 | |
| 116 | <plugin> |
| 117 | <groupId>org.onosproject</groupId> |
| 118 | <artifactId>onos-maven-plugin</artifactId> |
| 119 | </plugin> |
| 120 | |
HIGUCHI Yuta | 3fce242 | 2016-05-11 18:41:41 -0700 | [diff] [blame] | 121 | </plugins> |
| 122 | </build> |
| 123 | |
| 124 | </project> |