Merge "Merge branch 'master' into cloud-interface" into cloud-interface
[platform/upstream/iotivity.git] / cloud / resourcedirectory / 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>CloudResourceDirectory</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         </dependencies>
30
31         <build>
32                 <plugins>
33                         <plugin>
34                                 <inherited>true</inherited>
35                                 <groupId>org.apache.maven.plugins</groupId>
36                                 <artifactId>maven-compiler-plugin</artifactId>
37                                 <configuration>
38                                         <source>1.8</source>
39                                         <target>1.8</target>
40                                         <encoding>UTF-8</encoding>
41                                 </configuration>
42                         </plugin>
43                         <plugin>
44                                 <groupId>org.apache.maven.plugins</groupId>
45                                 <artifactId>maven-jar-plugin</artifactId>
46                                 <configuration>
47                                         <archive>
48                                                 <manifest>
49                                                         <mainClass>org.iotivity.cloud.rdserver.ResourceDirectoryServer</mainClass>
50                                                         <addClasspath>true</addClasspath>
51                                                         <classpathPrefix>lib/</classpathPrefix>
52                                                 </manifest>
53                                         </archive>
54                                 </configuration>
55                         </plugin>
56                         <plugin>
57                                 <groupId>org.apache.maven.plugins</groupId>
58                                 <artifactId>maven-dependency-plugin</artifactId>
59                                 <executions>
60                                         <execution>
61                                                 <id>copy-dependencies</id>
62                                                 <phase>package</phase>
63                                                 <goals>
64                                                         <goal>copy-dependencies</goal>
65                                                 </goals>
66                                         </execution>
67                                 </executions>
68                                 <configuration>
69                                         <outputDirectory>target/lib</outputDirectory>
70                                         <overWriteIfNewer>true</overWriteIfNewer>
71                                 </configuration>
72                         </plugin>
73                 </plugins>
74         </build>
75
76 </project>