blob: e22765870592957bea0657980ef0f20c35f3c5f2 [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>
Brian O'Connorabafb502014-12-02 22:26:20 -080023 <groupId>org.onosproject</groupId>
Jonathan Hart335ef462014-10-16 08:20:46 -070024 <artifactId>onlab-utils</artifactId>
Brian O'Connor955c3162016-03-10 15:27:19 -080025 <version>1.6.0-SNAPSHOT</version>
Jonathan Hart335ef462014-10-16 08:20:46 -070026 <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>
Jonathan Hart335ef462014-10-16 08:20:46 -070038 </dependency>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080039
Brian O'Connore79b0252015-09-04 15:55:03 -070040 <dependency>
Madan Jampani3289fbf2016-01-13 14:14:27 -080041 <groupId>commons-io</groupId>
42 <artifactId>commons-io</artifactId>
43 <version>${commons.io.version}</version>
44 </dependency>
45
46 <dependency>
Madan Jampani4471cb52016-04-04 08:02:54 -070047 <groupId>io.atomix.catalyst</groupId>
48 <artifactId>catalyst-transport</artifactId>
49 <version>${catalyst.version}</version>
50 </dependency>
51
52 <dependency>
53 <groupId>io.atomix.catalyst</groupId>
54 <artifactId>catalyst-serializer</artifactId>
55 <version>${catalyst.version}</version>
56 </dependency>
57
58 <dependency>
Madan Jampani3289fbf2016-01-13 14:14:27 -080059 <groupId>io.atomix</groupId>
60 <artifactId>atomix</artifactId>
61 <version>${atomix.version}</version>
62 </dependency>
63
64 <dependency>
Madan Jampani0da36be2016-04-01 10:38:23 -070065 <groupId>io.atomix.copycat</groupId>
66 <artifactId>copycat-client</artifactId>
67 <version>${atomix.copycat.version}</version>
68 </dependency>
69
70 <dependency>
71 <groupId>io.atomix.copycat</groupId>
72 <artifactId>copycat-server</artifactId>
73 <version>${atomix.copycat.version}</version>
74 </dependency>
75
76 <dependency>
Brian O'Connore79b0252015-09-04 15:55:03 -070077 <!-- FIXME once fixes get merged to upstream -->
78 <groupId>org.onosproject</groupId>
79 <artifactId>copycat-api</artifactId>
80 <version>${copycat.version}</version>
81 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080082
Brian O'Connore79b0252015-09-04 15:55:03 -070083 <dependency>
84 <!-- FIXME once fixes get merged to upstream -->
85 <groupId>org.onosproject</groupId>
86 <artifactId>copycat-core</artifactId>
87 <version>${copycat.version}</version>
88 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -070089 </dependencies>
90
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-shade-plugin</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070096 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070097 <createSourcesJar>true</createSourcesJar>
98
99 <artifactSet>
100 <excludes>
101 <!-- exclude OSGi-ready transitive dependencies -->
102 <exclude>com.google.guava:guava</exclude>
103 <exclude>com.esotericsoftware:*</exclude>
104 <exclude>org.ow2.asm:asm</exclude>
105 <exclude>org.objenesis:objenesis</exclude>
106 <exclude>io.netty:*</exclude>
107 </excludes>
108 </artifactSet>
109
Jonathan Hart335ef462014-10-16 08:20:46 -0700110 <filters>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800111
Jonathan Hart335ef462014-10-16 08:20:46 -0700112 <filter>
113 <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact>
114 <includes>
115 <include>com/googlecode/**</include>
116 </includes>
Jonathan Hart335ef462014-10-16 08:20:46 -0700117 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800118
Jonathan Hart335ef462014-10-16 08:20:46 -0700119 <filter>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800120 <artifact>commons-io:commons-io</artifact>
121 <includes>
122 <include>org/apache/commons/io/**</include>
123 </includes>
124 </filter>
125
126 <filter>
Madan Jampanicb7ab082015-02-06 15:33:03 -0800127 <artifact>org.onosproject:copycat*</artifact>
Brian Stankec6f781c2016-01-29 10:13:49 -0500128 <includes>
129 <include>**</include>
130 </includes>
131 <excludes>
132 <exclude>net/kuujo/copycat/**</exclude>
133 </excludes>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800134 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800135
Madan Jampani3289fbf2016-01-13 14:14:27 -0800136 <filter>
Brian Stankec6f781c2016-01-29 10:13:49 -0500137 <artifact>org.onosproject</artifact>
138 <excludes>
139 <exclude>org/apache/commons/io/**</exclude>
Brian Stankec6f781c2016-01-29 10:13:49 -0500140 <exclude>com/googlecode/concurrenttrees/**</exclude>
141 </excludes>
142 </filter>
143
144 <filter>
Madan Jampani851c4232016-02-01 00:39:15 -0800145 <artifact>io.atomix:atomix-all</artifact>
146 <includes>
147 <include>**</include>
148 </includes>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800149 </filter>
150
Jonathan Hart335ef462014-10-16 08:20:46 -0700151 </filters>
152 </configuration>
153 <executions>
154 <execution>
155 <phase>package</phase>
156 <goals>
157 <goal>shade</goal>
158 </goals>
159 </execution>
160 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800161 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700162 <plugin>
163 <groupId>org.apache.felix</groupId>
164 <artifactId>maven-bundle-plugin</artifactId>
165 <configuration>
166 <instructions>
167 <Export-Package>
Thomas Vachuska0c409b42016-01-21 16:10:32 -0800168 com.googlecode.concurrenttrees.*;net.kuujo.copycat.*;io.atomix.*;org.apache.commons.io.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700169 </Export-Package>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800170 <Import-Package>
171 !sun.nio.ch,!sun.misc,*
172 </Import-Package>
Jonathan Hart335ef462014-10-16 08:20:46 -0700173 </instructions>
174 </configuration>
175 </plugin>
176 </plugins>
177 </build>
178
179</project>