tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | <?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 | |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>org.projectfloodlight</groupId> |
| 22 | <artifactId>openflowj</artifactId> |
| 23 | <version>0.3.8-SNAPSHOT</version> |
| 24 | </dependency> |
tom | 2ab8e42 | 2014-08-26 15:10:01 -0700 | [diff] [blame] | 25 | <dependency> |
| 26 | <groupId>io.netty</groupId> |
| 27 | <artifactId>netty</artifactId> |
| 28 | <version>3.9.0.Final</version> |
| 29 | </dependency> |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 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> |
tom | 2ab8e42 | 2014-08-26 15:10:01 -0700 | [diff] [blame] | 59 | <plugin> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>maven-bundle-plugin</artifactId> |
| 62 | <configuration> |
| 63 | <instructions> |
| 64 | <Export-Package> |
alshabib | 54ebd9c | 2014-08-27 18:38:41 -0700 | [diff] [blame] | 65 | org.onlab.onos.of.*,org.projectfloodlight.openflow.* |
tom | 2ab8e42 | 2014-08-26 15:10:01 -0700 | [diff] [blame] | 66 | </Export-Package> |
| 67 | </instructions> |
| 68 | </configuration> |
| 69 | </plugin> |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 70 | </plugins> |
| 71 | </build> |
| 72 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 73 | </project> |