Introduce master pom for cloud project
[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"
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         <parent>
5                 <groupId>org.iotivity.cloud</groupId>
6                 <artifactId>cloud</artifactId>
7                 <version>0.0.1-SNAPSHOT</version>
8         </parent>
9
10         <groupId>org.iotivity.cloud</groupId>
11         <artifactId>CloudAccount</artifactId>
12
13         <dependencies>
14                 <!-- Local -->
15                 <dependency>
16                         <groupId>org.iotivity.cloud</groupId>
17                         <artifactId>CloudStack</artifactId>
18                 </dependency>
19
20                 <!-- Remote -->
21                 <dependency>
22                         <groupId>org.mongodb</groupId>
23                         <artifactId>mongo-java-driver</artifactId>
24                 </dependency>
25                 <dependency>
26                         <groupId>org.apache.oltu.oauth2</groupId>
27                         <artifactId>org.apache.oltu.oauth2.client</artifactId>
28                 </dependency>
29                 <dependency>
30                         <groupId>org.apache.oltu.oauth2</groupId>
31                         <artifactId>org.apache.oltu.oauth2.common</artifactId>
32                 </dependency>
33                 <dependency>
34                         <groupId>org.apache.oltu.oauth2</groupId>
35                         <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
36                 </dependency>
37                 <dependency>
38                         <groupId>org.reflections</groupId>
39                         <artifactId>reflections</artifactId>
40                 </dependency>
41
42                 <dependency>
43                         <groupId>org.powermock</groupId>
44                         <artifactId>powermock-api-mockito</artifactId>
45                         <scope>test</scope>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.powermock</groupId>
49                         <artifactId>powermock-core</artifactId>
50                         <scope>test</scope>
51                 </dependency>
52                 <dependency>
53                         <groupId>org.powermock</groupId>
54                         <artifactId>powermock-module-junit4</artifactId>
55                         <scope>test</scope>
56                 </dependency>
57
58                 <!-- For security tasks(certificates, signature, keystore) -->
59                 <dependency>
60                         <groupId>org.bouncycastle</groupId>
61                         <artifactId>bcprov-jdk15on</artifactId>
62                 </dependency>
63
64                 <dependency>
65                         <groupId>org.bouncycastle</groupId>
66                         <artifactId>bcpkix-jdk15on</artifactId>
67                 </dependency>
68                 <!-- For security tasks(certificates, signature, keystore) -->
69
70         </dependencies>
71
72         <build>
73                 <plugins>
74                         <plugin>
75                                 <inherited>true</inherited>
76                                 <groupId>org.apache.maven.plugins</groupId>
77                                 <artifactId>maven-compiler-plugin</artifactId>
78                                 <configuration>
79                                         <source>1.8</source>
80                                         <target>1.8</target>
81                                         <encoding>UTF-8</encoding>
82                                 </configuration>
83                         </plugin>
84                         <plugin>
85                                 <groupId>org.apache.maven.plugins</groupId>
86                                 <artifactId>maven-jar-plugin</artifactId>
87                                 <configuration>
88                                         <archive>
89                                                 <manifest>
90                                                         <mainClass>org.iotivity.cloud.accountserver.AccountServer</mainClass>
91                                                         <addClasspath>true</addClasspath>
92                                                         <classpathPrefix>lib/</classpathPrefix>
93                                                 </manifest>
94                                         </archive>
95                                 </configuration>
96                         </plugin>
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-dependency-plugin</artifactId>
100                                 <executions>
101                                         <execution>
102                                                 <id>copy-dependencies</id>
103                                                 <phase>package</phase>
104                                                 <goals>
105                                                         <goal>copy-dependencies</goal>
106                                                 </goals>
107                                         </execution>
108                                 </executions>
109                                 <configuration>
110                                         <outputDirectory>target/lib</outputDirectory>
111                                         <overWriteIfNewer>true</overWriteIfNewer>
112                                 </configuration>
113                         </plugin>
114                 </plugins>
115         </build>
116
117 </project>