blob: 5f328c8aefda8ad150043c74b85058dd9661cbfe [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<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07003 ~ Copyright 2016-present 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>
Brian O'Connor96f689b2016-04-05 22:20:42 -070024 <artifactId>onos-base</artifactId>
25 <version>1</version>
26 <relativePath/>
Jonathan Hart335ef462014-10-16 08:20:46 -070027 </parent>
28
Brian O'Connor96f689b2016-04-05 22:20:42 -070029 <groupId>org.onosproject</groupId>
30 <artifactId>atomix</artifactId>
Jonathan Hart335ef462014-10-16 08:20:46 -070031 <packaging>bundle</packaging>
Brian O'Connor96f689b2016-04-05 22:20:42 -070032 <version>1.0.onos-SNAPSHOT</version>
Jonathan Hart335ef462014-10-16 08:20:46 -070033
Brian O'Connor96f689b2016-04-05 22:20:42 -070034 <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 Hart335ef462014-10-16 08:20:46 -070057
58 <dependencies>
59 <dependency>
Madan Jampani4471cb52016-04-04 08:02:54 -070060 <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 Jampani3289fbf2016-01-13 14:14:27 -080072 <groupId>io.atomix</groupId>
73 <artifactId>atomix</artifactId>
74 <version>${atomix.version}</version>
75 </dependency>
76
77 <dependency>
Madan Jampani0da36be2016-04-01 10:38:23 -070078 <groupId>io.atomix.copycat</groupId>
79 <artifactId>copycat-client</artifactId>
Madan Jampani38f01692016-04-04 20:28:08 -070080 <version>${copycat.version}</version>
Madan Jampani0da36be2016-04-01 10:38:23 -070081 </dependency>
82
83 <dependency>
84 <groupId>io.atomix.copycat</groupId>
85 <artifactId>copycat-server</artifactId>
Brian O'Connore79b0252015-09-04 15:55:03 -070086 <version>${copycat.version}</version>
87 </dependency>
Madan Jampani9b37d572014-11-12 11:53:24 -080088
Jonathan Hart335ef462014-10-16 08:20:46 -070089 </dependencies>
90
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
Brian O'Connor96f689b2016-04-05 22:20:42 -070095 <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 Hart335ef462014-10-16 08:20:46 -0700107 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor96f689b2016-04-05 22:20:42 -0700108 <version>2.4.2</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700109 <configuration>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -0700110 <createSourcesJar>true</createSourcesJar>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -0700111 <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'Connor344ea7a2016-04-04 14:08:33 -0700119 <exclude>commons-io:commons-io</exclude>
HIGUCHI Yuta41ed8542015-04-20 14:17:02 -0700120 </excludes>
121 </artifactSet>
Jonathan Hart335ef462014-10-16 08:20:46 -0700122 <filters>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800123 <filter>
Madan Jampani851c4232016-02-01 00:39:15 -0800124 <artifact>io.atomix:atomix-all</artifact>
125 <includes>
126 <include>**</include>
127 </includes>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800128 </filter>
Jonathan Hart335ef462014-10-16 08:20:46 -0700129 </filters>
130 </configuration>
131 <executions>
132 <execution>
133 <phase>package</phase>
134 <goals>
135 <goal>shade</goal>
136 </goals>
137 </execution>
138 </executions>
Yuta HIGUCHI0c1c1002014-11-05 13:47:25 -0800139 </plugin>
Jonathan Hart335ef462014-10-16 08:20:46 -0700140 <plugin>
141 <groupId>org.apache.felix</groupId>
142 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor96f689b2016-04-05 22:20:42 -0700143 <version>3.0.1</version>
144 <extensions>true</extensions>
Jonathan Hart335ef462014-10-16 08:20:46 -0700145 <configuration>
146 <instructions>
147 <Export-Package>
Madan Jampani38f01692016-04-04 20:28:08 -0700148 io.atomix.*
Jonathan Hart335ef462014-10-16 08:20:46 -0700149 </Export-Package>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800150 <Import-Package>
151 !sun.nio.ch,!sun.misc,*
152 </Import-Package>
Jonathan Hart335ef462014-10-16 08:20:46 -0700153 </instructions>
154 </configuration>
155 </plugin>
156 </plugins>
157 </build>
158
159</project>