Merge branch 'upstream' into tizen
[platform/upstream/iotivity.git] / cloud / account / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>org.iotivity.cloud</groupId>
4   <artifactId>CloudAccount</artifactId>
5   <version>0.0.1-SNAPSHOT</version>
6   
7   <properties>
8                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9         </properties>
10         
11   <dependencies>
12                 <dependency>
13                         <groupId>org.iotivity.cloud</groupId>
14                         <artifactId>CloudStack</artifactId>
15                         <version>0.0.1-SNAPSHOT</version>
16                 </dependency>
17                 <dependency>
18                         <groupId>org.mongodb</groupId>
19                         <artifactId>mongo-java-driver</artifactId>
20                         <version>3.2.0</version>
21                 </dependency>
22                 <dependency>
23                         <groupId>junit</groupId>
24                         <artifactId>junit</artifactId>
25                         <version>4.12</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>org.apache.oltu.oauth2</groupId>
29                         <artifactId>org.apache.oltu.oauth2.client</artifactId>
30                         <version>1.0.1</version>
31                 </dependency>
32   </dependencies>
33         
34   <build>
35                 <plugins>
36                         <plugin>
37                                 <inherited>true</inherited>
38                                 <groupId>org.apache.maven.plugins</groupId>
39                                 <artifactId>maven-compiler-plugin</artifactId>
40                                 <configuration>
41                                         <source>1.7</source>
42                                         <target>1.7</target>
43                                         <encoding>UTF-8</encoding>
44                                 </configuration>
45                         </plugin>
46                         <plugin>
47                                 <groupId>org.apache.maven.plugins</groupId>
48                                 <artifactId>maven-jar-plugin</artifactId>
49                                 <configuration>
50                                         <archive>
51                                                 <manifest>
52                                                         <mainClass>org.iotivity.cloud.accountserver.AccountServer</mainClass>
53                                                         <addClasspath>true</addClasspath>
54                                                         <classpathPrefix>lib/</classpathPrefix>
55                                                 </manifest>
56                                         </archive>
57                                 </configuration>
58                         </plugin>
59                         <plugin>
60                                 <groupId>org.apache.maven.plugins</groupId>
61                                 <artifactId>maven-dependency-plugin</artifactId>
62                                 <executions>
63                                         <execution>
64                                                 <id>copy-dependencies</id>
65                                                 <phase>package</phase>
66                                                 <goals>
67                                                         <goal>copy-dependencies</goal>
68                                                 </goals>
69                                         </execution>
70                                 </executions>
71                                 <configuration>
72                                         <outputDirectory>target/lib</outputDirectory>
73                                         <overWriteIfNewer>true</overWriteIfNewer>
74                                 </configuration>
75                         </plugin>
76                 </plugins>              
77         </build>
78   
79 </project>