blob: c7fc087b3e4a95851e4df1fbc72b6f2c34e90511 [file] [log] [blame]
tom7ef8ff92014-09-17 13:08:06 -07001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska781d18b2014-10-27 10:31:25 -07002<!--
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07003 ~ Copyright 2014 Open Networking Laboratory
Thomas Vachuska781d18b2014-10-27 10:31:25 -07004 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07005 ~ 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
Thomas Vachuska781d18b2014-10-27 10:31:25 -07008 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07009 ~ 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.
Thomas Vachuska781d18b2014-10-27 10:31:25 -070016 -->
tom7ef8ff92014-09-17 13:08:06 -070017<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>
Brian O'Connorabafb502014-12-02 22:26:20 -080023 <groupId>org.onosproject</groupId>
tom7ef8ff92014-09-17 13:08:06 -070024 <artifactId>onos-of</artifactId>
25 <version>1.0.0-SNAPSHOT</version>
26 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-of-api</artifactId>
30 <packaging>bundle</packaging>
31
32 <description>ONOS OpenFlow controller subsystem API</description>
33
34 <dependencies>
35 <dependency>
Yuta HIGUCHI7dbbabf2014-10-08 14:22:07 -070036 <!-- FIXME once experimenter gets merged to upstream -->
Brian O'Connor932d9412014-12-03 17:20:11 -080037 <groupId>org.onosproject</groupId>
38 <artifactId>openflowj</artifactId>
39 <version>${openflowj.version}</version>
tom7ef8ff92014-09-17 13:08:06 -070040 </dependency>
41 <dependency>
42 <groupId>io.netty</groupId>
43 <artifactId>netty</artifactId>
tom7ef8ff92014-09-17 13:08:06 -070044 </dependency>
45 </dependencies>
46
47 <build>
48 <plugins>
49 <plugin>
50 <groupId>org.apache.maven.plugins</groupId>
51 <artifactId>maven-shade-plugin</artifactId>
52 <version>2.3</version>
53 <configuration>
54 <artifactSet>
55 <excludes>
56 <exclude>io.netty:netty</exclude>
57 <exclude>com.google.guava:guava</exclude>
58 <exclude>org.slf4j:slfj-api</exclude>
59 <exclude>ch.qos.logback:logback-core</exclude>
60 <exclude>ch.qos.logback:logback-classic</exclude>
61 <exclude>com.google.code.findbugs:annotations</exclude>
62 </excludes>
63 </artifactSet>
64 </configuration>
65 <executions>
66 <execution>
67 <phase>package</phase>
68 <goals>
69 <goal>shade</goal>
70 </goals>
71 </execution>
72 </executions>
73 </plugin>
74 <plugin>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>maven-bundle-plugin</artifactId>
77 <configuration>
78 <instructions>
79 <Export-Package>
Brian O'Connorabafb502014-12-02 22:26:20 -080080 org.onosproject.openflow.*,org.projectfloodlight.openflow.*
tom7ef8ff92014-09-17 13:08:06 -070081 </Export-Package>
82 </instructions>
83 </configuration>
84 </plugin>
85 </plugins>
86 </build>
87
88</project>