Fixed some dependency issues in features.
[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.5.0-SNAPSHOT</version>
12     <relativePath/>
13   </parent>
14
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>
20
21   <modules>
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>
32   </modules>
33
34   <properties>
35     <karaf.shell.version>2.2.11</karaf.shell.version>
36
37     <!-- required by alto command line -->
38     <httpclient.version>4.4.1</httpclient.version>
39
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>
42
43     <!-- used by yangtools, but the name is strange.
44          TODO: need more investigation -->
45     <config.version>0.3.0-SNAPSHOT</config.version>
46
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>
52
53     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
54
55     <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
56       0.1.0-SNAPSHOT
57     </controller.checkstyle.version>
58     <controller.commons.northbound.version> <!-- required by alto-northbound -->
59       0.5.0-SNAPSHOT
60     </controller.commons.northbound.version>
61   </properties>
62
63   <dependencyManagement>
64     <dependencies>
65       <dependency>
66         <groupId>org.opendaylight.yangtools.model</groupId>
67         <artifactId>ietf-inet-types</artifactId>
68         <version>${ietf.model.version}</version>
69       </dependency>
70       <dependency>
71         <groupId>org.opendaylight.yangtools.model</groupId>
72         <artifactId>ietf-yang-types-20130715</artifactId>
73         <version>${ietf.yang.types.version}</version>
74       </dependency>
75       <dependency>
76         <groupId>org.apache.httpcomponents</groupId>
77         <artifactId>httpclient-osgi</artifactId>
78         <version>${httpclient.version}</version>
79       </dependency>
80       <dependency>
81         <groupId>org.apache.httpcomponents</groupId>
82         <artifactId>httpcore-osgi</artifactId>
83         <version>${httpclient.version}</version>
84       </dependency>
85       <dependency>
86         <groupId>org.opendaylight.controller</groupId>
87         <artifactId>sal-binding-api</artifactId>
88         <version>${mdsal.version}</version>
89       </dependency>
90       <dependency>
91         <groupId>org.opendaylight.controller</groupId>
92         <artifactId>sal-binding-config</artifactId>
93         <version>${mdsal.version}</version>
94       </dependency>
95       <dependency>
96         <groupId>org.opendaylight.controller</groupId>
97         <artifactId>sal-common-util</artifactId>
98         <version>${mdsal.version}</version>
99       </dependency>
100     </dependencies>
101   </dependencyManagement>
102
103   <build>
104     <pluginManagement>
105       <plugins>
106         <plugin> <!-- used by most projects -->
107           <groupId>org.opendaylight.yangtools</groupId>
108           <artifactId>yang-maven-plugin</artifactId>
109           <version>${yangtools.version}</version>
110         </plugin>
111
112         <plugin> <!-- global checkstyle -->
113           <groupId>org.apache.maven.plugins</groupId>
114           <artifactId>maven-checkstyle-plugin</artifactId>
115           <version>${checkstyle.version}</version>
116
117           <executions>
118             <execution>
119               <phase>process-sources</phase>
120               <goals>
121                 <goal>check</goal>
122               </goals>
123             </execution>
124           </executions>
125
126           <configuration>
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>
134           </configuration>
135
136           <dependencies>
137             <dependency>
138               <groupId>org.opendaylight.controller</groupId>
139               <artifactId>checkstyle</artifactId>
140               <version>${controller.checkstyle.version}</version>
141             </dependency>
142           </dependencies>
143         </plugin>
144       </plugins>
145     </pluginManagement>
146   </build>
147 </project>