blob: 164f7c88a834af3d572eae5cff6a7e2f1d853242 [file] [log] [blame]
Jonathan Hart335ef462014-10-16 08:20:46 -07001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska24c849c2014-10-27 09:53:05 -07002<!--
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07003 ~ Copyright 2014 Open Networking Laboratory
Thomas Vachuska24c849c2014-10-27 09:53:05 -07004 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07005 ~ 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 Vachuska24c849c2014-10-27 09:53:05 -07008 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07009 ~ 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 Vachuska24c849c2014-10-27 09:53:05 -070016 -->
Jonathan Hart335ef462014-10-16 08:20:46 -070017<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 HIGUCHI0c1c1002014-11-05 13:47:25 -080040
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 Hart335ef462014-10-16 08:20:46 -070066 </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 HIGUCHI0c1c1002014-11-05 13:47:25 -080076
Jonathan Hart335ef462014-10-16 08:20:46 -070077 <filter>
78 <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact>
79 <includes>
80 <include>com/googlecode/**</include>
81 </includes>
Jonathan Hart335ef462014-10-16 08:20:46 -070082 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080083
Jonathan Hart335ef462014-10-16 08:20:46 -070084 <filter>
85 <artifact>com.google.guava:guava</artifact>
86 <excludes>
87 <exclude>**</exclude>
88 </excludes>
89 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080090
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 Hart335ef462014-10-16 08:20:46 -0700106 </filters>
107 </configuration>
108 <executions>
109 <execution>
110 <phase>package</phase>
111 <goals>
112 <goal>shade</goal>
113 </goals>
114 </execution>
115 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800116 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700117 <plugin>
118 <groupId>org.apache.felix</groupId>
119 <artifactId>maven-bundle-plugin</artifactId>
120 <configuration>
121 <instructions>
122 <Export-Package>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800123 com.googlecode.concurrenttrees.*;net.kuujo.copycat.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700124 </Export-Package>
125 </instructions>
126 </configuration>
127 </plugin>
128 </plugins>
129 </build>
130
131</project>