additional config disribution (BUG 541)
[openflowplugin.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <prerequisites>
5         <maven>3.0</maven>
6     </prerequisites>
7     <groupId>org.opendaylight.openflowplugin</groupId>
8     <artifactId>openflowplugin-parent</artifactId>
9     <version>0.0.3-SNAPSHOT</version>
10     <packaging>pom</packaging>
11
12     <scm>
13       <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
14       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
15       <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
16       <tag>HEAD</tag>
17     </scm>
18
19     <distributionManagement>
20       <!-- OpenDayLight Released artifact -->
21       <repository>
22         <id>opendaylight-release</id>
23         <url>${nexusproxy}/repositories/opendaylight.release/</url>
24       </repository>
25       <!-- OpenDayLight Snapshot artifact -->
26       <snapshotRepository>
27         <id>opendaylight-snapshot</id>
28         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
29       </snapshotRepository>
30       <!-- Site deployment -->
31       <!-- site>
32            <id>website</id>
33            <url>${sitedeploy}</url>
34            </site -->
35     </distributionManagement>
36
37     <properties>
38       <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
39       <slf4j.version>1.7.2</slf4j.version>
40       <logback.version>1.0.9</logback.version>
41       <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
42       <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
43       <controller.model.version>1.1-SNAPSHOT</controller.model.version>
44       <osgi.core.version>5.0.0</osgi.core.version>
45       <sal.api.version>0.8.1-SNAPSHOT</sal.api.version>
46       <sal.connection.api.version>0.1.2-SNAPSHOT</sal.connection.api.version>
47       <netconf.connector.version>0.2.5-SNAPSHOT</netconf.connector.version>
48       <config.manager.version>0.2.5-SNAPSHOT</config.manager.version>
49       <build.helper.version>1.8</build.helper.version>
50       <xtend.version>2.4.3</xtend.version>
51       <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
52       <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
53       <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
54       <maven.bundle.version>2.4.0</maven.bundle.version>
55     </properties>
56
57     <dependencyManagement>
58       <dependencies>
59         <dependency>
60           <groupId>org.javassist</groupId>
61           <artifactId>javassist</artifactId>
62           <version>3.17.1-GA</version>
63         </dependency>
64
65         <dependency>
66           <groupId>com.google.guava</groupId>
67           <artifactId>guava</artifactId>
68           <version>14.0.1</version>
69         </dependency>
70         <dependency>
71           <groupId>equinoxSDK381</groupId>
72           <artifactId>org.eclipse.osgi</artifactId>
73           <version>3.8.1.v20120830-144521</version>
74         </dependency>
75         <dependency>
76           <groupId>equinoxSDK381</groupId>
77           <artifactId>org.eclipse.equinox.console</artifactId>
78           <version>1.0.0.v20120522-1841</version>
79         </dependency>
80         <dependency>
81           <groupId>equinoxSDK381</groupId>
82           <artifactId>org.apache.felix.gogo.command</artifactId>
83           <version>0.8.0.v201108120515</version>
84         </dependency>
85         <dependency>
86           <groupId>equinoxSDK381</groupId>
87           <artifactId>org.apache.felix.gogo.runtime</artifactId>
88           <version>0.8.0.v201108120515</version>
89         </dependency>
90         <dependency>
91           <groupId>equinoxSDK381</groupId>
92           <artifactId>org.apache.felix.gogo.shell</artifactId>
93           <version>0.8.0.v201110170705</version>
94         </dependency>
95
96         <dependency>
97           <groupId>org.opendaylight.openflowjava</groupId>
98           <artifactId>openflow-protocol-impl</artifactId>
99           <version>${openflowjava.version}</version>
100         </dependency>
101         <dependency>
102           <groupId>org.opendaylight.openflowjava</groupId>
103           <artifactId>openflow-protocol-api</artifactId>
104           <version>${openflowjava.version}</version>
105         </dependency>
106         <dependency>
107           <groupId>org.opendaylight.openflowjava</groupId>
108           <artifactId>openflow-protocol-spi</artifactId>
109           <version>${openflowjava.version}</version>
110         </dependency>
111         <dependency>
112           <groupId>org.opendaylight.openflowjava</groupId>
113           <artifactId>simple-client</artifactId>
114           <version>${openflowjava.version}</version>
115         </dependency>
116         <dependency>
117           <groupId>org.opendaylight.controller.model</groupId>
118           <artifactId>model-flow-base</artifactId>
119           <version>${controller.model.version}</version>
120         </dependency>
121         <dependency>
122           <groupId>org.opendaylight.controller.model</groupId>
123           <artifactId>model-flow-management</artifactId>
124           <version>${controller.model.version}</version>
125         </dependency>
126         <dependency>
127           <groupId>org.opendaylight.controller.model</groupId>
128           <artifactId>model-flow-service</artifactId>
129           <version>${controller.model.version}</version>
130         </dependency>
131         <dependency>
132           <groupId>org.opendaylight.controller.model</groupId>
133           <artifactId>model-flow-statistics</artifactId>
134           <version>${controller.model.version}</version>
135         </dependency>
136         <dependency>
137           <groupId>org.opendaylight.controller.model</groupId>
138           <artifactId>model-inventory</artifactId>
139           <version>${controller.model.version}</version>
140         </dependency>
141         <dependency>
142           <groupId>org.opendaylight.controller</groupId>
143           <artifactId>sal-binding-api</artifactId>
144           <version>${controller.model.version}</version>
145         </dependency>
146         <dependency>
147             <groupId>org.opendaylight.controller</groupId>
148             <artifactId>sal</artifactId>
149             <version>${sal.api.version}</version>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.controller</groupId>
153             <artifactId>sal.connection</artifactId>
154             <version>${sal.connection.api.version}</version>
155         </dependency>
156         <dependency>
157             <groupId>org.opendaylight.controller</groupId>
158             <artifactId>sal-common-util</artifactId>
159             <version>${controller.model.version}</version>
160         </dependency>
161
162         <!-- IT -->
163         <dependency>
164             <groupId>org.opendaylight.controller</groupId>
165             <artifactId>config-netconf-connector</artifactId>
166             <version>${netconf.connector.version}</version>
167         </dependency>
168         <dependency>
169             <groupId>org.opendaylight.controller</groupId>
170             <artifactId>sal-binding-it</artifactId>
171             <version>${controller.model.version}</version>
172         </dependency>
173         <dependency>
174             <groupId>org.opendaylight.controller</groupId>
175             <artifactId>sal-binding-broker-impl</artifactId>
176             <version>${controller.model.version}</version>
177         </dependency>
178         <dependency>
179             <groupId>org.opendaylight.controller</groupId>
180             <artifactId>config-manager</artifactId>
181             <version>${config.manager.version}</version>
182         </dependency>
183         
184
185         <dependency>
186             <groupId>xml-apis</groupId>
187             <artifactId>xml-apis</artifactId>
188             <version>1.4.01</version>
189         </dependency>
190
191         <dependency>
192           <groupId>org.slf4j</groupId>
193           <artifactId>slf4j-log4j12</artifactId>
194           <version>${slf4j.version}</version>
195         </dependency>
196         <dependency>
197           <groupId>org.slf4j</groupId>
198           <artifactId>log4j-over-slf4j</artifactId>
199           <version>${slf4j.version}</version>
200         </dependency>
201         <dependency>
202           <groupId>ch.qos.logback</groupId>
203           <artifactId>logback-core</artifactId>
204           <version>${logback.version}</version>
205         </dependency>
206         <dependency>
207           <groupId>ch.qos.logback</groupId>
208           <artifactId>logback-classic</artifactId>
209           <version>${logback.version}</version>
210         </dependency>
211
212         <dependency>
213             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
214             <artifactId>xtend-lib-osgi</artifactId>
215             <version>2.4.3</version>
216             <scope>test</scope>
217         </dependency>
218
219         <dependency>
220           <groupId>org.osgi</groupId>
221           <artifactId>org.osgi.core</artifactId>
222           <version>${osgi.core.version}</version>
223           <scope>provided</scope>
224         </dependency>
225
226         <dependency>
227             <groupId>commons-lang</groupId>
228             <artifactId>commons-lang</artifactId>
229             <version>2.6</version>
230         </dependency>
231         <dependency>
232             <groupId>commons-codec</groupId>
233             <artifactId>commons-codec</artifactId>
234             <version>1.7</version>
235         </dependency>
236
237         <dependency>
238           <groupId>junit</groupId>
239           <artifactId>junit</artifactId>
240           <version>4.11</version>
241           <scope>test</scope>
242         </dependency>
243         <dependency>
244           <groupId>org.mockito</groupId>
245             <artifactId>mockito-all</artifactId>
246             <version>1.9.5</version>
247             <scope>test</scope>
248         </dependency>
249       </dependencies>
250     </dependencyManagement>
251
252     <build>
253         <plugins>
254           <plugin>
255              <groupId>org.codehaus.mojo</groupId>
256              <artifactId>build-helper-maven-plugin</artifactId>
257           </plugin>
258         </plugins>
259         <pluginManagement>
260           <plugins>
261             <plugin>
262               <groupId>org.apache.maven.plugins</groupId>
263               <artifactId>maven-compiler-plugin</artifactId>
264               <configuration>
265                 <source>1.7</source>
266                 <target>1.7</target>
267               </configuration>
268             </plugin>
269             <plugin>
270               <groupId>org.ops4j.pax.exam</groupId>
271               <artifactId>maven-paxexam-plugin</artifactId>
272               <version>1.2.4</version>
273             </plugin>
274             <plugin>
275               <groupId>org.eclipse.xtend</groupId>
276               <artifactId>xtend-maven-plugin</artifactId>
277               <version>${xtend.version}</version>
278               <executions>
279                   <execution>
280                       <goals>
281                           <goal>compile</goal>
282                       </goals>
283                       <configuration>
284                           <outputDirectory>${xtend.dstdir}</outputDirectory>
285                       </configuration>
286                   </execution>
287               </executions>
288           </plugin>
289           <plugin>
290               <artifactId>maven-clean-plugin</artifactId>
291               <configuration>
292                   <filesets>
293                       <fileset>
294                           <directory>${xtend.dstdir}</directory>
295                           <includes>
296                               <include>**</include>
297                           </includes>
298                       </fileset>
299                       <fileset>
300                           <directory>${jmxGeneratorPath}</directory>
301                           <includes>
302                               <include>**</include>
303                           </includes>
304                       </fileset>
305                       <fileset>
306                           <directory>${salGeneratorPath}</directory>
307                           <includes>
308                               <include>**</include>
309                           </includes>
310                       </fileset>
311                   </filesets>
312               </configuration>
313             </plugin>
314           <plugin>
315              <groupId>org.codehaus.mojo</groupId>
316              <artifactId>build-helper-maven-plugin</artifactId>
317              <version>${build.helper.version}</version>
318              <executions>
319                 <execution>
320                    <id>add-source</id>
321                    <phase>generate-sources</phase>
322                    <goals>
323                       <goal>add-source</goal>
324                    </goals>
325                    <configuration>
326                       <sources>
327                          <source>${jmxGeneratorPath}</source>
328                          <source>${salGeneratorPath}</source>
329                          <source>${xtend.dstdir}</source>
330                       </sources>
331                    </configuration>
332                 </execution>
333              </executions>
334             </plugin>
335             <plugin>
336               <groupId>org.opendaylight.yangtools</groupId>
337               <artifactId>yang-maven-plugin</artifactId>
338               <version>0.6.2-SNAPSHOT</version>
339             </plugin>
340             <plugin>
341               <groupId>org.apache.felix</groupId>
342               <artifactId>maven-bundle-plugin</artifactId>
343               <version>${maven.bundle.version}</version>
344               <extensions>true</extensions>
345               <configuration>
346                 <instructions>
347                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
348                 </instructions>
349                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
350               </configuration>
351             </plugin>
352           </plugins>
353         </pluginManagement>
354     </build>
355
356     <profiles>
357       <profile>
358         <id>findbugsReport</id>
359         <reporting>
360           <plugins>
361             <plugin>
362               <groupId>org.apache.maven.plugins</groupId>
363               <artifactId>maven-project-info-reports-plugin</artifactId>
364               <version>2.7</version>
365               <configuration>
366                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
367                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
368               </configuration>
369               <reportSets>
370                 <reportSet>
371                   <reports>
372                     <report>index</report>
373                     <report>project-team</report>
374                     <report>license</report>
375                     <report>mailing-list</report>
376                     <report>plugin-management</report>
377                     <report>cim</report>
378                     <report>issue-tracking</report>
379                     <report>scm</report>
380                     <report>summary</report>
381                   </reports>
382                 </reportSet>
383               </reportSets>
384             </plugin>
385             <plugin>
386               <groupId>org.codehaus.mojo</groupId>
387               <artifactId>findbugs-maven-plugin</artifactId>
388               <version>2.5.2</version>
389             </plugin>
390             <plugin>
391               <groupId>org.apache.maven.plugins</groupId>
392               <artifactId>maven-pmd-plugin</artifactId>
393               <version>3.0.1</version>
394             </plugin>
395             <plugin>
396               <groupId>org.apache.maven.plugins</groupId>
397               <artifactId>maven-jxr-plugin</artifactId>
398               <version>2.3</version>
399             </plugin>
400           </plugins>
401         </reporting>
402       </profile>
403     </profiles>
404
405     <repositories>
406       <repository>
407         <id>opendaylight-release</id>
408         <name>opendaylight-release</name>
409         <url>${nexusproxy}/repositories/opendaylight.release/</url>
410         <snapshots>
411           <enabled>false</enabled>
412         </snapshots>
413       </repository>
414       <repository>
415         <id>opendaylight-snapshot</id>
416         <name>opendaylight-snapshot</name>
417         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
418         <releases>
419           <enabled>false</enabled>
420         </releases>
421       </repository>
422       <repository>
423         <id>public</id>
424         <name>public</name>
425         <url>${nexusproxy}/groups/public/</url>
426         <snapshots>
427           <enabled>false</enabled>
428         </snapshots>
429       </repository>
430
431     </repositories>
432
433     <pluginRepositories>
434       <pluginRepository>
435         <id>opendaylight-central</id>
436         <name>opendaylight-central</name>
437         <url>${nexusproxy}/repositories/public/</url>
438         <snapshots>
439           <enabled>false</enabled>
440         </snapshots>
441       </pluginRepository>
442       <pluginRepository>
443         <id>opendaylight-snapshot</id>
444         <name>central2</name>
445         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
446         <releases>
447           <enabled>false</enabled>
448         </releases>
449       </pluginRepository>
450     </pluginRepositories>
451
452     <modules>
453       <module>openflowplugin</module>
454       <module>distribution/base</module>
455       <module>openflowplugin-controller-config</module>
456       <module>openflowplugin-it</module>
457       <module>test-provider</module>
458       <module>drop-test</module>
459       <module>samples/sample-consumer</module>
460       <module>samples/learning-switch</module>
461     </modules>
462 </project>