Merge "Add MD-SAL Adapter for the OVSDB Plugin"
[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>commons</artifactId>
11     <version>1.2.0-SNAPSHOT</version>
12     <relativePath>../../commons/parent/</relativePath>
13   </parent>
14
15   <artifactId>distribution.ovsdb</artifactId>
16   <packaging>pom</packaging>
17   <name>OpenDaylight OVSDB Distribution</name>
18
19   <properties>
20     <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
21     <openflowplugin.version>0.0.3-SNAPSHOT</openflowplugin.version>
22     <openflowj.version>1.0.2</openflowj.version>
23   </properties>
24
25   <dependencies>
26     <!-- openflowjava -->
27     <dependency>
28       <groupId>org.opendaylight.openflowjava</groupId>
29       <artifactId>util</artifactId>
30       <version>${openflowjava.version}</version>
31     </dependency>
32     <dependency>
33       <groupId>org.opendaylight.openflowjava</groupId>
34       <artifactId>openflow-protocol-api</artifactId>
35       <version>${openflowjava.version}</version>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.openflowjava</groupId>
39       <artifactId>openflow-protocol-impl</artifactId>
40       <version>${openflowjava.version}</version>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.openflowjava</groupId>
44       <artifactId>openflow-protocol-spi</artifactId>
45       <version>${openflowjava.version}</version>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller.thirdparty</groupId>
49       <artifactId>org.openflow.openflowj</artifactId>
50       <version>${openflowj.version}</version>
51     </dependency>
52     <!-- openflowplugin -->
53     <dependency>
54       <groupId>org.opendaylight.openflowplugin</groupId>
55       <artifactId>openflowplugin</artifactId>
56       <version>${openflowplugin.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.openflowplugin</groupId>
60       <artifactId>openflowplugin-api</artifactId>
61       <version>${openflowplugin.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.openflowplugin</groupId>
65       <artifactId>openflowplugin-controller-config</artifactId>
66       <version>${openflowplugin.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.ovsdb</groupId>
70       <artifactId>library</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.ovsdb</groupId>
74       <artifactId>openstack.net-virt</artifactId>
75     </dependency>
76     <dependency>
77       <groupId>org.opendaylight.ovsdb</groupId>
78       <artifactId>openstack.net-virt-providers</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.ovsdb</groupId>
82       <artifactId>northbound</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.ovsdb</groupId>
86       <artifactId>plugin</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.ovsdb</groupId>
90       <artifactId>plugin-mdsal-adapter</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.ovsdb</groupId>
94       <artifactId>schema.openvswitch</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.ovsdb</groupId>
98       <artifactId>schema.hardwarevtep</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.controller</groupId>
102       <artifactId>distribution.opendaylight</artifactId>
103       <version>0.1.2-SNAPSHOT</version>
104       <classifier>osgipackage</classifier>
105       <type>zip</type>
106       <!-- Make sure this isn't included on any classpath-->
107       <scope>provided</scope>
108     </dependency>
109   </dependencies>
110   <build>
111     <resources>
112       <resource>
113         <directory>${basedir}/src/main/resources</directory>
114       </resource>
115       <resource>
116         <filtering>true</filtering>
117         <directory>${project.build.directory}/generated-resources</directory>
118       </resource>
119     </resources>
120     <plugins>
121       <plugin>
122         <artifactId>maven-assembly-plugin</artifactId>
123         <executions>
124           <execution>
125             <id>distro-assembly</id>
126             <goals>
127               <goal>single</goal>
128             </goals>
129             <phase>package</phase>
130             <configuration>
131               <descriptors>
132                 <descriptor>src/assemble/bin.xml</descriptor>
133               </descriptors>
134             </configuration>
135           </execution>
136         </executions>
137       </plugin>
138       <plugin>
139         <groupId>org.apache.maven.plugins</groupId>
140         <artifactId>maven-dependency-plugin</artifactId>
141         <version>2.8</version>
142         <executions>
143           <execution>
144             <id>unpack-shared-resources</id>
145             <goals>
146               <goal>unpack-dependencies</goal>
147             </goals>
148             <phase>generate-resources</phase>
149             <configuration>
150               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
151               <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
152               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
153               <excludeTransitive>true</excludeTransitive>
154               <ignorePermissions>false</ignorePermissions>
155             </configuration>
156           </execution>
157           <execution>
158             <id>unpack-provided-configs</id>
159             <goals>
160               <goal>unpack-dependencies</goal>
161             </goals>
162             <phase>generate-resources</phase>
163             <configuration>
164               <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
165               <includeArtifactIds>openflowplugin-controller-config</includeArtifactIds>
166               <includes>**\/*.xml</includes>
167               <excludeTransitive>true</excludeTransitive>
168               <ignorePermissions>false</ignorePermissions>
169             </configuration>
170           </execution>
171         </executions>
172       </plugin>
173     </plugins>
174   </build>
175   <scm>
176     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
177     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
178     <tag>HEAD</tag>
179     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
180   </scm>
181 </project>