Update the dependency version in alto-parent
[alto.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   <prerequisites>
5     <maven>3.0</maven>
6   </prerequisites>
7
8   <parent>
9     <groupId>org.opendaylight.odlparent</groupId>
10     <artifactId>odlparent</artifactId>
11     <version>1.6.0-SNAPSHOT</version>
12     <relativePath/>
13   </parent>
14
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>
20
21   <modules>
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> -->
34   </modules>
35
36   <properties>
37     <odl.version>1.6.0-SNAPSHOT</odl.version>
38     <karaf.shell.version>${karaf.version}</karaf.shell.version>
39
40     <!-- required by alto command line -->
41     <httpclient.version>4.4.1</httpclient.version>
42
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>
45
46     <!-- used by yangtools, but the name is strange.
47          TODO: need more investigation -->
48     <config.version>0.4.0-SNAPSHOT</config.version>
49
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>
55
56     <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
57
58     <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
59       0.2.0-SNAPSHOT
60     </controller.checkstyle.version>
61     <controller.commons.northbound.version> <!-- required by alto-northbound -->
62       0.6.0-SNAPSHOT
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>
71   </properties>
72
73   <dependencyManagement>
74     <dependencies>
75       <dependency>
76         <groupId>org.opendaylight.yangtools.model</groupId>
77         <artifactId>ietf-inet-types</artifactId>
78         <version>${ietf.model.version}</version>
79       </dependency>
80       <dependency>
81         <groupId>org.opendaylight.yangtools.model</groupId>
82         <artifactId>ietf-yang-types-20130715</artifactId>
83         <version>${ietf.yang.types.version}</version>
84       </dependency>
85       <dependency>
86         <groupId>org.apache.httpcomponents</groupId>
87         <artifactId>httpclient-osgi</artifactId>
88         <version>${httpclient.version}</version>
89       </dependency>
90       <dependency>
91         <groupId>org.apache.httpcomponents</groupId>
92         <artifactId>httpcore-osgi</artifactId>
93         <version>${httpclient.version}</version>
94       </dependency>
95       <dependency>
96         <groupId>org.opendaylight.controller</groupId>
97         <artifactId>sal-binding-api</artifactId>
98         <version>${mdsal.version}</version>
99       </dependency>
100       <dependency>
101         <groupId>org.opendaylight.controller</groupId>
102         <artifactId>sal-binding-config</artifactId>
103         <version>${mdsal.version}</version>
104       </dependency>
105       <dependency>
106         <groupId>org.opendaylight.controller</groupId>
107         <artifactId>sal-common-util</artifactId>
108         <version>${mdsal.version}</version>
109       </dependency>
110     </dependencies>
111   </dependencyManagement>
112
113   <build>
114     <pluginManagement>
115       <plugins>
116         <plugin> <!-- used by most projects -->
117           <groupId>org.opendaylight.yangtools</groupId>
118           <artifactId>yang-maven-plugin</artifactId>
119           <version>${yangtools.version}</version>
120         </plugin>
121
122         <plugin> <!-- global checkstyle -->
123           <groupId>org.apache.maven.plugins</groupId>
124           <artifactId>maven-checkstyle-plugin</artifactId>
125           <version>${checkstyle.version}</version>
126
127           <executions>
128             <execution>
129               <phase>process-sources</phase>
130               <goals>
131                 <goal>check</goal>
132               </goals>
133             </execution>
134           </executions>
135
136           <configuration>
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>
144           </configuration>
145
146           <dependencies>
147             <dependency>
148               <groupId>org.opendaylight.controller</groupId>
149               <artifactId>checkstyle</artifactId>
150               <version>${controller.checkstyle.version}</version>
151             </dependency>
152           </dependencies>
153         </plugin>
154
155         <plugin>
156           <groupId>org.jacoco</groupId>
157           <artifactId>jacoco-maven-plugin</artifactId>
158           <executions>
159             <execution>
160               <id>prepare-ut-agent</id>
161               <phase>process-test-classes</phase>
162               <goals>
163                 <goal>prepare-agent</goal>
164               </goals>
165               <configuration>
166                 <destFile>${sonar.jacoco.reportPath}</destFile>
167               </configuration>
168             </execution>
169             <execution>
170               <id>prepare-it-agent</id>
171               <phase>pre-integration-test</phase>
172               <goals>
173                 <goal>prepare-agent</goal>
174               </goals>
175               <configuration>
176                 <destFile>${sonar.jacoco.itReportPath}</destFile>
177               </configuration>
178             </execution>
179           </executions>
180         </plugin>
181       </plugins>
182     </pluginManagement>
183
184     <plugins>
185       <plugin>
186         <groupId>org.jacoco</groupId>
187         <artifactId>jacoco-maven-plugin</artifactId>
188       </plugin>
189     </plugins>
190   </build>
191 </project>