updated snapshot_history.txt
[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                 <dependency>            
30                         <groupId>org.mockito</groupId>
31                         <artifactId>mockito-all</artifactId>
32                         <version>1.10.19</version>
33                         <scope>test</scope>
34                 </dependency>
35                 <dependency>
36                         <groupId>com.jayway.awaitility</groupId>
37                         <artifactId>awaitility</artifactId>
38                         <version>1.7.0</version>
39                 </dependency>
40         </dependencies>
41
42         <build>
43                 <plugins>
44                         <plugin>
45                                 <inherited>true</inherited>
46                                 <groupId>org.apache.maven.plugins</groupId>
47                                 <artifactId>maven-compiler-plugin</artifactId>
48                                 <configuration>
49                                         <source>1.8</source>
50                                         <target>1.8</target>
51                                         <encoding>UTF-8</encoding>
52                                 </configuration>
53                         </plugin>
54                         <plugin>
55                                 <groupId>org.apache.maven.plugins</groupId>
56                                 <artifactId>maven-jar-plugin</artifactId>
57                                 <configuration>
58                                         <archive>
59                                                 <manifest>
60                                                         <mainClass>org.iotivity.cloud.rdserver.ResourceDirectoryServer</mainClass>
61                                                         <addClasspath>true</addClasspath>
62                                                         <classpathPrefix>lib/</classpathPrefix>
63                                                 </manifest>
64                                         </archive>
65                                 </configuration>
66                         </plugin>
67                         <plugin>
68                                 <groupId>org.apache.maven.plugins</groupId>
69                                 <artifactId>maven-dependency-plugin</artifactId>
70                                 <executions>
71                                         <execution>
72                                                 <id>copy-dependencies</id>
73                                                 <phase>package</phase>
74                                                 <goals>
75                                                         <goal>copy-dependencies</goal>
76                                                 </goals>
77                                         </execution>
78                                 </executions>
79                                 <configuration>
80                                         <outputDirectory>target/lib</outputDirectory>
81                                         <overWriteIfNewer>true</overWriteIfNewer>
82                                 </configuration>
83                         </plugin>
84                 </plugins>
85         </build>
86
87 </project>