Phaneendra Manda | 1c0061d | 2015-08-06 12:29:38 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2014 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-pcep-controller</artifactId> |
| 25 | <version>1.3.0-SNAPSHOT</version> |
| 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-pcep-controller-api</artifactId> |
| 30 | <packaging>bundle</packaging> |
| 31 | |
| 32 | <description>ONOS Pcep controller subsystem API</description> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.onosproject</groupId> |
| 37 | <artifactId>onos-pcepio</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> |
| 47 | <dependency> |
| 48 | <groupId>org.onosproject</groupId> |
| 49 | <artifactId>onlab-misc</artifactId> |
| 50 | </dependency> |
| 51 | |
| 52 | </dependencies> |
| 53 | |
| 54 | <build> |
| 55 | <plugins> |
| 56 | <plugin> |
| 57 | <groupId>org.apache.maven.plugins</groupId> |
| 58 | <artifactId>maven-shade-plugin</artifactId> |
| 59 | <version>2.3</version> |
| 60 | <configuration> |
| 61 | <artifactSet> |
| 62 | <excludes> |
| 63 | <exclude>io.netty:netty</exclude> |
| 64 | <exclude>com.google.guava:guava</exclude> |
| 65 | <exclude>org.slf4j:slfj-api</exclude> |
| 66 | <exclude>ch.qos.logback:logback-core</exclude> |
| 67 | <exclude>ch.qos.logback:logback-classic</exclude> |
| 68 | <exclude>com.google.code.findbugs:annotations</exclude> |
| 69 | </excludes> |
| 70 | </artifactSet> |
| 71 | </configuration> |
| 72 | <executions> |
| 73 | <execution> |
| 74 | <phase>package</phase> |
| 75 | <goals> |
| 76 | <goal>shade</goal> |
| 77 | </goals> |
| 78 | </execution> |
| 79 | </executions> |
| 80 | </plugin> |
| 81 | <plugin> |
| 82 | <groupId>org.apache.felix</groupId> |
| 83 | <artifactId>maven-bundle-plugin</artifactId> |
| 84 | <configuration> |
| 85 | <instructions> |
| 86 | <Export-Package> |
| 87 | org.onosproject.pcep.*,org.onosproject.pcepio.* |
| 88 | </Export-Package> |
| 89 | </instructions> |
| 90 | </configuration> |
| 91 | </plugin> |
| 92 | </plugins> |
| 93 | </build> |
| 94 | |
| 95 | </project> |