blob: 7a1619e9e48c650c499a89b5dfbdf873a2e3a68e [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -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
tome33cc1a2014-08-25 21:59:41 -070019 <dependencies>
20 <dependency>
21 <groupId>org.projectfloodlight</groupId>
22 <artifactId>openflowj</artifactId>
23 <version>0.3.8-SNAPSHOT</version>
24 </dependency>
tom2ab8e422014-08-26 15:10:01 -070025 <dependency>
26 <groupId>io.netty</groupId>
27 <artifactId>netty</artifactId>
28 <version>3.9.0.Final</version>
29 </dependency>
tome33cc1a2014-08-25 21:59:41 -070030 </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>
tom2ab8e422014-08-26 15:10:01 -070059 <plugin>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>maven-bundle-plugin</artifactId>
62 <configuration>
63 <instructions>
64 <Export-Package>
alshabib54ebd9c2014-08-27 18:38:41 -070065 org.onlab.onos.of.*,org.projectfloodlight.openflow.*
tom2ab8e422014-08-26 15:10:01 -070066 </Export-Package>
67 </instructions>
68 </configuration>
69 </plugin>
tome33cc1a2014-08-25 21:59:41 -070070 </plugins>
71 </build>
72
tom0eb04ca2014-08-25 14:34:51 -070073</project>