blob: af707602a34ef046beba57d4fddfa017415614b1 [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'Connor33503902015-06-01 17:08:05 -070025 <version>1.2.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
40 <dependency>
Brian O'Connor932d9412014-12-03 17:20:11 -080041 <!-- FIXME once fixes get merged to upstream -->
42 <groupId>org.onosproject</groupId>
Madan Jampani94c23532015-02-05 17:40:01 -080043 <artifactId>copycat-api</artifactId>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080044 <version>${copycat.version}</version>
45 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080046
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080047 <dependency>
Brian O'Connor932d9412014-12-03 17:20:11 -080048 <!-- FIXME once fixes get merged to upstream -->
49 <groupId>org.onosproject</groupId>
Madan Jampanicb7ab082015-02-06 15:33:03 -080050 <artifactId>copycat-core</artifactId>
51 <version>${copycat.version}</version>
52 </dependency>
53
54 <dependency>
55 <!-- FIXME once fixes get merged to upstream -->
56 <groupId>org.onosproject</groupId>
Madan Jampani94c23532015-02-05 17:40:01 -080057 <artifactId>copycat-netty</artifactId>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080058 <version>${copycat.version}</version>
59 </dependency>
60
Jonathan Hart335ef462014-10-16 08:20:46 -070061 </dependencies>
62
63 <build>
64 <plugins>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-shade-plugin</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070068 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -070069 <createSourcesJar>true</createSourcesJar>
70
71 <artifactSet>
72 <excludes>
73 <!-- exclude OSGi-ready transitive dependencies -->
74 <exclude>com.google.guava:guava</exclude>
75 <exclude>com.esotericsoftware:*</exclude>
76 <exclude>org.ow2.asm:asm</exclude>
77 <exclude>org.objenesis:objenesis</exclude>
78 <exclude>io.netty:*</exclude>
79 </excludes>
80 </artifactSet>
81
Jonathan Hart335ef462014-10-16 08:20:46 -070082 <filters>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080083
Jonathan Hart335ef462014-10-16 08:20:46 -070084 <filter>
85 <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact>
86 <includes>
87 <include>com/googlecode/**</include>
88 </includes>
Jonathan Hart335ef462014-10-16 08:20:46 -070089 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080090
Jonathan Hart335ef462014-10-16 08:20:46 -070091 <filter>
Madan Jampanicb7ab082015-02-06 15:33:03 -080092 <artifact>org.onosproject:copycat*</artifact>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080093 <includes>
Madan Jampani09342702015-02-05 23:32:40 -080094 <include>**</include>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080095 </includes>
96 </filter>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -080097
Jonathan Hart335ef462014-10-16 08:20:46 -070098 </filters>
99 </configuration>
100 <executions>
101 <execution>
102 <phase>package</phase>
103 <goals>
104 <goal>shade</goal>
105 </goals>
106 </execution>
107 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800108 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700109 <plugin>
110 <groupId>org.apache.felix</groupId>
111 <artifactId>maven-bundle-plugin</artifactId>
112 <configuration>
113 <instructions>
114 <Export-Package>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -0700115 com.googlecode.concurrenttrees.*;net.kuujo.copycat.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700116 </Export-Package>
117 </instructions>
118 </configuration>
119 </plugin>
120 </plugins>
121 </build>
122
123</project>