Implements OIC/OCF resource models for cloud.
[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         </dependencies>
49
50         <build>
51                 <plugins>
52                         <plugin>
53                                 <inherited>true</inherited>
54                                 <groupId>org.apache.maven.plugins</groupId>
55                                 <artifactId>maven-compiler-plugin</artifactId>
56                                 <configuration>
57                                         <source>1.8</source>
58                                         <target>1.8</target>
59                                         <encoding>UTF-8</encoding>
60                                 </configuration>
61                         </plugin>
62                         <plugin>
63                                 <groupId>org.apache.maven.plugins</groupId>
64                                 <artifactId>maven-jar-plugin</artifactId>
65                                 <configuration>
66                                         <archive>
67                                                 <manifest>
68                                                         <mainClass>org.iotivity.cloud.mqserver.MessageQueueServer</mainClass>
69                                                         <addClasspath>true</addClasspath>
70                                                         <classpathPrefix>lib/</classpathPrefix>
71                                                 </manifest>
72                                         </archive>
73                                 </configuration>
74                         </plugin>
75                         <plugin>
76                                 <groupId>org.apache.maven.plugins</groupId>
77                                 <artifactId>maven-dependency-plugin</artifactId>
78                                 <executions>
79                                         <execution>
80                                                 <id>copy-dependencies</id>
81                                                 <phase>package</phase>
82                                                 <goals>
83                                                         <goal>copy-dependencies</goal>
84                                                 </goals>
85                                         </execution>
86                                 </executions>
87                                 <configuration>
88                                         <outputDirectory>target/lib</outputDirectory>
89                                         <overWriteIfNewer>true</overWriteIfNewer>
90                                 </configuration>
91                         </plugin>
92                 </plugins>
93         </build>
94
95 </project>