Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Thomas Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | ~ Licensed to the Apache Software Foundation (ASF) under one |
| 4 | ~ or more contributor license agreements. See the NOTICE file |
| 5 | ~ distributed with this work for additional information |
| 6 | ~ regarding copyright ownership. The ASF licenses this file |
| 7 | ~ to you under the Apache License, Version 2.0 (the |
| 8 | ~ "License"); you may not use this file except in compliance |
| 9 | ~ with the License. You may obtain a copy of the License at |
| 10 | ~ |
| 11 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ~ |
| 13 | ~ Unless required by applicable law or agreed to in writing, |
| 14 | ~ software distributed under the License is distributed on an |
| 15 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | ~ KIND, either express or implied. See the License for the |
| 17 | ~ specific language governing permissions and limitations |
| 18 | ~ under the License. |
| 19 | --> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onlab.onos</groupId> |
| 27 | <artifactId>onlab-utils</artifactId> |
| 28 | <version>1.0.0-SNAPSHOT</version> |
| 29 | <relativePath>../pom.xml</relativePath> |
| 30 | </parent> |
| 31 | |
| 32 | <artifactId>onlab-thirdparty</artifactId> |
| 33 | <packaging>bundle</packaging> |
| 34 | |
| 35 | <description>ONLab third-party dependencies</description> |
| 36 | |
| 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 40 | <artifactId>concurrent-trees</artifactId> |
| 41 | <version>2.4.0</version> |
| 42 | </dependency> |
| 43 | </dependencies> |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <groupId>org.apache.maven.plugins</groupId> |
| 49 | <artifactId>maven-shade-plugin</artifactId> |
| 50 | <version>2.3</version> |
| 51 | <configuration> |
| 52 | <filters> |
| 53 | <filter> |
| 54 | <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact> |
| 55 | <includes> |
| 56 | <include>com/googlecode/**</include> |
| 57 | </includes> |
| 58 | |
| 59 | </filter> |
| 60 | <filter> |
| 61 | <artifact>com.google.guava:guava</artifact> |
| 62 | <excludes> |
| 63 | <exclude>**</exclude> |
| 64 | </excludes> |
| 65 | </filter> |
| 66 | </filters> |
| 67 | </configuration> |
| 68 | <executions> |
| 69 | <execution> |
| 70 | <phase>package</phase> |
| 71 | <goals> |
| 72 | <goal>shade</goal> |
| 73 | </goals> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <groupId>org.apache.felix</groupId> |
| 79 | <artifactId>maven-bundle-plugin</artifactId> |
| 80 | <configuration> |
| 81 | <instructions> |
| 82 | <Export-Package> |
| 83 | com.googlecode.concurrenttrees.* |
| 84 | </Export-Package> |
| 85 | </instructions> |
| 86 | </configuration> |
| 87 | </plugin> |
| 88 | </plugins> |
| 89 | </build> |
| 90 | |
| 91 | </project> |