blob: f849e39a9b30e1696b85f6d0c41204f20a4a5cfe [file] [log] [blame]
tom7ef8ff92014-09-17 13:08:06 -07001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <parent>
8 <groupId>org.onlab.onos</groupId>
9 <artifactId>onos-of</artifactId>
10 <version>1.0.0-SNAPSHOT</version>
11 <relativePath>../pom.xml</relativePath>
12 </parent>
13
14 <artifactId>onos-of-api</artifactId>
15 <packaging>bundle</packaging>
16
17 <description>ONOS OpenFlow controller subsystem API</description>
18
19 <dependencies>
20 <dependency>
21 <groupId>org.projectfloodlight</groupId>
22 <artifactId>openflowj</artifactId>
23 <version>0.3.8-SNAPSHOT</version>
24 </dependency>
25 <dependency>
26 <groupId>io.netty</groupId>
27 <artifactId>netty</artifactId>
28 <version>3.9.0.Final</version>
29 </dependency>
30 </dependencies>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-shade-plugin</artifactId>
37 <version>2.3</version>
38 <configuration>
39 <artifactSet>
40 <excludes>
41 <exclude>io.netty:netty</exclude>
42 <exclude>com.google.guava:guava</exclude>
43 <exclude>org.slf4j:slfj-api</exclude>
44 <exclude>ch.qos.logback:logback-core</exclude>
45 <exclude>ch.qos.logback:logback-classic</exclude>
46 <exclude>com.google.code.findbugs:annotations</exclude>
47 </excludes>
48 </artifactSet>
49 </configuration>
50 <executions>
51 <execution>
52 <phase>package</phase>
53 <goals>
54 <goal>shade</goal>
55 </goals>
56 </execution>
57 </executions>
58 </plugin>
59 <plugin>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>maven-bundle-plugin</artifactId>
62 <configuration>
63 <instructions>
64 <Export-Package>
tom9c94c5b2014-09-17 13:14:42 -070065 org.onlab.onos.openflow.*,org.projectfloodlight.openflow.*
tom7ef8ff92014-09-17 13:08:06 -070066 </Export-Package>
67 </instructions>
68 </configuration>
69 </plugin>
70 </plugins>
71 </build>
72
73</project>