blob: dded25b359ad19b5f5fdc5b6e56162123b9f10a0 [file] [log] [blame]
Madan Jampanicefcd822016-06-01 14:36:51 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2016-present Open Networking Laboratory
4 ~
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
8 ~
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.
16 -->
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>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-base</artifactId>
25 <version>1</version>
26 <relativePath/>
27 </parent>
28
29 <groupId>org.onosproject</groupId>
30 <artifactId>atomix</artifactId>
31 <packaging>bundle</packaging>
32 <version>1.0.1.onos-SNAPSHOT</version>
33
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>
57
58 <dependencies>
59 <dependency>
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>
72 <groupId>io.atomix</groupId>
73 <artifactId>atomix</artifactId>
74 <version>${atomix.version}</version>
75 </dependency>
76
77 <dependency>
78 <groupId>io.atomix.copycat</groupId>
79 <artifactId>copycat-client</artifactId>
80 <version>${copycat.version}</version>
81 </dependency>
82
83 <dependency>
84 <groupId>io.atomix.copycat</groupId>
85 <artifactId>copycat-server</artifactId>
86 <version>${copycat.version}</version>
87 </dependency>
88
89 </dependencies>
90
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
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>
107 <artifactId>maven-shade-plugin</artifactId>
108 <version>2.4.2</version>
109 <configuration>
110 <createSourcesJar>true</createSourcesJar>
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>
119 <exclude>commons-io:commons-io</exclude>
120 </excludes>
121 </artifactSet>
122 <filters>
123 <filter>
124 <artifact>io.atomix:atomix-all</artifact>
125 <includes>
126 <include>**</include>
127 </includes>
128 </filter>
129 </filters>
130 </configuration>
131 <executions>
132 <execution>
133 <phase>package</phase>
134 <goals>
135 <goal>shade</goal>
136 </goals>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.felix</groupId>
142 <artifactId>maven-bundle-plugin</artifactId>
143 <version>3.0.1</version>
144 <extensions>true</extensions>
145 <configuration>
146 <instructions>
147 <Export-Package>
148 io.atomix.*
149 </Export-Package>
150 <Import-Package>
151 !sun.nio.ch,!sun.misc,*
152 </Import-Package>
153 </instructions>
154 </configuration>
155 </plugin>
156 </plugins>
157 </build>
158
159</project>