blob: a1fbcd40ed87d253549fa6398aba6193a94c975f [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>
Madan Jampani4471cb52016-04-04 08:02:54 -070036 <groupId>io.atomix.catalyst</groupId>
37 <artifactId>catalyst-transport</artifactId>
38 <version>${catalyst.version}</version>
39 </dependency>
40
41 <dependency>
42 <groupId>io.atomix.catalyst</groupId>
43 <artifactId>catalyst-serializer</artifactId>
44 <version>${catalyst.version}</version>
45 </dependency>
46
47 <dependency>
Madan Jampani3289fbf2016-01-13 14:14:27 -080048 <groupId>io.atomix</groupId>
49 <artifactId>atomix</artifactId>
50 <version>${atomix.version}</version>
51 </dependency>
52
53 <dependency>
Madan Jampani0da36be2016-04-01 10:38:23 -070054 <groupId>io.atomix.copycat</groupId>
55 <artifactId>copycat-client</artifactId>
56 <version>${atomix.copycat.version}</version>
57 </dependency>
58
59 <dependency>
60 <groupId>io.atomix.copycat</groupId>
61 <artifactId>copycat-server</artifactId>
62 <version>${atomix.copycat.version}</version>
63 </dependency>
64
65 <dependency>
Brian O'Connore79b0252015-09-04 15:55:03 -070066 <!-- FIXME once fixes get merged to upstream -->
67 <groupId>org.onosproject</groupId>
68 <artifactId>copycat-api</artifactId>
69 <version>${copycat.version}</version>
70 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080071
Brian O'Connore79b0252015-09-04 15:55:03 -070072 <dependency>
73 <!-- FIXME once fixes get merged to upstream -->
74 <groupId>org.onosproject</groupId>
75 <artifactId>copycat-core</artifactId>
76 <version>${copycat.version}</version>
77 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -070078 </dependencies>
79
80 <build>
81 <plugins>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-shade-plugin</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070085 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070086 <createSourcesJar>true</createSourcesJar>
87
88 <artifactSet>
89 <excludes>
90 <!-- exclude OSGi-ready transitive dependencies -->
91 <exclude>com.google.guava:guava</exclude>
92 <exclude>com.esotericsoftware:*</exclude>
93 <exclude>org.ow2.asm:asm</exclude>
94 <exclude>org.objenesis:objenesis</exclude>
95 <exclude>io.netty:*</exclude>
Brian O'Connor344ea7a2016-04-04 14:08:33 -070096 <exclude>commons-io:commons-io</exclude>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070097 </excludes>
98 </artifactSet>
99
Jonathan Hart335ef462014-10-16 08:20:46 -0700100 <filters>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800101 <filter>
Madan Jampanicb7ab082015-02-06 15:33:03 -0800102 <artifact>org.onosproject:copycat*</artifact>
Brian Stankec6f781c2016-01-29 10:13:49 -0500103 <includes>
104 <include>**</include>
105 </includes>
106 <excludes>
107 <exclude>net/kuujo/copycat/**</exclude>
108 </excludes>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800109 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800110
Madan Jampani3289fbf2016-01-13 14:14:27 -0800111 <filter>
Madan Jampani851c4232016-02-01 00:39:15 -0800112 <artifact>io.atomix:atomix-all</artifact>
113 <includes>
114 <include>**</include>
115 </includes>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800116 </filter>
117
Jonathan Hart335ef462014-10-16 08:20:46 -0700118 </filters>
119 </configuration>
120 <executions>
121 <execution>
122 <phase>package</phase>
123 <goals>
124 <goal>shade</goal>
125 </goals>
126 </execution>
127 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800128 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-bundle-plugin</artifactId>
132 <configuration>
133 <instructions>
134 <Export-Package>
Brian O'Connor344ea7a2016-04-04 14:08:33 -0700135 net.kuujo.copycat.*;io.atomix.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700136 </Export-Package>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800137 <Import-Package>
138 !sun.nio.ch,!sun.misc,*
139 </Import-Package>
Jonathan Hart335ef462014-10-16 08:20:46 -0700140 </instructions>
141 </configuration>
142 </plugin>
143 </plugins>
144 </build>
145
146</project>