Thejaswi N K | 6a4cd00 | 2015-09-21 17:19:55 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2015 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" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <parent> |
| 23 | <groupId>org.onosproject</groupId> |
| 24 | <artifactId>onos-bgp</artifactId> |
Brian O'Connor | b209dc6 | 2015-12-04 23:52:20 -0800 | [diff] [blame^] | 25 | <version>1.4.0-rc1</version> |
Thejaswi N K | 6a4cd00 | 2015-09-21 17:19:55 +0530 | [diff] [blame] | 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-bgp-api</artifactId> |
| 30 | <packaging>bundle</packaging> |
| 31 | |
| 32 | <description>ONOS BGP controller subsystem API</description> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.onosproject</groupId> |
| 37 | <artifactId>onos-bgpio</artifactId> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>io.netty</groupId> |
| 41 | <artifactId>netty</artifactId> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.onosproject</groupId> |
| 45 | <artifactId>onos-api</artifactId> |
| 46 | </dependency> |
Thejaswi N K | 6a4cd00 | 2015-09-21 17:19:55 +0530 | [diff] [blame] | 47 | </dependencies> |
| 48 | |
| 49 | <build> |
| 50 | <plugins> |
| 51 | <plugin> |
| 52 | <groupId>org.apache.maven.plugins</groupId> |
| 53 | <artifactId>maven-shade-plugin</artifactId> |
| 54 | <version>2.3</version> |
| 55 | <configuration> |
| 56 | <artifactSet> |
| 57 | <excludes> |
| 58 | <exclude>io.netty:netty</exclude> |
| 59 | <exclude>com.google.guava:guava</exclude> |
| 60 | <exclude>org.slf4j:slfj-api</exclude> |
| 61 | <exclude>ch.qos.logback:logback-core</exclude> |
| 62 | <exclude>ch.qos.logback:logback-classic</exclude> |
| 63 | <exclude>com.google.code.findbugs:annotations</exclude> |
| 64 | </excludes> |
| 65 | </artifactSet> |
| 66 | </configuration> |
| 67 | <executions> |
| 68 | <execution> |
| 69 | <phase>package</phase> |
| 70 | <goals> |
| 71 | <goal>shade</goal> |
| 72 | </goals> |
| 73 | </execution> |
| 74 | </executions> |
| 75 | </plugin> |
| 76 | <plugin> |
| 77 | <groupId>org.apache.felix</groupId> |
| 78 | <artifactId>maven-bundle-plugin</artifactId> |
| 79 | <configuration> |
| 80 | <instructions> |
| 81 | <Export-Package> |
| 82 | org.onosproject.bgp.*,org.onosproject.bgpio.*,org.onosproject.bgp.controller |
| 83 | </Export-Package> |
| 84 | </instructions> |
| 85 | </configuration> |
| 86 | </plugin> |
| 87 | </plugins> |
| 88 | </build> |
| 89 | |
| 90 | </project> |