b7837d41a82a1fe39d154a0f53a97fce9cc3b85a
[integration/distribution.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.3.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.2.0-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.1.0-SNAPSHOT</version>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.ovsdb</groupId>
35       <artifactId>plugin</artifactId>
36       <version>1.1.0-SNAPSHOT</version>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.ovsdb</groupId>
40       <artifactId>northbound</artifactId>
41       <version>0.7.0-SNAPSHOT</version>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.ovsdb</groupId>
45       <artifactId>schema.openvswitch</artifactId>
46       <version>1.1.0-SNAPSHOT</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.ovsdb</groupId>
50       <artifactId>schema.hardwarevtep</artifactId>
51       <version>1.1.0-SNAPSHOT</version>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.ovsdb</groupId>
55       <artifactId>of-extension.nx-ofjava</artifactId>
56       <version>1.1.0-SNAPSHOT</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.ovsdb</groupId>
60       <artifactId>of-extension.nx-sal</artifactId>
61       <version>1.1.0-SNAPSHOT</version>
62     </dependency>
63     
64     <!-- openflowplugin -->
65     <dependency>
66       <groupId>org.opendaylight.openflowplugin</groupId>
67       <artifactId>openflowplugin-api</artifactId>
68       <version>0.1.0-SNAPSHOT</version>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.openflowplugin</groupId>
72       <artifactId>openflowplugin-extension-api</artifactId>
73       <version>0.1.0-SNAPSHOT</version>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.openflowplugin</groupId>
77       <artifactId>openflowplugin</artifactId>
78       <version>0.1.0-SNAPSHOT</version>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.openflowplugin</groupId>
82       <artifactId>openflowplugin-controller-config</artifactId>
83       <version>0.1.0-SNAPSHOT</version>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.openflowplugin</groupId>
87       <artifactId>openflowjava-extension-nicira-api</artifactId>
88       <version>0.1.0-SNAPSHOT</version>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.openflowplugin</groupId>
92       <artifactId>openflowjava-extension-nicira</artifactId>
93       <version>0.1.0-SNAPSHOT</version>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.openflowplugin</groupId>
97       <artifactId>openflowplugin-extension-nicira</artifactId>
98       <version>0.1.0-SNAPSHOT</version>
99     </dependency>
100
101     <!-- openflowjava -->
102     <dependency>
103       <groupId>org.opendaylight.openflowjava</groupId>
104       <artifactId>openflow-protocol-impl</artifactId>
105       <version>0.6.0-SNAPSHOT</version>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.openflowjava</groupId>
109       <artifactId>openflow-protocol-api</artifactId>
110       <version>0.6.0-SNAPSHOT</version>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.openflowjava</groupId>
114       <artifactId>openflow-protocol-spi</artifactId>
115       <version>0.6.0-SNAPSHOT</version>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.openflowjava</groupId>
119       <artifactId>util</artifactId>
120       <version>0.6.0-SNAPSHOT</version>
121     </dependency>
122
123     <!-- legacy openflow plugin -->
124     <dependency>
125       <groupId>org.opendaylight.controller</groupId>
126       <artifactId>protocol_plugins.openflow</artifactId>
127       <version>0.5.0-SNAPSHOT</version>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.controller.thirdparty</groupId>
131       <artifactId>org.openflow.openflowj</artifactId>
132       <version>1.0.2</version>
133     </dependency>
134
135   </dependencies>
136   <build>
137     <resources>
138       <resource>
139         <directory>${basedir}/src/main/resources</directory>
140       </resource>
141       <resource>
142         <directory>${project.build.directory}/generated-resources</directory>
143         <filtering>true</filtering>
144       </resource>
145     </resources>
146     <plugins>
147       <plugin>
148         <groupId>org.apache.maven.plugins</groupId>
149         <artifactId>maven-dependency-plugin</artifactId>
150         <version>2.8</version>
151         <executions>
152           <execution>
153             <id>unpack-shared-resources</id>
154             <goals>
155               <goal>unpack-dependencies</goal>
156             </goals>
157             <phase>generate-resources</phase>
158             <configuration>
159              <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
160              <includeArtifactIds>distribution.opendaylight</includeArtifactIds>
161              <includeGroupIds>org.opendaylight.controller</includeGroupIds>
162              <excludeTransitive>true</excludeTransitive>
163              <ignorePermissions>false</ignorePermissions>
164             </configuration>
165           </execution>
166           <execution>
167             <id>unpack-provided-configs</id>
168             <goals>
169               <goal>unpack-dependencies</goal>
170             </goals>
171             <phase>generate-resources</phase>
172             <configuration>
173              <outputDirectory>${project.build.directory}/generated-resources/opendaylight/configuration</outputDirectory>
174              <includeArtifactIds>
175                openflowplugin-controller-config, openflowjava-extension-nicira, openflowjava-extension-nicira-api,
176                openflowplugin-extension-nicira, of-extension.nx-ofjava, of-extension.nx-sal
177              </includeArtifactIds>
178              <includes>**\/*.xml</includes>
179              <excludeTransitive>true</excludeTransitive>
180              <ignorePermissions>false</ignorePermissions>
181             </configuration>
182           </execution>
183         </executions>
184       </plugin>
185       <plugin>
186         <artifactId>maven-assembly-plugin</artifactId>
187         <executions>
188           <execution>
189             <id>distro-assembly</id>
190             <phase>package</phase>
191             <goals>
192               <goal>single</goal>
193             </goals>
194             <configuration>
195               <descriptors>
196                 <descriptor>src/assemble/bin.xml</descriptor>
197               </descriptors>
198             </configuration>
199           </execution>
200         </executions>
201       </plugin>
202     </plugins>
203   </build>
204 </project>