blob: 8381be7f0987caa0ba6a82aeafab772515f89a67 [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>
Madan Jampani38f01692016-04-04 20:28:08 -070056 <version>${copycat.version}</version>
Madan Jampani0da36be2016-04-01 10:38:23 -070057 </dependency>
58
59 <dependency>
60 <groupId>io.atomix.copycat</groupId>
61 <artifactId>copycat-server</artifactId>
Brian O'Connore79b0252015-09-04 15:55:03 -070062 <version>${copycat.version}</version>
63 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080064
Jonathan Hart335ef462014-10-16 08:20:46 -070065 </dependencies>
66
67 <build>
68 <plugins>
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-shade-plugin</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070072 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070073 <createSourcesJar>true</createSourcesJar>
74
75 <artifactSet>
76 <excludes>
77 <!-- exclude OSGi-ready transitive dependencies -->
78 <exclude>com.google.guava:guava</exclude>
79 <exclude>com.esotericsoftware:*</exclude>
80 <exclude>org.ow2.asm:asm</exclude>
81 <exclude>org.objenesis:objenesis</exclude>
82 <exclude>io.netty:*</exclude>
Brian O'Connor344ea7a2016-04-04 14:08:33 -070083 <exclude>commons-io:commons-io</exclude>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070084 </excludes>
85 </artifactSet>
86
Jonathan Hart335ef462014-10-16 08:20:46 -070087 <filters>
Madan Jampani3289fbf2016-01-13 14:14:27 -080088 <filter>
Madan Jampani851c4232016-02-01 00:39:15 -080089 <artifact>io.atomix:atomix-all</artifact>
90 <includes>
91 <include>**</include>
92 </includes>
Madan Jampani3289fbf2016-01-13 14:14:27 -080093 </filter>
94
Jonathan Hart335ef462014-10-16 08:20:46 -070095 </filters>
96 </configuration>
97 <executions>
98 <execution>
99 <phase>package</phase>
100 <goals>
101 <goal>shade</goal>
102 </goals>
103 </execution>
104 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800105 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700106 <plugin>
107 <groupId>org.apache.felix</groupId>
108 <artifactId>maven-bundle-plugin</artifactId>
109 <configuration>
110 <instructions>
111 <Export-Package>
Madan Jampani38f01692016-04-04 20:28:08 -0700112 io.atomix.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700113 </Export-Package>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800114 <Import-Package>
115 !sun.nio.ch,!sun.misc,*
116 </Import-Package>
Jonathan Hart335ef462014-10-16 08:20:46 -0700117 </instructions>
118 </configuration>
119 </plugin>
120 </plugins>
121 </build>
122
123</project>