Merge branch 'master' into topic/schema
[netvirt.git] / distribution / opendaylight / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Adapted from David Erickson's Distribution pom.xml
4 see https://git.opendaylight.org/gerrit/#/c/390/
5 -->
6 <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/maven-v4_0_0.xsd">
7   <modelVersion>4.0.0</modelVersion>
8   <parent>
9     <groupId>org.opendaylight.ovsdb</groupId>
10     <artifactId>ovsdb_commons</artifactId>
11     <version>1.1.0-SNAPSHOT</version>
12     <relativePath>../../commons/parent/</relativePath>
13   </parent>
14
15   <artifactId>distribution.ovsdb</artifactId>
16   <packaging>pom</packaging>
17   <name>ovsdb Distribution</name>
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.openflowjava</groupId>
21       <artifactId>openflow-protocol-api</artifactId>
22       <version>0.5-SNAPSHOT</version>
23     </dependency>
24
25     <!-- openflowjava -->
26     <dependency>
27       <groupId>org.opendaylight.openflowjava</groupId>
28       <artifactId>openflow-protocol-impl</artifactId>
29       <version>0.5-SNAPSHOT</version>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.openflowjava</groupId>
33       <artifactId>openflow-protocol-spi</artifactId>
34       <version>0.5-SNAPSHOT</version>
35     </dependency>
36     <!-- openflowplugin -->
37     <dependency>
38       <groupId>org.opendaylight.openflowplugin</groupId>
39       <artifactId>openflowplugin</artifactId>
40       <version>0.0.3-SNAPSHOT</version>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.openflowplugin</groupId>
44       <artifactId>openflowplugin-controller-config</artifactId>
45       <version>0.0.3-SNAPSHOT</version>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.ovsdb</groupId>
49       <artifactId>ovsdb_library</artifactId>
50       <version>1.0.0-SNAPSHOT</version>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.ovsdb</groupId>
54       <artifactId>ovsdb_neutron</artifactId>
55       <version>0.7.0-SNAPSHOT</version>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.ovsdb</groupId>
59       <artifactId>ovsdb_northbound</artifactId>
60       <version>0.6.0-SNAPSHOT</version>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.ovsdb</groupId>
64       <artifactId>ovsdb_plugin</artifactId>
65       <version>1.0.0-SNAPSHOT</version>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>distribution.opendaylight</artifactId>
70       <version>0.1.2-SNAPSHOT</version>
71       <classifier>osgipackage</classifier>
72       <type>zip</type>
73       <!-- Make sure this isn't included on any classpath-->
74       <scope>provided</scope>
75     </dependency>
76   </dependencies>
77   <build>
78     <resources>
79       <resource>
80         <directory>${basedir}/src/main/resources</directory>
81       </resource>
82       <resource>
83         <filtering>true</filtering>
84         <directory>${project.build.directory}/generated-resources</directory>
85       </resource>
86     </resources>
87     <plugins>
88       <plugin>
89         <artifactId>maven-assembly-plugin</artifactId>
90         <executions>
91           <execution>
92             <id>distro-assembly</id>
93             <goals>
94               <goal>single</goal>
95             </goals>
96             <phase>package</phase>
97             <configuration>
98               <descriptors>
99                 <descriptor>src/assemble/bin.xml</descriptor>
100               </descriptors>
101             </configuration>
102           </execution>
103         </executions>
104       </plugin>
105       <plugin>
106         <groupId>org.apache.maven.plugins</groupId>
107         <artifactId>maven-dependency-plugin</artifactId>
108         <version>2.8</version>
109         <executions>
110           <execution>
111             <id>unpack-shared-resources</id>
112             <goals>
113               <goal>unpack-dependencies</goal>
114             </goals>
115             <phase>generate-resources</phase>
116             <configuration>
117               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
118               <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
119               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
120               <excludeTransitive>true</excludeTransitive>
121               <ignorePermissions>false</ignorePermissions>
122             </configuration>
123           </execution>
124           <execution>
125             <id>unpack-provided-configs</id>
126             <goals>
127               <goal>unpack-dependencies</goal>
128             </goals>
129             <phase>generate-resources</phase>
130             <configuration>
131               <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
132               <includeArtifactIds>openflowplugin-controller-config</includeArtifactIds>
133               <includes>**\/*.xml</includes>
134               <excludeTransitive>true</excludeTransitive>
135               <ignorePermissions>false</ignorePermissions>
136             </configuration>
137           </execution>
138         </executions>
139       </plugin>
140     </plugins>
141   </build>
142
143   <scm>
144     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
145     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
146     <tag>HEAD</tag>
147     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
148   </scm>
149 </project>