MQ unit test included
[platform/upstream/iotivity.git] / cloud / messagequeue / 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>CloudMessageQueue</artifactId>
6         <version>0.0.1-SNAPSHOT</version>
7
8         <properties>
9                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10                 <maven.test.skip>true</maven.test.skip>
11         </properties>
12
13         <dependencies>
14                 <dependency>
15                         <groupId>org.iotivity.cloud</groupId>
16                         <artifactId>CloudStack</artifactId>
17                         <version>0.0.1-SNAPSHOT</version>
18                 </dependency>
19                 <dependency>
20                         <groupId>org.mongodb</groupId>
21                         <artifactId>mongo-java-driver</artifactId>
22                         <version>3.2.0</version>
23                 </dependency>
24                 <dependency>
25                         <groupId>junit</groupId>
26                         <artifactId>junit</artifactId>
27                         <version>4.12</version>
28                 </dependency>
29                 <dependency>
30                         <groupId>org.apache.kafka</groupId>
31                         <artifactId>kafka_2.11</artifactId>
32                         <version>0.9.0.0</version>
33                         <exclusions>
34                                 <exclusion>
35                                         <artifactId>jmxri</artifactId>
36                                         <groupId>com.sun.jmx</groupId>
37                                 </exclusion>
38                                 <exclusion>
39                                         <artifactId>jmxtools</artifactId>
40                                         <groupId>com.sun.jdmk</groupId>
41                                 </exclusion>
42                                 <exclusion>
43                                         <artifactId>jms</artifactId>
44                                         <groupId>javax.jms</groupId>
45                                 </exclusion>
46                         </exclusions>
47                 </dependency>
48                 <dependency>
49                         <groupId>org.mockito</groupId>
50                         <artifactId>mockito-all</artifactId>
51                         <version>1.10.19</version>
52                         <scope>test</scope>
53                 </dependency>
54                 <dependency>
55                         <groupId>com.jayway.awaitility</groupId>
56                         <artifactId>awaitility</artifactId>
57                         <version>1.7.0</version>
58                 </dependency>
59         </dependencies>
60
61         <build>
62                 <plugins>
63                         <plugin>
64                                 <inherited>true</inherited>
65                                 <groupId>org.apache.maven.plugins</groupId>
66                                 <artifactId>maven-compiler-plugin</artifactId>
67                                 <configuration>
68                                         <source>1.8</source>
69                                         <target>1.8</target>
70                                         <encoding>UTF-8</encoding>
71                                 </configuration>
72                         </plugin>
73                         <plugin>
74                                 <groupId>org.apache.maven.plugins</groupId>
75                                 <artifactId>maven-jar-plugin</artifactId>
76                                 <configuration>
77                                         <archive>
78                                                 <manifest>
79                                                         <mainClass>org.iotivity.cloud.mqserver.MessageQueueServer</mainClass>
80                                                         <addClasspath>true</addClasspath>
81                                                         <classpathPrefix>lib/</classpathPrefix>
82                                                 </manifest>
83                                         </archive>
84                                 </configuration>
85                         </plugin>
86                         <plugin>
87                                 <groupId>org.apache.maven.plugins</groupId>
88                                 <artifactId>maven-dependency-plugin</artifactId>
89                                 <executions>
90                                         <execution>
91                                                 <id>copy-dependencies</id>
92                                                 <phase>package</phase>
93                                                 <goals>
94                                                         <goal>copy-dependencies</goal>
95                                                 </goals>
96                                         </execution>
97                                 </executions>
98                                 <configuration>
99                                         <outputDirectory>target/lib</outputDirectory>
100                                         <overWriteIfNewer>true</overWriteIfNewer>
101                                 </configuration>
102                         </plugin>
103                 </plugins>
104         </build>
105
106 </project>