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