blob: 93087ac4262f8e548cf2291a2c5f06f26bc4e917 [file] [log] [blame]
srikanth116e6e82014-08-19 07:22:37 -07001<project xmlns="http://maven.apache.org/POM/4.0.0"
2xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
4http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <parent>
7 <groupId>org.opendaylight.netvirtplatform</groupId>
8 <artifactId>netvirtplatform-parent</artifactId>
9 <version>0.0.1-SNAPSHOT</version>
10 <relativePath>../../commons/parent</relativePath>
11 </parent>
12
13 <artifactId>netvirtplatform-distribution</artifactId>
14 <packaging>pom</packaging>
15 <name>Net Virt Platform Distribution</name>
16
17 <dependencies>
18 <dependency>
19 <groupId>org.opendaylight.controller</groupId>
20 <artifactId>distribution.opendaylight</artifactId>
21 <version>0.1.0-SNAPSHOT</version>
22 <type>zip</type>
23 <classifier>osgipackage</classifier>
24 <!-- Make sure this isn't included on any classpath-->
25 <scope>provided</scope>
26 </dependency>
27 <dependency>
28 <groupId>org.opendaylight.netvirtplatform</groupId>
29 <artifactId>netvirtplatform-all</artifactId>
30 <version>0.0.1-SNAPSHOT</version>
31 </dependency>
32 <dependency>
33 <groupId>org.opendaylight.netvirtplatform.adaptors</groupId>
34 <artifactId>controllerservice</artifactId>
35 <version>0.0.1-SNAPSHOT</version>
36 </dependency>
37 </dependencies>
38
39 <build>
40 <resources>
41 <resource>
42 <directory>${basedir}/src/main/resources</directory>
43 </resource>
44 <resource>
45 <directory>${project.build.directory}/generated-resources</directory>
46 <filtering>true</filtering>
47 </resource>
48 </resources>
49 <plugins>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-dependency-plugin</artifactId>
53 <executions>
54 <execution>
55 <id>unpack-shared-resources</id>
56 <goals>
57 <goal>unpack-dependencies</goal>
58 </goals>
59 <phase>generate-resources</phase>
60 <configuration>
61 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
62 <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
63 <includeGroupIds>org.opendaylight.controller</includeGroupIds>
64 <excludeTransitive>true</excludeTransitive>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69 <plugin>
70 <artifactId>maven-assembly-plugin</artifactId>
71 <executions>
72 <execution>
73 <id>distro-assembly</id>
74 <phase>package</phase>
75 <goals>
76 <goal>single</goal>
77 </goals>
78 <configuration>
79 <descriptors>
80 <descriptor>src/assemble/bin.xml</descriptor>
81 </descriptors>
82 </configuration>
83 </execution>
84 </executions>
85 </plugin>
86 </plugins>
87 </build>
88</project>