Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -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>onlab-utils</artifactId> |
| 10 | <version>1.0.0-SNAPSHOT</version> |
| 11 | <relativePath>../pom.xml</relativePath> |
| 12 | </parent> |
| 13 | |
| 14 | <artifactId>onlab-thirdparty</artifactId> |
| 15 | <packaging>bundle</packaging> |
| 16 | |
| 17 | <description>ONLab third-party dependencies</description> |
| 18 | |
| 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 22 | <artifactId>concurrent-trees</artifactId> |
| 23 | <version>2.4.0</version> |
| 24 | </dependency> |
| 25 | </dependencies> |
| 26 | |
| 27 | <build> |
| 28 | <plugins> |
| 29 | <plugin> |
| 30 | <groupId>org.apache.maven.plugins</groupId> |
| 31 | <artifactId>maven-shade-plugin</artifactId> |
| 32 | <version>2.3</version> |
| 33 | <configuration> |
| 34 | <filters> |
| 35 | <filter> |
| 36 | <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact> |
| 37 | <includes> |
| 38 | <include>com/googlecode/**</include> |
| 39 | </includes> |
| 40 | |
| 41 | </filter> |
| 42 | <filter> |
| 43 | <artifact>com.google.guava:guava</artifact> |
| 44 | <excludes> |
| 45 | <exclude>**</exclude> |
| 46 | </excludes> |
| 47 | </filter> |
| 48 | </filters> |
| 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> |
| 65 | com.googlecode.concurrenttrees.* |
| 66 | </Export-Package> |
| 67 | </instructions> |
| 68 | </configuration> |
| 69 | </plugin> |
| 70 | </plugins> |
| 71 | </build> |
| 72 | |
| 73 | </project> |