Adding OVS Openflow NX extensions bundles to the distribution.
[integration.git] / distributions / base / 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" 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">
6   <modelVersion>4.0.0</modelVersion>
7   <parent>
8     <groupId>org.opendaylight.integration</groupId>
9     <artifactId>distributions</artifactId>
10     <version>0.2.0-SNAPSHOT</version>
11     <relativePath>../</relativePath>
12   </parent>
13
14   <artifactId>distributions-base</artifactId>
15   <packaging>pom</packaging>
16   <name>OpenDaylight Base Edition</name>
17   <dependencies>
18     <dependency>
19       <groupId>org.opendaylight.controller</groupId>
20       <artifactId>distribution.opendaylight</artifactId>
21       <version>0.1.2-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     <!-- ovsdb -->
28     <dependency>
29       <groupId>org.opendaylight.ovsdb</groupId>
30       <artifactId>library</artifactId>
31       <version>1.0.0-SNAPSHOT</version>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.ovsdb</groupId>
35       <artifactId>plugin</artifactId>
36       <version>1.0.0-SNAPSHOT</version>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.ovsdb</groupId>
40       <artifactId>northbound</artifactId>
41       <version>0.6.0-SNAPSHOT</version>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.ovsdb</groupId>
45       <artifactId>schema.openvswitch</artifactId>
46       <version>1.0.0-SNAPSHOT</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.ovsdb</groupId>
50       <artifactId>schema.hardwarevtep</artifactId>
51       <version>1.0.0-SNAPSHOT</version>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.ovsdb</groupId>
55       <artifactId>of-extension.nx-ofjava</artifactId>
56       <version>1.0.0-SNAPSHOT</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.ovsdb</groupId>
60       <artifactId>of-extension.nx-sal</artifactId>
61       <version>1.0.0-SNAPSHOT</version>
62     </dependency>
63     
64     <!-- openflowplugin -->
65     <dependency>
66       <groupId>org.opendaylight.openflowplugin</groupId>
67       <artifactId>openflowplugin-api</artifactId>
68       <version>0.0.3-SNAPSHOT</version>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.openflowplugin</groupId>
72       <artifactId>openflowplugin-extension-api</artifactId>
73       <version>0.0.3-SNAPSHOT</version>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.openflowplugin</groupId>
77       <artifactId>openflowplugin</artifactId>
78       <version>0.0.3-SNAPSHOT</version>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.openflowplugin</groupId>
82       <artifactId>openflowplugin-controller-config</artifactId>
83       <version>0.0.3-SNAPSHOT</version>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.openflowplugin</groupId>
87       <artifactId>openflowjava-extension-nicira-api</artifactId>
88       <version>0.0.3-SNAPSHOT</version>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.openflowplugin</groupId>
92       <artifactId>openflowjava-extension-nicira</artifactId>
93       <version>0.0.3-SNAPSHOT</version>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.openflowplugin</groupId>
97       <artifactId>openflowplugin-extension-api</artifactId>
98       <version>0.0.3-SNAPSHOT</version>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.openflowplugin</groupId>
102       <artifactId>openflowplugin-extension-nicira</artifactId>
103       <version>0.0.3-SNAPSHOT</version>
104     </dependency>
105
106     <!-- openflowjava -->
107     <dependency>
108       <groupId>org.opendaylight.openflowjava</groupId>
109       <artifactId>openflow-protocol-impl</artifactId>
110       <version>0.5-SNAPSHOT</version>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.openflowjava</groupId>
114       <artifactId>openflow-protocol-api</artifactId>
115       <version>0.5-SNAPSHOT</version>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.openflowjava</groupId>
119       <artifactId>openflow-protocol-spi</artifactId>
120       <version>0.5-SNAPSHOT</version>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.openflowjava</groupId>
124       <artifactId>util</artifactId>
125       <version>0.5-SNAPSHOT</version>
126     </dependency>
127
128     <!-- legacy openflow plugin -->
129     <dependency>
130       <groupId>org.opendaylight.controller</groupId>
131       <artifactId>protocol_plugins.openflow</artifactId>
132       <version>0.4.2-SNAPSHOT</version>
133     </dependency>
134     <dependency>
135       <groupId>org.opendaylight.controller.thirdparty</groupId>
136       <artifactId>org.openflow.openflowj</artifactId>
137       <version>1.0.2</version>
138     </dependency>
139
140   </dependencies>
141   <build>
142     <resources>
143       <resource>
144         <directory>${basedir}/src/main/resources</directory>
145       </resource>
146       <resource>
147         <directory>${project.build.directory}/generated-resources</directory>
148         <filtering>true</filtering>
149       </resource>
150     </resources>
151     <plugins>
152       <plugin>
153         <groupId>org.apache.maven.plugins</groupId>
154         <artifactId>maven-dependency-plugin</artifactId>
155         <version>2.8</version>
156         <executions>
157           <execution>
158             <id>unpack-shared-resources</id>
159             <goals>
160               <goal>unpack-dependencies</goal>
161             </goals>
162             <phase>generate-resources</phase>
163             <configuration>
164              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
165              <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
166              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
167              <excludeTransitive>true</excludeTransitive>
168              <ignorePermissions>false</ignorePermissions>
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, openflowjava-extension-nicira, openflowjava-extension-nicira-api,
181                openflowplugin-extension-nicira, of-extension.nx-ofjava, of-extension.nx-sal
182              </includeArtifactIds>
183              <includes>**\/*.xml</includes>
184              <excludeTransitive>true</excludeTransitive>
185              <ignorePermissions>false</ignorePermissions>
186             </configuration>
187           </execution>
188         </executions>
189       </plugin>
190       <plugin>
191         <artifactId>maven-assembly-plugin</artifactId>
192         <executions>
193           <execution>
194             <id>distro-assembly</id>
195             <phase>package</phase>
196             <goals>
197               <goal>single</goal>
198             </goals>
199             <configuration>
200               <descriptors>
201                 <descriptor>src/assemble/bin.xml</descriptor>
202               </descriptors>
203             </configuration>
204           </execution>
205         </executions>
206       </plugin>
207     </plugins>
208   </build>
209 </project>