blob: 41443a2af658aabc6e774ba5ee1b560af3187521 [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>
47 <groupId>io.atomix</groupId>
48 <artifactId>atomix</artifactId>
49 <version>${atomix.version}</version>
50 </dependency>
51
52 <dependency>
Madan Jampani0da36be2016-04-01 10:38:23 -070053 <groupId>io.atomix.copycat</groupId>
54 <artifactId>copycat-client</artifactId>
55 <version>${atomix.copycat.version}</version>
56 </dependency>
57
58 <dependency>
59 <groupId>io.atomix.copycat</groupId>
60 <artifactId>copycat-server</artifactId>
61 <version>${atomix.copycat.version}</version>
62 </dependency>
63
64 <dependency>
Brian O'Connore79b0252015-09-04 15:55:03 -070065 <!-- FIXME once fixes get merged to upstream -->
66 <groupId>org.onosproject</groupId>
67 <artifactId>copycat-api</artifactId>
68 <version>${copycat.version}</version>
69 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080070
Brian O'Connore79b0252015-09-04 15:55:03 -070071 <dependency>
72 <!-- FIXME once fixes get merged to upstream -->
73 <groupId>org.onosproject</groupId>
74 <artifactId>copycat-core</artifactId>
75 <version>${copycat.version}</version>
76 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -070077 </dependencies>
78
79 <build>
80 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-shade-plugin</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070084 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070085 <createSourcesJar>true</createSourcesJar>
86
87 <artifactSet>
88 <excludes>
89 <!-- exclude OSGi-ready transitive dependencies -->
90 <exclude>com.google.guava:guava</exclude>
91 <exclude>com.esotericsoftware:*</exclude>
92 <exclude>org.ow2.asm:asm</exclude>
93 <exclude>org.objenesis:objenesis</exclude>
94 <exclude>io.netty:*</exclude>
95 </excludes>
96 </artifactSet>
97
Jonathan Hart335ef462014-10-16 08:20:46 -070098 <filters>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080099
Jonathan Hart335ef462014-10-16 08:20:46 -0700100 <filter>
101 <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact>
102 <includes>
103 <include>com/googlecode/**</include>
104 </includes>
Jonathan Hart335ef462014-10-16 08:20:46 -0700105 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800106
Jonathan Hart335ef462014-10-16 08:20:46 -0700107 <filter>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800108 <artifact>commons-io:commons-io</artifact>
109 <includes>
110 <include>org/apache/commons/io/**</include>
111 </includes>
112 </filter>
113
114 <filter>
Madan Jampanicb7ab082015-02-06 15:33:03 -0800115 <artifact>org.onosproject:copycat*</artifact>
Brian Stankec6f781c2016-01-29 10:13:49 -0500116 <includes>
117 <include>**</include>
118 </includes>
119 <excludes>
120 <exclude>net/kuujo/copycat/**</exclude>
121 </excludes>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800122 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800123
Madan Jampani3289fbf2016-01-13 14:14:27 -0800124 <filter>
Brian Stankec6f781c2016-01-29 10:13:49 -0500125 <artifact>org.onosproject</artifact>
126 <excludes>
127 <exclude>org/apache/commons/io/**</exclude>
Brian Stankec6f781c2016-01-29 10:13:49 -0500128 <exclude>com/googlecode/concurrenttrees/**</exclude>
129 </excludes>
130 </filter>
131
132 <filter>
Madan Jampani851c4232016-02-01 00:39:15 -0800133 <artifact>io.atomix:atomix-all</artifact>
134 <includes>
135 <include>**</include>
136 </includes>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800137 </filter>
138
Jonathan Hart335ef462014-10-16 08:20:46 -0700139 </filters>
140 </configuration>
141 <executions>
142 <execution>
143 <phase>package</phase>
144 <goals>
145 <goal>shade</goal>
146 </goals>
147 </execution>
148 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800149 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700150 <plugin>
151 <groupId>org.apache.felix</groupId>
152 <artifactId>maven-bundle-plugin</artifactId>
153 <configuration>
154 <instructions>
155 <Export-Package>
Thomas Vachuska0c409b42016-01-21 16:10:32 -0800156 com.googlecode.concurrenttrees.*;net.kuujo.copycat.*;io.atomix.*;org.apache.commons.io.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700157 </Export-Package>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800158 <Import-Package>
159 !sun.nio.ch,!sun.misc,*
160 </Import-Package>
Jonathan Hart335ef462014-10-16 08:20:46 -0700161 </instructions>
162 </configuration>
163 </plugin>
164 </plugins>
165 </build>
166
167</project>