blob: 2c58e47385a4258dab78cef095b182d4356aeff9 [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
Yuta HIGUCHIa8714e52014-09-24 00:38:01 -070019 <repositories>
20 <!-- FIXME: for Loxigen. Decide how to use Loxigen before release. -->
21 <repository>
22 <id>sonatype-oss-snapshot</id>
23 <name>Sonatype OSS snapshot repository</name>
24 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
25 <releases>
26 <enabled>false</enabled>
27 </releases>
28 </repository>
29 </repositories>
30
tom7ef8ff92014-09-17 13:08:06 -070031 <dependencies>
32 <dependency>
33 <groupId>org.projectfloodlight</groupId>
34 <artifactId>openflowj</artifactId>
35 <version>0.3.8-SNAPSHOT</version>
36 </dependency>
37 <dependency>
38 <groupId>io.netty</groupId>
39 <artifactId>netty</artifactId>
40 <version>3.9.0.Final</version>
41 </dependency>
42 </dependencies>
43
44 <build>
45 <plugins>
46 <plugin>
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-shade-plugin</artifactId>
49 <version>2.3</version>
50 <configuration>
51 <artifactSet>
52 <excludes>
53 <exclude>io.netty:netty</exclude>
54 <exclude>com.google.guava:guava</exclude>
55 <exclude>org.slf4j:slfj-api</exclude>
56 <exclude>ch.qos.logback:logback-core</exclude>
57 <exclude>ch.qos.logback:logback-classic</exclude>
58 <exclude>com.google.code.findbugs:annotations</exclude>
59 </excludes>
60 </artifactSet>
61 </configuration>
62 <executions>
63 <execution>
64 <phase>package</phase>
65 <goals>
66 <goal>shade</goal>
67 </goals>
68 </execution>
69 </executions>
70 </plugin>
71 <plugin>
72 <groupId>org.apache.felix</groupId>
73 <artifactId>maven-bundle-plugin</artifactId>
74 <configuration>
75 <instructions>
76 <Export-Package>
tom9c94c5b2014-09-17 13:14:42 -070077 org.onlab.onos.openflow.*,org.projectfloodlight.openflow.*
tom7ef8ff92014-09-17 13:08:06 -070078 </Export-Package>
79 </instructions>
80 </configuration>
81 </plugin>
82 </plugins>
83 </build>
84
85</project>