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>features</module>
26 <module>alto-commons</module>
27 <module>alto-manager</module>
28 <module>alto-services/api</module>
29 <module>alto-services/ext</module>
30 <!-- <module>alto-karaf</module> -->
31 <module>alto-northbound</module>
35 <karaf.shell.version>2.2.11</karaf.shell.version>
37 <!-- required by alto command line -->
38 <httpclient.version>4.4.1</httpclient.version>
40 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
41 <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
43 <!-- used by yangtools, but the name is strange.
44 TODO: need more investigation -->
45 <config.version>0.3.0-SNAPSHOT</config.version>
47 <sal.version>0.7.1-SNAPSHOT</sal.version>
48 <war.version>${karaf.version}</war.version>
49 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
50 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
51 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
53 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
55 <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
57 </controller.checkstyle.version>
58 <controller.commons.northbound.version> <!-- required by alto-northbound -->
60 </controller.commons.northbound.version>
63 <dependencyManagement>
66 <groupId>org.opendaylight.yangtools.model</groupId>
67 <artifactId>ietf-inet-types</artifactId>
68 <version>${ietf.model.version}</version>
71 <groupId>org.opendaylight.yangtools.model</groupId>
72 <artifactId>ietf-yang-types-20130715</artifactId>
73 <version>${ietf.yang.types.version}</version>
76 <groupId>org.apache.httpcomponents</groupId>
77 <artifactId>httpclient-osgi</artifactId>
78 <version>${httpclient.version}</version>
81 <groupId>org.apache.httpcomponents</groupId>
82 <artifactId>httpcore-osgi</artifactId>
83 <version>${httpclient.version}</version>
86 <groupId>org.opendaylight.controller</groupId>
87 <artifactId>sal-binding-api</artifactId>
88 <version>${mdsal.version}</version>
91 <groupId>org.opendaylight.controller</groupId>
92 <artifactId>sal-binding-config</artifactId>
93 <version>${mdsal.version}</version>
96 <groupId>org.opendaylight.controller</groupId>
97 <artifactId>sal-common-util</artifactId>
98 <version>${mdsal.version}</version>
101 </dependencyManagement>
106 <plugin> <!-- used by most projects -->
107 <groupId>org.opendaylight.yangtools</groupId>
108 <artifactId>yang-maven-plugin</artifactId>
109 <version>${yangtools.version}</version>
112 <plugin> <!-- global checkstyle -->
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-checkstyle-plugin</artifactId>
115 <version>${checkstyle.version}</version>
119 <phase>process-sources</phase>
127 <!-- TODO: remove before releasing -->
128 <failsOnError>true</failsOnError>
129 <configLocation>controller/checkstyle.xml</configLocation>
130 <consoleOutput>true</consoleOutput>
131 <includeTestSourceDirectory>true</includeTestSourceDirectory>
132 <sourceDirectory>${project.basedir}</sourceDirectory>
133 <excludes>**\/target\/,**\/bin\/,**\/third-party\/,**\/yang\/gen\/,**\/yang-gen-sal\/</excludes>
138 <groupId>org.opendaylight.controller</groupId>
139 <artifactId>checkstyle</artifactId>
140 <version>${controller.checkstyle.version}</version>