Fixup the pom files to add neutron to the main build profile and add both neutron...
[netvirt.git] / distribution / opendaylight / pom.xml
1 <!--
2 Adapted from David Erickson's Distribution pom.xml
3 see https://git.opendaylight.org/gerrit/#/c/390/
4 -->
5 <project xmlns="http://maven.apache.org/POM/4.0.0"
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
8 http://maven.apache.org/maven-v4_0_0.xsd">
9   <modelVersion>4.0.0</modelVersion>
10   <parent>
11     <groupId>org.opendaylight.ovsdb</groupId>
12     <artifactId>commons.ovsdb</artifactId>
13     <version>1.0.0-SNAPSHOT</version>
14     <relativePath>../../commons/parent/</relativePath>
15   </parent>
16
17   <artifactId>distribution.ovsdb</artifactId>
18   <packaging>pom</packaging>
19   <name>ovsdb Distribution</name>
20
21   <dependencies>
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>distribution.opendaylight</artifactId>
25       <version>0.1.0-SNAPSHOT</version>
26       <type>zip</type>
27       <classifier>osgipackage</classifier>
28       <!-- Make sure this isn't included on any classpath-->
29       <scope>provided</scope>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.ovsdb</groupId>
33       <artifactId>ovsdb</artifactId>
34       <version>0.5.0-SNAPSHOT</version>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.ovsdb</groupId>
38       <artifactId>ovsdb.northbound</artifactId>
39       <version>0.5.0-SNAPSHOT</version>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.ovsdb</groupId>
43       <artifactId>ovsdb.neutron</artifactId>
44       <version>0.5.0-SNAPSHOT</version>
45     </dependency>
46   </dependencies>
47   <build>
48     <resources>
49       <resource>
50         <directory>${basedir}/src/main/resources</directory>
51       </resource>
52       <resource>
53         <directory>${project.build.directory}/generated-resources</directory>
54         <filtering>true</filtering>
55       </resource>
56     </resources>
57     <plugins>
58       <plugin>
59         <groupId>org.apache.maven.plugins</groupId>
60         <artifactId>maven-dependency-plugin</artifactId>
61         <version>2.8</version>
62         <executions>
63           <execution>
64             <id>unpack-shared-resources</id>
65             <goals>
66               <goal>unpack-dependencies</goal>
67             </goals>
68             <phase>generate-resources</phase>
69             <configuration>
70              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
71              <includeArtifacIds>distribution.opendaylight</includeArtifacIds>
72              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
73              <excludeTransitive>true</excludeTransitive>
74              <ignorePermissions>false</ignorePermissions>
75             </configuration>
76           </execution>
77         </executions>
78       </plugin>
79       <plugin>
80         <artifactId>maven-assembly-plugin</artifactId>
81         <executions>
82           <execution>
83             <id>distro-assembly</id>
84             <phase>package</phase>
85             <goals>
86               <goal>single</goal>
87             </goals>
88             <configuration>
89               <descriptors>
90                 <descriptor>src/assemble/bin.xml</descriptor>
91               </descriptors>
92             </configuration>
93           </execution>
94         </executions>
95       </plugin>
96     </plugins>
97   </build>
98 </project>