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>
9 <groupId>org.opendaylight.odlparent</groupId>
10 <artifactId>odlparent</artifactId>
11 <version>1.5.0-SNAPSHOT</version>
15 <groupId>org.opendaylight.alto</groupId>
16 <artifactId>alto-parent</artifactId>
17 <version>0.1.0-SNAPSHOT</version>
18 <name>alto</name> <!-- Used by Sonar to set project name -->
19 <packaging>pom</packaging>
22 <module>alto-model</module>
23 <module>alto-config</module> <!-- required by alto-manager -->
24 <module>alto-provider</module>
25 <module>alto-hosttracker</module>
26 <module>features</module>
27 <module>alto-commons</module>
28 <module>alto-manager</module>
29 <module>alto-services/api</module>
30 <module>alto-extensions</module>
31 <!-- <module>alto-karaf</module> -->
32 <module>alto-northbound</module>
33 <module>alto-karaf</module>
37 <odl.version>1.5.0-SNAPSHOT</odl.version>
38 <karaf.shell.version>2.2.11</karaf.shell.version>
39 <checkstyle.skip>true</checkstyle.skip>
41 <!-- required by alto command line -->
42 <httpclient.version>4.4.1</httpclient.version>
44 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
45 <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
47 <!-- used by yangtools, but the name is strange.
48 TODO: need more investigation -->
49 <config.version>0.3.0-SNAPSHOT</config.version>
51 <sal.version>0.7.1-SNAPSHOT</sal.version>
52 <war.version>${karaf.version}</war.version>
53 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
54 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
55 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
57 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
59 <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
61 </controller.checkstyle.version>
62 <controller.commons.northbound.version> <!-- required by alto-northbound -->
64 </controller.commons.northbound.version>
65 <l2switch.version>0.2.0-SNAPSHOT</l2switch.version>
66 <ietf.topology.version>2013.10.21.7-SNAPSHOT</ietf.topology.version>
69 <dependencyManagement>
72 <groupId>org.opendaylight.yangtools.model</groupId>
73 <artifactId>ietf-inet-types</artifactId>
74 <version>${ietf.model.version}</version>
77 <groupId>org.opendaylight.yangtools.model</groupId>
78 <artifactId>ietf-yang-types-20130715</artifactId>
79 <version>${ietf.yang.types.version}</version>
82 <groupId>org.apache.httpcomponents</groupId>
83 <artifactId>httpclient-osgi</artifactId>
84 <version>${httpclient.version}</version>
87 <groupId>org.apache.httpcomponents</groupId>
88 <artifactId>httpcore-osgi</artifactId>
89 <version>${httpclient.version}</version>
92 <groupId>org.opendaylight.controller</groupId>
93 <artifactId>sal-binding-api</artifactId>
94 <version>${mdsal.version}</version>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>sal-binding-config</artifactId>
99 <version>${mdsal.version}</version>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>sal-common-util</artifactId>
104 <version>${mdsal.version}</version>
107 </dependencyManagement>
112 <plugin> <!-- used by most projects -->
113 <groupId>org.opendaylight.yangtools</groupId>
114 <artifactId>yang-maven-plugin</artifactId>
115 <version>${yangtools.version}</version>
118 <plugin> <!-- global checkstyle -->
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-checkstyle-plugin</artifactId>
121 <version>${checkstyle.version}</version>
125 <phase>process-sources</phase>
133 <!-- TODO: remove before releasing -->
134 <failsOnError>true</failsOnError>
135 <configLocation>controller/checkstyle.xml</configLocation>
136 <consoleOutput>true</consoleOutput>
137 <includeTestSourceDirectory>true</includeTestSourceDirectory>
138 <sourceDirectory>${project.basedir}</sourceDirectory>
139 <excludes>**\/target\/,**\/bin\/,**\/third-party\/,**\/yang\/gen\/,**\/yang-gen-sal\/</excludes>
144 <groupId>org.opendaylight.controller</groupId>
145 <artifactId>checkstyle</artifactId>
146 <version>${controller.checkstyle.version}</version>