Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Thomas Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 2 | <!-- |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 3 | ~ Copyright 2014 Open Networking Laboratory |
Thomas Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 4 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 5 | ~ 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 Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 8 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 9 | ~ 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 Vachuska | 24c849c | 2014-10-27 09:53:05 -0700 | [diff] [blame] | 16 | --> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 17 | <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'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 23 | <groupId>org.onosproject</groupId> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 24 | <artifactId>onlab-utils</artifactId> |
Brian O'Connor | 880dc20d | 2015-12-16 22:53:14 -0800 | [diff] [blame] | 25 | <version>1.5.0-SNAPSHOT</version> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 26 | <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 Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 38 | </dependency> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 39 | |
Brian O'Connor | e79b025 | 2015-09-04 15:55:03 -0700 | [diff] [blame] | 40 | <dependency> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 41 | <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> |
Brian O'Connor | e79b025 | 2015-09-04 15:55:03 -0700 | [diff] [blame] | 53 | <!-- FIXME once fixes get merged to upstream --> |
| 54 | <groupId>org.onosproject</groupId> |
| 55 | <artifactId>copycat-api</artifactId> |
| 56 | <version>${copycat.version}</version> |
| 57 | </dependency> |
Madan Jampani | 9b37d57 | 2014-11-12 11:53:24 -0800 | [diff] [blame] | 58 | |
Brian O'Connor | e79b025 | 2015-09-04 15:55:03 -0700 | [diff] [blame] | 59 | <dependency> |
| 60 | <!-- FIXME once fixes get merged to upstream --> |
| 61 | <groupId>org.onosproject</groupId> |
| 62 | <artifactId>copycat-core</artifactId> |
| 63 | <version>${copycat.version}</version> |
| 64 | </dependency> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 65 | </dependencies> |
| 66 | |
| 67 | <build> |
| 68 | <plugins> |
| 69 | <plugin> |
| 70 | <groupId>org.apache.maven.plugins</groupId> |
| 71 | <artifactId>maven-shade-plugin</artifactId> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 72 | <configuration> |
HIGUCHI Yuta | 41ed854 | 2015-04-20 14:17:02 -0700 | [diff] [blame] | 73 | <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> |
| 83 | </excludes> |
| 84 | </artifactSet> |
| 85 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 86 | <filters> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 87 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 88 | <filter> |
| 89 | <artifact>com.googlecode.concurrent-trees:concurrent-trees</artifact> |
| 90 | <includes> |
| 91 | <include>com/googlecode/**</include> |
| 92 | </includes> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 93 | </filter> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 94 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 95 | <filter> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 96 | <artifact>commons-io:commons-io</artifact> |
| 97 | <includes> |
| 98 | <include>org/apache/commons/io/**</include> |
| 99 | </includes> |
| 100 | </filter> |
| 101 | |
| 102 | <filter> |
Madan Jampani | cb7ab08 | 2015-02-06 15:33:03 -0800 | [diff] [blame] | 103 | <artifact>org.onosproject:copycat*</artifact> |
Brian Stanke | c6f781c | 2016-01-29 10:13:49 -0500 | [diff] [blame] | 104 | <includes> |
| 105 | <include>**</include> |
| 106 | </includes> |
| 107 | <excludes> |
| 108 | <exclude>net/kuujo/copycat/**</exclude> |
| 109 | </excludes> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 110 | </filter> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 111 | |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 112 | <filter> |
Brian Stanke | c6f781c | 2016-01-29 10:13:49 -0500 | [diff] [blame] | 113 | <artifact>org.onosproject</artifact> |
| 114 | <excludes> |
| 115 | <exclude>org/apache/commons/io/**</exclude> |
| 116 | <exclude>io/atomix/**</exclude> |
| 117 | <exclude>com/googlecode/concurrenttrees/**</exclude> |
| 118 | </excludes> |
| 119 | </filter> |
| 120 | |
| 121 | <filter> |
| 122 | <artifact>io.atomix:atomix-resource-manager</artifact> |
| 123 | <excludes> |
| 124 | <exclude>io/atomix/resource/**</exclude> |
| 125 | </excludes> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 126 | </filter> |
| 127 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 128 | </filters> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 129 | <transformers> |
| 130 | <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 131 | <resource>META-INF/services/io.atomix.catalyst.serializer.CatalystSerializable</resource> |
| 132 | </transformer> |
| 133 | <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 134 | <resource>META-INF/services/io.atomix.resource.Resource</resource> |
| 135 | </transformer> |
| 136 | </transformers> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 137 | </configuration> |
| 138 | <executions> |
| 139 | <execution> |
| 140 | <phase>package</phase> |
| 141 | <goals> |
| 142 | <goal>shade</goal> |
| 143 | </goals> |
| 144 | </execution> |
| 145 | </executions> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 146 | </plugin> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 147 | <plugin> |
| 148 | <groupId>org.apache.felix</groupId> |
| 149 | <artifactId>maven-bundle-plugin</artifactId> |
| 150 | <configuration> |
| 151 | <instructions> |
| 152 | <Export-Package> |
Thomas Vachuska | 0c409b4 | 2016-01-21 16:10:32 -0800 | [diff] [blame] | 153 | com.googlecode.concurrenttrees.*;net.kuujo.copycat.*;io.atomix.*;org.apache.commons.io.* |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 154 | </Export-Package> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 155 | <Import-Package> |
| 156 | !sun.nio.ch,!sun.misc,* |
| 157 | </Import-Package> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 158 | </instructions> |
| 159 | </configuration> |
| 160 | </plugin> |
| 161 | </plugins> |
| 162 | </build> |
| 163 | |
| 164 | </project> |