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