cloud: Update dependency
[iotivity.git] / cloud / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <groupId>org.iotivity.cloud</groupId>
5   <artifactId>cloud</artifactId>
6   <version>0.0.1-SNAPSHOT</version>
7   <packaging>pom</packaging>
8   <name>cloud</name>
9
10   <modules>
11     <module>account</module>
12     <module>interface</module>
13     <module>messagequeue</module>
14     <module>resourcedirectory</module>
15     <module>stack</module>
16   </modules>
17
18   <properties>
19     <!-- Common configuration properties -->
20     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21     <java.source>1.8</java.source>
22     <java.target>1.8</java.target>
23
24     <!-- Skip test -->
25     <maven.test.skip>true</maven.test.skip>
26
27   </properties>
28
29   <dependencies>
30     <dependency>
31       <groupId>junit</groupId>
32       <artifactId>junit</artifactId>
33       <scope>test</scope>
34     </dependency>
35     <dependency>
36       <groupId>org.mockito</groupId>
37       <artifactId>mockito-all</artifactId>
38       <scope>test</scope>
39     </dependency>
40     <dependency>
41       <groupId>com.jayway.awaitility</groupId>
42       <artifactId>awaitility</artifactId>
43       <scope>test</scope>
44     </dependency>
45   </dependencies>
46
47   <dependencyManagement>
48     <dependencies>
49       <!-- Local dependencies -->
50       <dependency>
51         <groupId>org.iotivity.cloud</groupId>
52         <artifactId>CloudStack</artifactId>
53         <version>0.0.1-SNAPSHOT</version>
54       </dependency>
55       <dependency>
56         <groupId>org.iotivity.cloud</groupId>
57         <artifactId>CloudResourceDirectory</artifactId>
58         <version>0.0.1-SNAPSHOT</version>
59       </dependency>
60       <dependency>
61         <groupId>org.iotivity.cloud</groupId>
62         <artifactId>CloudMessageQueue</artifactId>
63         <version>0.0.1-SNAPSHOT</version>
64       </dependency>
65       <dependency>
66         <groupId>org.iotivity.cloud</groupId>
67         <artifactId>CloudInterface</artifactId>
68         <version>0.0.1-SNAPSHOT</version>
69       </dependency>
70       <dependency>
71         <groupId>org.iotivity.cloud</groupId>
72         <artifactId>CloudAccount</artifactId>
73         <version>0.0.1-SNAPSHOT</version>
74       </dependency>
75
76
77       <!-- Dependencies -->
78       <!-- Core -->
79       <dependency>
80         <groupId>io.netty</groupId>
81         <artifactId>netty-all</artifactId>
82         <version>4.1.1.Final</version>
83       </dependency>
84       <dependency>
85         <groupId>javax.websocket</groupId>
86         <artifactId>javax.websocket-client-api</artifactId>
87         <version>1.0</version>
88       </dependency>
89       <dependency>
90         <groupId>org.glassfish.tyrus</groupId>
91         <artifactId>tyrus-client</artifactId>
92         <version>1.1</version>
93       </dependency>
94       <dependency>
95         <groupId>org.glassfish.tyrus</groupId>
96         <artifactId>tyrus-container-grizzly</artifactId>
97         <version>1.1</version>
98       </dependency>
99
100       <dependency>
101         <groupId>org.apache.kafka</groupId>
102         <artifactId>kafka_2.11</artifactId>
103         <version>0.9.0.0</version>
104         <exclusions>
105           <exclusion>
106             <artifactId>jmxri</artifactId>
107             <groupId>com.sun.jmx</groupId>
108           </exclusion>
109           <exclusion>
110             <artifactId>jmxtools</artifactId>
111             <groupId>com.sun.jdmk</groupId>
112           </exclusion>
113           <exclusion>
114             <artifactId>jms</artifactId>
115             <groupId>javax.jms</groupId>
116           </exclusion>
117         </exclusions>
118       </dependency>
119       <!-- Database -->
120       <dependency>
121         <groupId>org.mongodb</groupId>
122         <artifactId>mongo-java-driver</artifactId>
123         <version>3.2.0</version>
124       </dependency>
125
126
127       <!-- For security tasks(certificates, signature, keystore) -->
128       <dependency>
129         <groupId>org.bouncycastle</groupId>
130         <artifactId>bcprov-jdk15on</artifactId>
131         <version>1.54</version>
132       </dependency>
133
134       <dependency>
135         <groupId>org.bouncycastle</groupId>
136         <artifactId>bcpkix-jdk15on</artifactId>
137         <version>1.54</version>
138       </dependency>
139       <!-- For security tasks(certificates, signature, keystore) -->
140
141       <!-- Json -->
142       <dependency>
143         <groupId>javax.json</groupId>
144         <artifactId>javax.json-api</artifactId>
145         <version>1.0</version>
146       </dependency>
147       <dependency>
148         <groupId>org.glassfish</groupId>
149         <artifactId>javax.json</artifactId>
150         <version>1.0.1</version>
151       </dependency>
152       <dependency>
153         <groupId>com.google.code.gson</groupId>
154         <artifactId>gson</artifactId>
155         <version>2.8.0</version>
156       </dependency>
157       <dependency>
158         <groupId>org.json</groupId>
159         <artifactId>json</artifactId>
160         <version>20140107</version>
161       </dependency>
162       <dependency>
163         <groupId>com.fasterxml.jackson.core</groupId>
164         <artifactId>jackson-databind</artifactId>
165         <version>[2.8.11.1,)</version>
166       </dependency>
167       <dependency>
168         <groupId>com.fasterxml.jackson.dataformat</groupId>
169         <artifactId>jackson-dataformat-cbor</artifactId>
170         <version>[2.8.11.1,)</version>
171       </dependency>
172
173       <!--Util -->
174       <dependency>
175         <groupId>commons-codec</groupId>
176         <artifactId>commons-codec</artifactId>
177         <version>1.9</version>
178       </dependency>
179       <dependency>
180         <groupId>org.reflections</groupId>
181         <artifactId>reflections</artifactId>
182         <version>0.9.11</version>
183       </dependency>
184
185       <!-- OAuth -->
186       <dependency>
187         <groupId>org.apache.oltu.oauth2</groupId>
188         <artifactId>org.apache.oltu.oauth2.client</artifactId>
189         <version>1.0.1</version>
190       </dependency>
191       <dependency>
192         <groupId>org.apache.oltu.oauth2</groupId>
193         <artifactId>org.apache.oltu.oauth2.common</artifactId>
194         <version>1.0.1</version>
195       </dependency>
196       <dependency>
197         <groupId>org.apache.oltu.oauth2</groupId>
198         <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
199         <version>1.0.1</version>
200       </dependency>
201
202       <!-- Logging -->
203       <dependency>
204         <groupId>log4j</groupId>
205         <artifactId>log4j</artifactId>
206         <version>1.2.17</version>
207       </dependency>
208
209       <!-- Testing -->
210       <dependency>
211         <groupId>junit</groupId>
212         <artifactId>junit</artifactId>
213         <version>4.12</version>
214         <scope>test</scope>
215       </dependency>
216       <dependency>
217         <groupId>org.mockito</groupId>
218         <artifactId>mockito-all</artifactId>
219         <version>1.10.19</version>
220         <scope>test</scope>
221       </dependency>
222       <dependency>
223         <groupId>com.jayway.awaitility</groupId>
224         <artifactId>awaitility</artifactId>
225         <version>1.7.0</version>
226         <scope>test</scope>
227       </dependency>
228       <dependency>
229         <groupId>org.powermock</groupId>
230         <artifactId>powermock-api-mockito</artifactId>
231         <version>1.6.5</version>
232         <scope>test</scope>
233       </dependency>
234       <dependency>
235         <groupId>org.powermock</groupId>
236         <artifactId>powermock-core</artifactId>
237         <version>1.6.5</version>
238         <scope>test</scope>
239       </dependency>
240       <dependency>
241         <groupId>org.powermock</groupId>
242         <artifactId>powermock-module-junit4</artifactId>
243         <version>1.6.5</version>
244         <scope>test</scope>
245       </dependency>
246
247       <!-- Plugins -->
248       <!-- Not necessary -->
249       <!--<dependency>-->
250         <!--<groupId>org.apache.maven.plugins</groupId>-->
251         <!--<artifactId>maven-resources-plugin</artifactId>-->
252         <!--<version>2.4.3</version>-->
253       <!--</dependency>-->
254       <!--<dependency>-->
255         <!--<groupId>org.apache.maven.plugins</groupId>-->
256         <!--<artifactId>maven-compiler-plugin</artifactId>-->
257         <!--<version>3.1</version>-->
258       <!--</dependency>-->
259     </dependencies>
260   </dependencyManagement>
261
262   <build>
263     <pluginManagement>
264       <plugins>
265         <plugin>
266           <artifactId>maven-compiler-plugin</artifactId>
267           <version>3.5.1</version>
268           <configuration>
269             <source>${java.source}</source>
270             <target>${java.target}</target>
271           </configuration>
272         </plugin>
273       </plugins>
274     </pluginManagement>
275   </build>
276 </project>