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 | <!-- |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 3 | ~ Copyright 2014 Open Networking Laboratory |
Thomas Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 4 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
Thomas Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 8 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
Thomas Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 16 | --> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <parent> |
| 23 | <groupId>org.onlab.onos</groupId> |
| 24 | <artifactId>onlab-utils</artifactId> |
| 25 | <version>1.0.0-SNAPSHOT</version> |
| 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onlab-thirdparty</artifactId> |
| 30 | <packaging>bundle</packaging> |
| 31 | |
| 32 | <description>ONLab third-party dependencies</description> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 37 | <artifactId>concurrent-trees</artifactId> |
| 38 | <version>2.4.0</version> |
| 39 | </dependency> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 40 | |
| 41 | <dependency> |
| 42 | <groupId>net.kuujo.copycat</groupId> |
| 43 | <artifactId>copycat</artifactId> |
| 44 | <version>${copycat.version}</version> |
| 45 | </dependency> |
| 46 | <!-- Commented out due to Chronicle + OSGi issue |
| 47 | <dependency> |
| 48 | <groupId>net.kuujo.copycat</groupId> |
| 49 | <artifactId>copycat-chronicle</artifactId> |
| 50 | <version>${copycat.version}</version> |
| 51 | </dependency> |
| 52 | --> |
| 53 | <dependency> |
| 54 | <groupId>net.kuujo.copycat</groupId> |
| 55 | <artifactId>copycat-tcp</artifactId> |
| 56 | <version>${copycat.version}</version> |
| 57 | </dependency> |
| 58 | |
| 59 | <!-- chronicle transitive dependency |
| 60 | <dependency> |
| 61 | <groupId>net.java.dev.jna</groupId> |
| 62 | <artifactId>jna</artifactId> |
| 63 | <version>4.1.0</version> |
| 64 | </dependency> |
| 65 | --> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 66 | </dependencies> |
| 67 | |
| 68 | <build> |
| 69 | <plugins> |
| 70 | <plugin> |
| 71 | <groupId>org.apache.maven.plugins</groupId> |
| 72 | <artifactId>maven-shade-plugin</artifactId> |
| 73 | <version>2.3</version> |
| 74 | <configuration> |
| 75 | <filters> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 76 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 77 | <filter> |
| 78 | <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact> |
| 79 | <includes> |
| 80 | <include>com/googlecode/**</include> |
| 81 | </includes> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 82 | </filter> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 83 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 84 | <filter> |
| 85 | <artifact>com.google.guava:guava</artifact> |
| 86 | <excludes> |
| 87 | <exclude>**</exclude> |
| 88 | </excludes> |
| 89 | </filter> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 90 | |
| 91 | <filter> |
| 92 | <artifact>net.kuujo.copycat:*</artifact> |
| 93 | <includes> |
| 94 | <include>net/kuujo/copycat/**</include> |
| 95 | </includes> |
| 96 | </filter> |
| 97 | <!-- chronicle transitive dependency |
| 98 | |
| 99 | <filter> |
| 100 | <artifact>net.java.dev.jna:*</artifact> |
| 101 | <includes> |
| 102 | <include>com/sun/jna/**</include> |
| 103 | </includes> |
| 104 | </filter> |
| 105 | --> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 106 | </filters> |
| 107 | </configuration> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <phase>package</phase> |
| 111 | <goals> |
| 112 | <goal>shade</goal> |
| 113 | </goals> |
| 114 | </execution> |
| 115 | </executions> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 116 | </plugin> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 117 | <plugin> |
| 118 | <groupId>org.apache.felix</groupId> |
| 119 | <artifactId>maven-bundle-plugin</artifactId> |
| 120 | <configuration> |
| 121 | <instructions> |
| 122 | <Export-Package> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 123 | com.googlecode.concurrenttrees.*;net.kuujo.copycat.* |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 124 | </Export-Package> |
| 125 | </instructions> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | </plugins> |
| 129 | </build> |
| 130 | |
| 131 | </project> |