blob: 91c48fdd74cdf37fb2ea90f93311586c67fab909 [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
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080034 <!-- TODO move to root pom? -->
35 <properties>
36 <copycat.version>0.4.0-SNAPSHOT</copycat.version>
37 </properties>
38
Jonathan Hart335ef462014-10-16 08:20:46 -070039 <dependencies>
40 <dependency>
41 <groupId>com.googlecode.concurrent-trees</groupId>
42 <artifactId>concurrent-trees</artifactId>
43 <version>2.4.0</version>
44 </dependency>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080045
46 <dependency>
47 <groupId>net.kuujo.copycat</groupId>
48 <artifactId>copycat</artifactId>
49 <version>${copycat.version}</version>
50 </dependency>
51<!-- Commented out due to Chronicle + OSGi issue
52 <dependency>
53 <groupId>net.kuujo.copycat</groupId>
54 <artifactId>copycat-chronicle</artifactId>
55 <version>${copycat.version}</version>
56 </dependency>
57-->
58 <dependency>
59 <groupId>net.kuujo.copycat</groupId>
60 <artifactId>copycat-tcp</artifactId>
61 <version>${copycat.version}</version>
62 </dependency>
63
64<!-- chronicle transitive dependency
65 <dependency>
66 <groupId>net.java.dev.jna</groupId>
67 <artifactId>jna</artifactId>
68 <version>4.1.0</version>
69 </dependency>
70-->
Jonathan Hart335ef462014-10-16 08:20:46 -070071 </dependencies>
72
73 <build>
74 <plugins>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-shade-plugin</artifactId>
78 <version>2.3</version>
79 <configuration>
80 <filters>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080081
Jonathan Hart335ef462014-10-16 08:20:46 -070082 <filter>
83 <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact>
84 <includes>
85 <include>com/googlecode/**</include>
86 </includes>
Jonathan Hart335ef462014-10-16 08:20:46 -070087 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080088
Jonathan Hart335ef462014-10-16 08:20:46 -070089 <filter>
90 <artifact>com.google.guava:guava</artifact>
91 <excludes>
92 <exclude>**</exclude>
93 </excludes>
94 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080095
96 <filter>
97 <artifact>net.kuujo.copycat:*</artifact>
98 <includes>
99 <include>net/kuujo/copycat/**</include>
100 </includes>
101 </filter>
102<!-- chronicle transitive dependency
103
104 <filter>
105 <artifact>net.java.dev.jna:*</artifact>
106 <includes>
107 <include>com/sun/jna/**</include>
108 </includes>
109 </filter>
110-->
Jonathan Hart335ef462014-10-16 08:20:46 -0700111 </filters>
112 </configuration>
113 <executions>
114 <execution>
115 <phase>package</phase>
116 <goals>
117 <goal>shade</goal>
118 </goals>
119 </execution>
120 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800121 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700122 <plugin>
123 <groupId>org.apache.felix</groupId>
124 <artifactId>maven-bundle-plugin</artifactId>
125 <configuration>
126 <instructions>
127 <Export-Package>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800128 com.googlecode.concurrenttrees.*;net.kuujo.copycat.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700129 </Export-Package>
130 </instructions>
131 </configuration>
132 </plugin>
133 </plugins>
134 </build>
135
136</project>