Bug 651 - cleanup eclipse errors in openflowplugin
[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     </properties>
55
56     <dependencyManagement>
57       <dependencies>
58         <dependency>
59           <groupId>org.javassist</groupId>
60           <artifactId>javassist</artifactId>
61           <version>3.17.1-GA</version>
62         </dependency>
63
64         <dependency>
65           <groupId>com.google.guava</groupId>
66           <artifactId>guava</artifactId>
67           <version>14.0.1</version>
68         </dependency>
69         <dependency>
70           <groupId>equinoxSDK381</groupId>
71           <artifactId>org.eclipse.osgi</artifactId>
72           <version>3.8.1.v20120830-144521</version>
73         </dependency>
74         <dependency>
75           <groupId>equinoxSDK381</groupId>
76           <artifactId>org.eclipse.equinox.console</artifactId>
77           <version>1.0.0.v20120522-1841</version>
78         </dependency>
79         <dependency>
80           <groupId>equinoxSDK381</groupId>
81           <artifactId>org.apache.felix.gogo.command</artifactId>
82           <version>0.8.0.v201108120515</version>
83         </dependency>
84         <dependency>
85           <groupId>equinoxSDK381</groupId>
86           <artifactId>org.apache.felix.gogo.runtime</artifactId>
87           <version>0.8.0.v201108120515</version>
88         </dependency>
89         <dependency>
90           <groupId>equinoxSDK381</groupId>
91           <artifactId>org.apache.felix.gogo.shell</artifactId>
92           <version>0.8.0.v201110170705</version>
93         </dependency>
94
95         <dependency>
96           <groupId>org.opendaylight.openflowjava</groupId>
97           <artifactId>openflow-protocol-impl</artifactId>
98           <version>${openflowjava.version}</version>
99         </dependency>
100         <dependency>
101           <groupId>org.opendaylight.openflowjava</groupId>
102           <artifactId>openflow-protocol-api</artifactId>
103           <version>${openflowjava.version}</version>
104         </dependency>
105         <dependency>
106           <groupId>org.opendaylight.openflowjava</groupId>
107           <artifactId>openflow-protocol-spi</artifactId>
108           <version>${openflowjava.version}</version>
109         </dependency>
110         <dependency>
111           <groupId>org.opendaylight.openflowjava</groupId>
112           <artifactId>simple-client</artifactId>
113           <version>${openflowjava.version}</version>
114         </dependency>
115         <dependency>
116           <groupId>org.opendaylight.controller.model</groupId>
117           <artifactId>model-flow-base</artifactId>
118           <version>${controller.model.version}</version>
119         </dependency>
120         <dependency>
121           <groupId>org.opendaylight.controller.model</groupId>
122           <artifactId>model-flow-management</artifactId>
123           <version>${controller.model.version}</version>
124         </dependency>
125         <dependency>
126           <groupId>org.opendaylight.controller.model</groupId>
127           <artifactId>model-flow-service</artifactId>
128           <version>${controller.model.version}</version>
129         </dependency>
130         <dependency>
131           <groupId>org.opendaylight.controller.model</groupId>
132           <artifactId>model-flow-statistics</artifactId>
133           <version>${controller.model.version}</version>
134         </dependency>
135         <dependency>
136           <groupId>org.opendaylight.controller.model</groupId>
137           <artifactId>model-inventory</artifactId>
138           <version>${controller.model.version}</version>
139         </dependency>
140         <dependency>
141           <groupId>org.opendaylight.controller</groupId>
142           <artifactId>sal-binding-api</artifactId>
143           <version>${controller.model.version}</version>
144         </dependency>
145         <dependency>
146             <groupId>org.opendaylight.controller</groupId>
147             <artifactId>sal</artifactId>
148             <version>${sal.api.version}</version>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.controller</groupId>
152             <artifactId>sal.connection</artifactId>
153             <version>${sal.connection.api.version}</version>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.controller</groupId>
157             <artifactId>sal-common-util</artifactId>
158             <version>${controller.model.version}</version>
159         </dependency>
160
161         <!-- IT -->
162         <dependency>
163             <groupId>org.opendaylight.controller</groupId>
164             <artifactId>config-netconf-connector</artifactId>
165             <version>${netconf.connector.version}</version>
166         </dependency>
167         <dependency>
168             <groupId>org.opendaylight.controller</groupId>
169             <artifactId>sal-binding-it</artifactId>
170             <version>${controller.model.version}</version>
171         </dependency>
172         <dependency>
173             <groupId>org.opendaylight.controller</groupId>
174             <artifactId>sal-binding-broker-impl</artifactId>
175             <version>${controller.model.version}</version>
176         </dependency>
177         <dependency>
178             <groupId>org.opendaylight.controller</groupId>
179             <artifactId>config-manager</artifactId>
180             <version>${config.manager.version}</version>
181         </dependency>
182         
183
184         <dependency>
185             <groupId>xml-apis</groupId>
186             <artifactId>xml-apis</artifactId>
187             <version>1.4.01</version>
188         </dependency>
189
190         <dependency>
191           <groupId>org.slf4j</groupId>
192           <artifactId>slf4j-log4j12</artifactId>
193           <version>${slf4j.version}</version>
194         </dependency>
195         <dependency>
196           <groupId>org.slf4j</groupId>
197           <artifactId>log4j-over-slf4j</artifactId>
198           <version>${slf4j.version}</version>
199         </dependency>
200         <dependency>
201           <groupId>ch.qos.logback</groupId>
202           <artifactId>logback-core</artifactId>
203           <version>${logback.version}</version>
204         </dependency>
205         <dependency>
206           <groupId>ch.qos.logback</groupId>
207           <artifactId>logback-classic</artifactId>
208           <version>${logback.version}</version>
209         </dependency>
210
211         <dependency>
212             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
213             <artifactId>xtend-lib-osgi</artifactId>
214             <version>2.4.3</version>
215             <scope>test</scope>
216         </dependency>
217
218         <dependency>
219           <groupId>org.osgi</groupId>
220           <artifactId>org.osgi.core</artifactId>
221           <version>${osgi.core.version}</version>
222           <scope>provided</scope>
223         </dependency>
224
225         <dependency>
226             <groupId>commons-lang</groupId>
227             <artifactId>commons-lang</artifactId>
228             <version>2.6</version>
229         </dependency>
230         <dependency>
231             <groupId>commons-codec</groupId>
232             <artifactId>commons-codec</artifactId>
233             <version>1.7</version>
234         </dependency>
235
236         <dependency>
237           <groupId>junit</groupId>
238           <artifactId>junit</artifactId>
239           <version>4.11</version>
240           <scope>test</scope>
241         </dependency>
242         <dependency>
243           <groupId>org.mockito</groupId>
244             <artifactId>mockito-all</artifactId>
245             <version>1.9.5</version>
246             <scope>test</scope>
247         </dependency>
248       </dependencies>
249     </dependencyManagement>
250
251     <build>
252         <plugins>
253           <plugin>
254              <groupId>org.codehaus.mojo</groupId>
255              <artifactId>build-helper-maven-plugin</artifactId>
256           </plugin>
257         </plugins>
258         <pluginManagement>
259           <plugins>
260             <plugin>
261               <groupId>org.apache.maven.plugins</groupId>
262               <artifactId>maven-compiler-plugin</artifactId>
263               <configuration>
264                 <source>1.7</source>
265                 <target>1.7</target>
266               </configuration>
267             </plugin>
268             <plugin>
269               <groupId>org.ops4j.pax.exam</groupId>
270               <artifactId>maven-paxexam-plugin</artifactId>
271               <version>1.2.4</version>
272             </plugin>
273             <plugin>
274               <groupId>org.eclipse.xtend</groupId>
275               <artifactId>xtend-maven-plugin</artifactId>
276               <version>${xtend.version}</version>
277               <executions>
278                   <execution>
279                       <goals>
280                           <goal>compile</goal>
281                       </goals>
282                       <configuration>
283                           <outputDirectory>${xtend.dstdir}</outputDirectory>
284                       </configuration>
285                   </execution>
286               </executions>
287           </plugin>
288           <plugin>
289               <artifactId>maven-clean-plugin</artifactId>
290               <configuration>
291                   <filesets>
292                       <fileset>
293                           <directory>${xtend.dstdir}</directory>
294                           <includes>
295                               <include>**</include>
296                           </includes>
297                       </fileset>
298                       <fileset>
299                           <directory>${jmxGeneratorPath}</directory>
300                           <includes>
301                               <include>**</include>
302                           </includes>
303                       </fileset>
304                       <fileset>
305                           <directory>${salGeneratorPath}</directory>
306                           <includes>
307                               <include>**</include>
308                           </includes>
309                       </fileset>
310                   </filesets>
311               </configuration>
312             </plugin>
313           <plugin>
314              <groupId>org.codehaus.mojo</groupId>
315              <artifactId>build-helper-maven-plugin</artifactId>
316              <version>${build.helper.version}</version>
317              <executions>
318                 <execution>
319                    <id>add-source</id>
320                    <phase>generate-sources</phase>
321                    <goals>
322                       <goal>add-source</goal>
323                    </goals>
324                    <configuration>
325                       <sources>
326                          <source>${jmxGeneratorPath}</source>
327                          <source>${salGeneratorPath}</source>
328                          <source>${xtend.dstdir}</source>
329                       </sources>
330                    </configuration>
331                 </execution>
332              </executions>
333             </plugin>
334           </plugins>
335         </pluginManagement>
336     </build>
337
338     <profiles>
339       <profile>
340         <id>findbugsReport</id>
341         <reporting>
342           <plugins>
343             <plugin>
344               <groupId>org.apache.maven.plugins</groupId>
345               <artifactId>maven-project-info-reports-plugin</artifactId>
346               <version>2.7</version>
347               <configuration>
348                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
349                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
350               </configuration>
351               <reportSets>
352                 <reportSet>
353                   <reports>
354                     <report>index</report>
355                     <report>project-team</report>
356                     <report>license</report>
357                     <report>mailing-list</report>
358                     <report>plugin-management</report>
359                     <report>cim</report>
360                     <report>issue-tracking</report>
361                     <report>scm</report>
362                     <report>summary</report>
363                   </reports>
364                 </reportSet>
365               </reportSets>
366             </plugin>
367             <plugin>
368               <groupId>org.codehaus.mojo</groupId>
369               <artifactId>findbugs-maven-plugin</artifactId>
370               <version>2.5.2</version>
371             </plugin>
372             <plugin>
373               <groupId>org.apache.maven.plugins</groupId>
374               <artifactId>maven-pmd-plugin</artifactId>
375               <version>3.0.1</version>
376             </plugin>
377             <plugin>
378               <groupId>org.apache.maven.plugins</groupId>
379               <artifactId>maven-jxr-plugin</artifactId>
380               <version>2.3</version>
381             </plugin>
382           </plugins>
383         </reporting>
384       </profile>
385     </profiles>
386
387     <repositories>
388       <repository>
389         <id>opendaylight-release</id>
390         <name>opendaylight-release</name>
391         <url>${nexusproxy}/repositories/opendaylight.release/</url>
392         <snapshots>
393           <enabled>false</enabled>
394         </snapshots>
395       </repository>
396       <repository>
397         <id>opendaylight-snapshot</id>
398         <name>opendaylight-snapshot</name>
399         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
400         <releases>
401           <enabled>false</enabled>
402         </releases>
403       </repository>
404       <repository>
405         <id>public</id>
406         <name>public</name>
407         <url>${nexusproxy}/groups/public/</url>
408         <snapshots>
409           <enabled>false</enabled>
410         </snapshots>
411       </repository>
412
413     </repositories>
414
415     <pluginRepositories>
416       <pluginRepository>
417         <id>opendaylight-central</id>
418         <name>opendaylight-central</name>
419         <url>${nexusproxy}/repositories/public/</url>
420         <snapshots>
421           <enabled>false</enabled>
422         </snapshots>
423       </pluginRepository>
424       <pluginRepository>
425         <id>opendaylight-snapshot</id>
426         <name>central2</name>
427         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
428         <releases>
429           <enabled>false</enabled>
430         </releases>
431       </pluginRepository>
432     </pluginRepositories>
433
434     <modules>
435       <module>openflowplugin</module>
436       <module>distribution/base</module>
437       <module>openflowplugin-it</module>
438       <module>test-provider</module>
439       <module>drop-test</module>
440       <module>samples/sample-consumer</module>
441       <module>samples/learning-switch</module>
442     </modules>
443 </project>