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 | <!-- |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 3 | ~ Copyright 2016-present 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> |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 24 | <artifactId>onos-base</artifactId> |
| 25 | <version>1</version> |
| 26 | <relativePath/> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 27 | </parent> |
| 28 | |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 29 | <groupId>org.onosproject</groupId> |
| 30 | <artifactId>atomix</artifactId> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 31 | <packaging>bundle</packaging> |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 32 | <version>1.0.onos-SNAPSHOT</version> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 33 | |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 34 | <description>Atomix shaded OSGi JAR</description> |
| 35 | <url>http://onosproject.org/</url> |
| 36 | |
| 37 | <scm> |
| 38 | <connection>scm:git:https://gerrit.onosproject.org/onos</connection> |
| 39 | <developerConnection>scm:git:https://gerrit.onosproject.org/onos |
| 40 | </developerConnection> |
| 41 | <url>http://gerrit.onosproject.org/</url> |
| 42 | </scm> |
| 43 | |
| 44 | <licenses> |
| 45 | <license> |
| 46 | <name>Apache License, Version 2.0</name> |
| 47 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 48 | </license> |
| 49 | </licenses> |
| 50 | |
| 51 | <properties> |
| 52 | <!-- TODO: replace with final release version when it is out --> |
| 53 | <catalyst.version>1.0.6</catalyst.version> |
| 54 | <atomix.version>1.0.0-rc3</atomix.version> |
| 55 | <copycat.version>1.0.0-rc6</copycat.version> |
| 56 | </properties> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 57 | |
| 58 | <dependencies> |
| 59 | <dependency> |
Madan Jampani | 4471cb5 | 2016-04-04 08:02:54 -0700 | [diff] [blame] | 60 | <groupId>io.atomix.catalyst</groupId> |
| 61 | <artifactId>catalyst-transport</artifactId> |
| 62 | <version>${catalyst.version}</version> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>io.atomix.catalyst</groupId> |
| 67 | <artifactId>catalyst-serializer</artifactId> |
| 68 | <version>${catalyst.version}</version> |
| 69 | </dependency> |
| 70 | |
| 71 | <dependency> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 72 | <groupId>io.atomix</groupId> |
| 73 | <artifactId>atomix</artifactId> |
| 74 | <version>${atomix.version}</version> |
| 75 | </dependency> |
| 76 | |
| 77 | <dependency> |
Madan Jampani | 0da36be | 2016-04-01 10:38:23 -0700 | [diff] [blame] | 78 | <groupId>io.atomix.copycat</groupId> |
| 79 | <artifactId>copycat-client</artifactId> |
Madan Jampani | 38f0169 | 2016-04-04 20:28:08 -0700 | [diff] [blame] | 80 | <version>${copycat.version}</version> |
Madan Jampani | 0da36be | 2016-04-01 10:38:23 -0700 | [diff] [blame] | 81 | </dependency> |
| 82 | |
| 83 | <dependency> |
| 84 | <groupId>io.atomix.copycat</groupId> |
| 85 | <artifactId>copycat-server</artifactId> |
Brian O'Connor | e79b025 | 2015-09-04 15:55:03 -0700 | [diff] [blame] | 86 | <version>${copycat.version}</version> |
| 87 | </dependency> |
Madan Jampani | 9b37d57 | 2014-11-12 11:53:24 -0800 | [diff] [blame] | 88 | |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 89 | </dependencies> |
| 90 | |
| 91 | <build> |
| 92 | <plugins> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.maven.plugins</groupId> |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 95 | <artifactId>maven-compiler-plugin</artifactId> |
| 96 | <!-- TODO: update once following issue is fixed. --> |
| 97 | <!-- https://jira.codehaus.org/browse/MCOMPILER-205 --> |
| 98 | <version>2.5.1</version> |
| 99 | <configuration> |
| 100 | <source>1.8</source> |
| 101 | <target>1.8</target> |
| 102 | </configuration> |
| 103 | </plugin> |
| 104 | |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 107 | <artifactId>maven-shade-plugin</artifactId> |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 108 | <version>2.4.2</version> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 109 | <configuration> |
HIGUCHI Yuta | 41ed854 | 2015-04-20 14:17:02 -0700 | [diff] [blame] | 110 | <createSourcesJar>true</createSourcesJar> |
HIGUCHI Yuta | 41ed854 | 2015-04-20 14:17:02 -0700 | [diff] [blame] | 111 | <artifactSet> |
| 112 | <excludes> |
| 113 | <!-- exclude OSGi-ready transitive dependencies --> |
| 114 | <exclude>com.google.guava:guava</exclude> |
| 115 | <exclude>com.esotericsoftware:*</exclude> |
| 116 | <exclude>org.ow2.asm:asm</exclude> |
| 117 | <exclude>org.objenesis:objenesis</exclude> |
| 118 | <exclude>io.netty:*</exclude> |
Brian O'Connor | 344ea7a | 2016-04-04 14:08:33 -0700 | [diff] [blame] | 119 | <exclude>commons-io:commons-io</exclude> |
HIGUCHI Yuta | 41ed854 | 2015-04-20 14:17:02 -0700 | [diff] [blame] | 120 | </excludes> |
| 121 | </artifactSet> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 122 | <filters> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 123 | <filter> |
Madan Jampani | 851c423 | 2016-02-01 00:39:15 -0800 | [diff] [blame] | 124 | <artifact>io.atomix:atomix-all</artifact> |
| 125 | <includes> |
| 126 | <include>**</include> |
| 127 | </includes> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 128 | </filter> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 129 | </filters> |
| 130 | </configuration> |
| 131 | <executions> |
| 132 | <execution> |
| 133 | <phase>package</phase> |
| 134 | <goals> |
| 135 | <goal>shade</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | </executions> |
Yuta HIGUCHI | 0c1c100 | 2014-11-05 13:47:25 -0800 | [diff] [blame] | 139 | </plugin> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 140 | <plugin> |
| 141 | <groupId>org.apache.felix</groupId> |
| 142 | <artifactId>maven-bundle-plugin</artifactId> |
Brian O'Connor | 96f689b | 2016-04-05 22:20:42 -0700 | [diff] [blame] | 143 | <version>3.0.1</version> |
| 144 | <extensions>true</extensions> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 145 | <configuration> |
| 146 | <instructions> |
| 147 | <Export-Package> |
Madan Jampani | 38f0169 | 2016-04-04 20:28:08 -0700 | [diff] [blame] | 148 | io.atomix.* |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 149 | </Export-Package> |
Madan Jampani | 3289fbf | 2016-01-13 14:14:27 -0800 | [diff] [blame] | 150 | <Import-Package> |
| 151 | !sun.nio.ch,!sun.misc,* |
| 152 | </Import-Package> |
Jonathan Hart | 335ef46 | 2014-10-16 08:20:46 -0700 | [diff] [blame] | 153 | </instructions> |
| 154 | </configuration> |
| 155 | </plugin> |
| 156 | </plugins> |
| 157 | </build> |
| 158 | |
| 159 | </project> |