Add basic-types and resourcepool
[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   <scm>
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>
25     <tag>HEAD</tag>
26   </scm>
27
28   <modules>
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> -->
41     <module>alto-release-features</module>
42   </modules>
43
44   <properties>
45     <odl.version>1.6.0-SNAPSHOT</odl.version>
46     <karaf.shell.version>${karaf.version}</karaf.shell.version>
47
48
49     <!-- required by alto command line -->
50     <httpclient.version>4.4.1</httpclient.version>
51
52     <ietf.model.version>2010.09.24.8-SNAPSHOT</ietf.model.version>
53     <ietf.yang.types.version>2013.07.15.8-SNAPSHOT</ietf.yang.types.version>
54     <restconf.version>1.3.0-SNAPSHOT</restconf.version>
55
56     <!-- used by yangtools, but the name is strange.
57          TODO: need more investigation -->
58     <config.version>0.4.0-SNAPSHOT</config.version>
59
60     <sal.version>0.10.0-SNAPSHOT</sal.version>
61     <war.version>${karaf.version}</war.version>
62     <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
63     <mdsal.model.version>0.8.0-SNAPSHOT</mdsal.model.version>
64     <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
65     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
66
67     <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
68
69     <controller.checkstyle.version> <!-- checkstyle artifact of controller -->
70       0.2.0-SNAPSHOT
71     </controller.checkstyle.version>
72     <controller.commons.northbound.version> <!-- required by alto-northbound -->
73       0.6.0-SNAPSHOT
74     </controller.commons.northbound.version>
75     <l2switch.version>0.3.0-SNAPSHOT</l2switch.version>
76     <ietf.topology.version>2013.10.21.8-SNAPSHOT</ietf.topology.version>
77     <commons.catalina.version>7.0.53.v201406061610</commons.catalina.version>
78     <commons.coyote.version>7.0.53.v201406070630</commons.coyote.version>
79     <commons.juli.version>7.0.53.v201406060720</commons.juli.version>
80     <commons.tomcat.api.version>7.0.53.v201406060720</commons.tomcat.api.version>
81     <commons.tomcat.util.version>7.0.53.v201406070630</commons.tomcat.util.version>
82     <servlet.version>3.0.1</servlet.version>
83   </properties>
84
85   <dependencyManagement>
86     <dependencies>
87       <dependency>
88         <groupId>org.opendaylight.mdsal</groupId>
89         <artifactId>mdsal-artifacts</artifactId>
90         <version>2.0.0-SNAPSHOT</version>
91         <type>pom</type>
92         <scope>import</scope>
93       </dependency>
94       <dependency>
95         <groupId>org.opendaylight.mdsal.model</groupId>
96         <artifactId>mdsal-model-artifacts</artifactId>
97         <version>${mdsal.model.version}</version>
98         <type>pom</type>
99         <scope>import</scope>
100       </dependency>
101       <dependency>
102         <groupId>org.apache.httpcomponents</groupId>
103         <artifactId>httpclient-osgi</artifactId>
104         <version>${httpclient.version}</version>
105       </dependency>
106       <dependency>
107         <groupId>org.apache.httpcomponents</groupId>
108         <artifactId>httpcore-osgi</artifactId>
109         <version>${httpclient.version}</version>
110       </dependency>
111       <dependency>
112         <groupId>org.opendaylight.controller</groupId>
113         <artifactId>sal-binding-api</artifactId>
114         <version>${mdsal.version}</version>
115       </dependency>
116       <dependency>
117         <groupId>org.opendaylight.controller</groupId>
118         <artifactId>sal-binding-config</artifactId>
119         <version>${mdsal.version}</version>
120       </dependency>
121       <dependency>
122         <groupId>org.opendaylight.controller</groupId>
123         <artifactId>sal-common-util</artifactId>
124         <version>${mdsal.version}</version>
125       </dependency>
126       <dependency>
127         <groupId>com.googlecode.concurrent-trees</groupId>
128         <artifactId>concurrent-trees</artifactId>
129         <version>2.4.0</version>
130       </dependency>
131     </dependencies>
132   </dependencyManagement>
133
134   <build>
135     <pluginManagement>
136       <plugins>
137         <plugin> <!-- used by most projects -->
138           <groupId>org.opendaylight.yangtools</groupId>
139           <artifactId>yang-maven-plugin</artifactId>
140           <version>${yangtools.version}</version>
141         </plugin>
142
143         <plugin> <!-- global checkstyle -->
144           <groupId>org.apache.maven.plugins</groupId>
145           <artifactId>maven-checkstyle-plugin</artifactId>
146           <version>${checkstyle.version}</version>
147
148           <executions>
149             <execution>
150               <phase>process-sources</phase>
151               <goals>
152                 <goal>check</goal>
153               </goals>
154             </execution>
155           </executions>
156
157           <configuration>
158             <!-- TODO: remove before releasing -->
159             <failsOnError>true</failsOnError>
160             <configLocation>controller/checkstyle.xml</configLocation>
161             <consoleOutput>true</consoleOutput>
162             <includeTestSourceDirectory>true</includeTestSourceDirectory>
163             <sourceDirectory>${project.basedir}</sourceDirectory>
164             <excludes>**\/target\/,**\/bin\/,**\/third-party\/,**\/yang\/gen\/,**\/yang-gen-sal\/</excludes>
165           </configuration>
166
167           <dependencies>
168             <dependency>
169               <groupId>org.opendaylight.controller</groupId>
170               <artifactId>checkstyle</artifactId>
171               <version>${controller.checkstyle.version}</version>
172             </dependency>
173           </dependencies>
174         </plugin>
175
176         <plugin>
177           <groupId>org.jacoco</groupId>
178           <artifactId>jacoco-maven-plugin</artifactId>
179           <executions>
180             <execution>
181               <id>prepare-ut-agent</id>
182               <phase>process-test-classes</phase>
183               <goals>
184                 <goal>prepare-agent</goal>
185               </goals>
186               <configuration>
187                 <destFile>${sonar.jacoco.reportPath}</destFile>
188               </configuration>
189             </execution>
190             <execution>
191               <id>prepare-it-agent</id>
192               <phase>pre-integration-test</phase>
193               <goals>
194                 <goal>prepare-agent</goal>
195               </goals>
196               <configuration>
197                 <destFile>${sonar.jacoco.itReportPath}</destFile>
198               </configuration>
199             </execution>
200           </executions>
201         </plugin>
202       </plugins>
203     </pluginManagement>
204
205     <plugins>
206       <plugin>
207         <groupId>org.jacoco</groupId>
208         <artifactId>jacoco-maven-plugin</artifactId>
209       </plugin>
210     </plugins>
211   </build>
212 </project>