blob: bb5e3e06a8de2b5d5b8f96a3f28695ebdfd723b4 [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'Connorf967ad62015-09-18 15:19:54 -070025 <version>1.4.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>
41 <!-- FIXME once fixes get merged to upstream -->
42 <groupId>org.onosproject</groupId>
43 <artifactId>copycat-api</artifactId>
44 <version>${copycat.version}</version>
45 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080046
Brian O'Connore79b0252015-09-04 15:55:03 -070047 <dependency>
48 <!-- FIXME once fixes get merged to upstream -->
49 <groupId>org.onosproject</groupId>
50 <artifactId>copycat-core</artifactId>
51 <version>${copycat.version}</version>
52 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -070053 </dependencies>
54
55 <build>
56 <plugins>
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-shade-plugin</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070060 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070061 <createSourcesJar>true</createSourcesJar>
62
63 <artifactSet>
64 <excludes>
65 <!-- exclude OSGi-ready transitive dependencies -->
66 <exclude>com.google.guava:guava</exclude>
67 <exclude>com.esotericsoftware:*</exclude>
68 <exclude>org.ow2.asm:asm</exclude>
69 <exclude>org.objenesis:objenesis</exclude>
70 <exclude>io.netty:*</exclude>
71 </excludes>
72 </artifactSet>
73
Jonathan Hart335ef462014-10-16 08:20:46 -070074 <filters>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080075
Jonathan Hart335ef462014-10-16 08:20:46 -070076 <filter>
77 <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact>
78 <includes>
79 <include>com/googlecode/**</include>
80 </includes>
Jonathan Hart335ef462014-10-16 08:20:46 -070081 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080082
Jonathan Hart335ef462014-10-16 08:20:46 -070083 <filter>
Madan Jampanicb7ab082015-02-06 15:33:03 -080084 <artifact>org.onosproject:copycat*</artifact>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080085 <includes>
Madan Jampani09342702015-02-05 23:32:40 -080086 <include>**</include>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080087 </includes>
88 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080089
Jonathan Hart335ef462014-10-16 08:20:46 -070090 </filters>
91 </configuration>
92 <executions>
93 <execution>
94 <phase>package</phase>
95 <goals>
96 <goal>shade</goal>
97 </goals>
98 </execution>
99 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800100 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700101 <plugin>
102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-bundle-plugin</artifactId>
104 <configuration>
105 <instructions>
106 <Export-Package>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -0700107 com.googlecode.concurrenttrees.*;net.kuujo.copycat.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700108 </Export-Package>
109 </instructions>
110 </configuration>
111 </plugin>
112 </plugins>
113 </build>
114
115</project>