Introduce master pom for cloud project
[iotivity.git] / cloud / interface / 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
5         <parent>
6                 <groupId>org.iotivity.cloud</groupId>
7                 <artifactId>cloud</artifactId>
8                 <version>0.0.1-SNAPSHOT</version>
9         </parent>
10
11         <groupId>org.iotivity.cloud</groupId>
12         <artifactId>CloudInterface</artifactId>
13
14         <dependencies>
15                 <!-- Local -->
16                 <dependency>
17                         <groupId>org.iotivity.cloud</groupId>
18                         <artifactId>CloudStack</artifactId>
19                 </dependency>
20
21                 <!-- Testing -->
22                 <dependency>
23                         <groupId>org.powermock</groupId>
24                         <artifactId>powermock-api-mockito</artifactId>
25                         <scope>test</scope>
26                 </dependency>
27                 <dependency>
28                         <groupId>org.powermock</groupId>
29                         <artifactId>powermock-core</artifactId>
30                         <scope>test</scope>
31                 </dependency>
32                 <dependency>
33                         <groupId>org.powermock</groupId>
34                         <artifactId>powermock-module-junit4</artifactId>
35                         <scope>test</scope>
36                 </dependency>
37         </dependencies>
38
39         <build>
40                 <plugins>
41                         <plugin>
42                                 <inherited>true</inherited>
43                                 <groupId>org.apache.maven.plugins</groupId>
44                                 <artifactId>maven-compiler-plugin</artifactId>
45                                 <configuration>
46                                         <source>1.8</source>
47                                         <target>1.8</target>
48                                         <encoding>UTF-8</encoding>
49                                 </configuration>
50                         </plugin>
51                         <plugin>
52                                 <groupId>org.apache.maven.plugins</groupId>
53                                 <artifactId>maven-jar-plugin</artifactId>
54                                 <configuration>
55                                         <archive>
56                                                 <manifest>
57                                                         <mainClass>org.iotivity.cloud.ciserver.CloudInterfaceServer</mainClass>
58                                                         <addClasspath>true</addClasspath>
59                                                         <classpathPrefix>lib/</classpathPrefix>
60                                                 </manifest>
61                                         </archive>
62                                 </configuration>
63                         </plugin>
64                         <plugin>
65                                 <groupId>org.apache.maven.plugins</groupId>
66                                 <artifactId>maven-dependency-plugin</artifactId>
67                                 <executions>
68                                         <execution>
69                                                 <id>copy-dependencies</id>
70                                                 <phase>package</phase>
71                                                 <goals>
72                                                         <goal>copy-dependencies</goal>
73                                                 </goals>
74                                         </execution>
75                                 </executions>
76                                 <configuration>
77                                         <outputDirectory>target/lib</outputDirectory>
78                                         <overWriteIfNewer>true</overWriteIfNewer>
79                                 </configuration>
80                         </plugin>
81                 </plugins>
82         </build>
83
84 </project>