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 <connection>scm:git:ssh://git.opendaylight.org:29418/alto.git</connection>
23 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/alto.git</developerConnection>
24 <url>https://wiki.opendaylight.org/view/ALTO:Main</url>
29 <module>alto-model</module>
30 <module>alto-config</module> <!-- required by alto-manager -->
31 <module>alto-provider</module>
32 <module>alto-hosttracker</module>
33 <module>features</module>
34 <module>alto-commons</module>
35 <module>alto-manager</module>
36 <module>alto-services/api</module>
37 <module>alto-services/provider</module>
38 <module>alto-extensions</module>
39 <module>alto-northbound</module>
40 <!-- <module>alto-karaf</module> -->
44 <odl.version>1.6.0-SNAPSHOT</odl.version>
45 <karaf.shell.version>2.2.11</karaf.shell.version>
47 <!-- required by alto command line -->
48 <httpclient.version>4.4.1</httpclient.version>
50 <ietf.model.version>2010.09.24.8-SNAPSHOT</ietf.model.version>
51 <ietf.yang.types.version>2013.07.15.8-SNAPSHOT</ietf.yang.types.version>
53 <!-- used by yangtools, but the name is strange.
54 TODO: need more investigation -->
55 <config.version>0.4.0-SNAPSHOT</config.version>
57 <sal.version>0.10.0-SNAPSHOT</sal.version>
58 <war.version>${karaf.version}</war.version>
59 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
60 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
61 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
63 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
65 <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
67 </controller.checkstyle.version>
68 <controller.commons.northbound.version> <!-- required by alto-northbound -->
70 </controller.commons.northbound.version>
71 <l2switch.version>0.3.0-SNAPSHOT</l2switch.version>
72 <ietf.topology.version>2013.10.21.8-SNAPSHOT</ietf.topology.version>
73 <commons.catalina.version>7.0.53.v201406061610</commons.catalina.version>
74 <commons.coyote.version>7.0.53.v201406070630</commons.coyote.version>
75 <commons.juli.version>7.0.53.v201406060720</commons.juli.version>
76 <commons.tomcat.api.version>7.0.53.v201406060720</commons.tomcat.api.version>
77 <commons.tomcat.util.version>7.0.53.v201406070630</commons.tomcat.util.version>
78 <servlet.version>3.0.1</servlet.version>
81 <dependencyManagement>
84 <groupId>org.opendaylight.yangtools.model</groupId>
85 <artifactId>ietf-inet-types</artifactId>
86 <version>${ietf.model.version}</version>
89 <groupId>org.opendaylight.yangtools.model</groupId>
90 <artifactId>ietf-yang-types-20130715</artifactId>
91 <version>${ietf.yang.types.version}</version>
94 <groupId>org.apache.httpcomponents</groupId>
95 <artifactId>httpclient-osgi</artifactId>
96 <version>${httpclient.version}</version>
99 <groupId>org.apache.httpcomponents</groupId>
100 <artifactId>httpcore-osgi</artifactId>
101 <version>${httpclient.version}</version>
104 <groupId>org.opendaylight.controller</groupId>
105 <artifactId>sal-binding-api</artifactId>
106 <version>${mdsal.version}</version>
109 <groupId>org.opendaylight.controller</groupId>
110 <artifactId>sal-binding-config</artifactId>
111 <version>${mdsal.version}</version>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>sal-common-util</artifactId>
116 <version>${mdsal.version}</version>
119 <groupId>com.googlecode.concurrent-trees</groupId>
120 <artifactId>concurrent-trees</artifactId>
121 <version>2.4.0</version>
124 </dependencyManagement>
129 <plugin> <!-- used by most projects -->
130 <groupId>org.opendaylight.yangtools</groupId>
131 <artifactId>yang-maven-plugin</artifactId>
132 <version>${yangtools.version}</version>
135 <plugin> <!-- global checkstyle -->
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-checkstyle-plugin</artifactId>
138 <version>${checkstyle.version}</version>
142 <phase>process-sources</phase>
150 <!-- TODO: remove before releasing -->
151 <failsOnError>true</failsOnError>
152 <configLocation>controller/checkstyle.xml</configLocation>
153 <consoleOutput>true</consoleOutput>
154 <includeTestSourceDirectory>true</includeTestSourceDirectory>
155 <sourceDirectory>${project.basedir}</sourceDirectory>
156 <excludes>**\/target\/,**\/bin\/,**\/third-party\/,**\/yang\/gen\/,**\/yang-gen-sal\/</excludes>
161 <groupId>org.opendaylight.controller</groupId>
162 <artifactId>checkstyle</artifactId>
163 <version>${controller.checkstyle.version}</version>
169 <groupId>org.jacoco</groupId>
170 <artifactId>jacoco-maven-plugin</artifactId>
173 <id>prepare-ut-agent</id>
174 <phase>process-test-classes</phase>
176 <goal>prepare-agent</goal>
179 <destFile>${sonar.jacoco.reportPath}</destFile>
183 <id>prepare-it-agent</id>
184 <phase>pre-integration-test</phase>
186 <goal>prepare-agent</goal>
189 <destFile>${sonar.jacoco.itReportPath}</destFile>
199 <groupId>org.jacoco</groupId>
200 <artifactId>jacoco-maven-plugin</artifactId>