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.6.0-SNAPSHOT</version>
15 <groupId>org.opendaylight.alto</groupId>
16 <artifactId>alto-parent</artifactId>
17 <version>0.2.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-services/provider</module>
31 <module>alto-extensions</module>
32 <module>alto-northbound</module>
33 <!-- <module>alto-karaf</module> -->
37 <odl.version>1.6.0-SNAPSHOT</odl.version>
38 <karaf.shell.version>${karaf.version}</karaf.shell.version>
40 <!-- required by alto command line -->
41 <httpclient.version>4.4.1</httpclient.version>
43 <ietf.model.version>2010.09.24.8-SNAPSHOT</ietf.model.version>
44 <ietf.yang.types.version>2013.07.15.8-SNAPSHOT</ietf.yang.types.version>
46 <!-- used by yangtools, but the name is strange.
47 TODO: need more investigation -->
48 <config.version>0.4.0-SNAPSHOT</config.version>
50 <sal.version>0.10.0-SNAPSHOT</sal.version>
51 <war.version>${karaf.version}</war.version>
52 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
53 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
54 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
56 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
58 <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
60 </controller.checkstyle.version>
61 <controller.commons.northbound.version> <!-- required by alto-northbound -->
63 </controller.commons.northbound.version>
64 <l2switch.version>0.3.0-SNAPSHOT</l2switch.version>
65 <ietf.topology.version>2013.10.21.8-SNAPSHOT</ietf.topology.version>
66 <commons.catalina.version>7.0.53.v201406061610</commons.catalina.version>
67 <commons.coyote.version>7.0.53.v201406070630</commons.coyote.version>
68 <commons.juli.version>7.0.53.v201406060720</commons.juli.version>
69 <commons.tomcat.api.version>7.0.53.v201406060720</commons.tomcat.api.version>
70 <commons.tomcat.util.version>7.0.53.v201406070630</commons.tomcat.util.version>
73 <dependencyManagement>
76 <groupId>org.opendaylight.yangtools.model</groupId>
77 <artifactId>ietf-inet-types</artifactId>
78 <version>${ietf.model.version}</version>
81 <groupId>org.opendaylight.yangtools.model</groupId>
82 <artifactId>ietf-yang-types-20130715</artifactId>
83 <version>${ietf.yang.types.version}</version>
86 <groupId>org.apache.httpcomponents</groupId>
87 <artifactId>httpclient-osgi</artifactId>
88 <version>${httpclient.version}</version>
91 <groupId>org.apache.httpcomponents</groupId>
92 <artifactId>httpcore-osgi</artifactId>
93 <version>${httpclient.version}</version>
96 <groupId>org.opendaylight.controller</groupId>
97 <artifactId>sal-binding-api</artifactId>
98 <version>${mdsal.version}</version>
101 <groupId>org.opendaylight.controller</groupId>
102 <artifactId>sal-binding-config</artifactId>
103 <version>${mdsal.version}</version>
106 <groupId>org.opendaylight.controller</groupId>
107 <artifactId>sal-common-util</artifactId>
108 <version>${mdsal.version}</version>
111 </dependencyManagement>
116 <plugin> <!-- used by most projects -->
117 <groupId>org.opendaylight.yangtools</groupId>
118 <artifactId>yang-maven-plugin</artifactId>
119 <version>${yangtools.version}</version>
122 <plugin> <!-- global checkstyle -->
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-checkstyle-plugin</artifactId>
125 <version>${checkstyle.version}</version>
129 <phase>process-sources</phase>
137 <!-- TODO: remove before releasing -->
138 <failsOnError>true</failsOnError>
139 <configLocation>controller/checkstyle.xml</configLocation>
140 <consoleOutput>true</consoleOutput>
141 <includeTestSourceDirectory>true</includeTestSourceDirectory>
142 <sourceDirectory>${project.basedir}</sourceDirectory>
143 <excludes>**\/target\/,**\/bin\/,**\/third-party\/,**\/yang\/gen\/,**\/yang-gen-sal\/</excludes>
148 <groupId>org.opendaylight.controller</groupId>
149 <artifactId>checkstyle</artifactId>
150 <version>${controller.checkstyle.version}</version>
156 <groupId>org.jacoco</groupId>
157 <artifactId>jacoco-maven-plugin</artifactId>
160 <id>prepare-ut-agent</id>
161 <phase>process-test-classes</phase>
163 <goal>prepare-agent</goal>
166 <destFile>${sonar.jacoco.reportPath}</destFile>
170 <id>prepare-it-agent</id>
171 <phase>pre-integration-test</phase>
173 <goal>prepare-agent</goal>
176 <destFile>${sonar.jacoco.itReportPath}</destFile>
186 <groupId>org.jacoco</groupId>
187 <artifactId>jacoco-maven-plugin</artifactId>