Merge "Adjusted OVSDB features to enable the Pax-exam tests"
[ovsdb.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-extension-api</artifactId>
66       <version>${openflowplugin.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.openflowplugin</groupId>
70       <artifactId>openflowplugin-extension-nicira</artifactId>
71       <version>${openflowplugin.version}</version>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.openflowplugin</groupId>
75       <artifactId>openflowjava-extension-nicira-api</artifactId>
76       <version>${openflowplugin.version}</version>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.openflowplugin</groupId>
80       <artifactId>openflowjava-extension-nicira</artifactId>
81       <version>${openflowplugin.version}</version>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.openflowplugin</groupId>
85       <artifactId>openflowplugin-controller-config</artifactId>
86       <version>${openflowplugin.version}</version>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.ovsdb</groupId>
90       <artifactId>of-extension.nx-ofjava</artifactId>
91       <version>1.0.0-SNAPSHOT</version>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.ovsdb</groupId>
95       <artifactId>of-extension.nx-sal</artifactId>
96       <version>1.0.0-SNAPSHOT</version>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.ovsdb</groupId>
100       <artifactId>library</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.ovsdb</groupId>
104       <artifactId>openstack.net-virt</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.ovsdb</groupId>
108       <artifactId>openstack.net-virt-providers</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.ovsdb</groupId>
112       <artifactId>northbound</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.ovsdb</groupId>
116       <artifactId>plugin</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.ovsdb</groupId>
120       <artifactId>plugin-mdsal-adapter</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.ovsdb</groupId>
124       <artifactId>schema.openvswitch</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.ovsdb</groupId>
128       <artifactId>schema.hardwarevtep</artifactId>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.controller</groupId>
132       <artifactId>distribution.opendaylight</artifactId>
133       <version>0.1.2-SNAPSHOT</version>
134       <classifier>osgipackage</classifier>
135       <type>zip</type>
136       <!-- Make sure this isn't included on any classpath-->
137       <scope>provided</scope>
138     </dependency>
139   </dependencies>
140   <build>
141     <resources>
142       <resource>
143         <directory>${basedir}/src/main/resources</directory>
144       </resource>
145       <resource>
146         <filtering>true</filtering>
147         <directory>${project.build.directory}/generated-resources</directory>
148       </resource>
149     </resources>
150     <plugins>
151       <plugin>
152         <groupId>org.apache.maven.plugins</groupId>
153         <artifactId>maven-dependency-plugin</artifactId>
154         <version>2.8</version>
155         <executions>
156           <execution>
157             <id>unpack-shared-resources</id>
158             <goals>
159               <goal>unpack-dependencies</goal>
160             </goals>
161             <phase>generate-resources</phase>
162             <configuration>
163               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
164               <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
165               <includeGroupIds>org.opendaylight.controller</includeGroupIds>
166               <excludeTransitive>true</excludeTransitive>
167               <ignorePermissions>false</ignorePermissions>
168               <skip>${skip.distribution}</skip>
169             </configuration>
170           </execution>
171           <execution>
172             <id>unpack-provided-configs</id>
173             <goals>
174               <goal>unpack-dependencies</goal>
175             </goals>
176             <phase>generate-resources</phase>
177             <configuration>
178               <outputDirectory>${project.build.directory}/generated-resources/opendaylight/configuration</outputDirectory>
179               <includeArtifactIds>
180                 openflowplugin-controller-config, test-extension, openflowjava-extension-nicira, openflowjava-extension-nicira-api, openflowplugin-extension-nicira,
181                 of-extension.nx-ofjava, of-extension.nx-sal
182              </includeArtifactIds>
183               <includes>**\/*.xml</includes>
184               <excludeTransitive>true</excludeTransitive>
185               <ignorePermissions>false</ignorePermissions>
186               <skip>${skip.distribution}</skip>
187             </configuration>
188           </execution>
189         </executions>
190       </plugin>
191       <plugin>
192         <artifactId>maven-assembly-plugin</artifactId>
193         <executions>
194           <execution>
195             <id>distro-assembly</id>
196             <goals>
197               <goal>single</goal>
198             </goals>
199             <phase>package</phase>
200             <configuration>
201               <descriptors>
202                 <descriptor>src/assemble/bin.xml</descriptor>
203               </descriptors>
204               <skipAssembly>${skip.distribution}</skipAssembly>
205             </configuration>
206           </execution>
207         </executions>
208       </plugin>
209     </plugins>
210   </build>
211   <scm>
212     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
213     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
214     <tag>HEAD</tag>
215     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
216   </scm>
217 </project>