Update to MD-SAL APIs
[controller.git] / opendaylight / md-sal / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     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     <groupId>org.opendaylight.controller</groupId>
5     <artifactId>sal-parent</artifactId>
6     <version>1.0-SNAPSHOT</version>
7     <packaging>pom</packaging>
8     <scm>
9         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
10         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
11         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
12     </scm>
13
14     <modules>
15         <!--  Common APIs & Implementation -->
16         <module>sal-common</module>
17         <module>sal-common-api</module>
18         <module>sal-common-impl</module>
19         <module>sal-common-util</module>
20
21         <!-- Binding Independent -->
22         <module>sal-dom-api</module>
23         <module>sal-dom-broker</module>
24         <module>sal-dom-spi</module>
25
26         <!-- Binding Aware -->
27         <module>sal-binding-api</module>
28         <module>sal-binding-broker</module>
29
30         <!-- Samples -->
31         <module>samples</module>
32
33         <!-- Base Models -->
34         <module>model</module>
35
36         <!-- Compability Packages -->
37         <module>sal-compability</module>
38
39         <!-- Connectors -->
40         <module>sal-connector-api</module>
41         <module>sal-rest-connector</module>
42     </modules>
43
44     <properties>
45         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
47         <!-- Java Versions -->
48         <maven.compiler.source>1.7</maven.compiler.source>
49         <maven.compiler.target>1.7</maven.compiler.target>
50
51         <!-- Plugin Versions -->
52         <bundle.plugin.version>2.4.0</bundle.plugin.version>
53         <releaseplugin.version>2.3.2</releaseplugin.version>
54
55         <!-- Dependency Versions -->
56         <slf4j.version>1.7.2</slf4j.version>
57         <yang.version>0.5.9-SNAPSHOT</yang.version>
58         <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
59         <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
60         <guava.version>14.0.1</guava.version>
61         <osgi.core.version>5.0.0</osgi.core.version>
62         <junit.version>4.8.1</junit.version>
63         <xtend.version>2.4.3</xtend.version>
64     </properties>
65
66     <pluginRepositories>
67         <pluginRepository>
68             <id>central</id>
69             <name>maven repo1</name>
70             <url>http://repo1.maven.org/maven2</url>
71             <snapshots>
72                 <enabled>false</enabled>
73             </snapshots>
74             <releases>
75                 <enabled>true</enabled>
76             </releases>
77         </pluginRepository>
78         <pluginRepository>
79             <id>opendaylight-snapshot</id>
80             <name>opendaylight-snapshot</name>
81             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
82         </pluginRepository>
83         <pluginRepository>
84             <id>opendaylight.release</id>
85             <name>opendaylight.release</name>
86             <url>${nexusproxy}/repositories/opendaylight.release/</url>
87         </pluginRepository>
88     </pluginRepositories>
89
90
91     <repositories>
92         <repository>
93             <id>opendaylight-release</id>
94             <name>opendaylight-release</name>
95             <url>${nexusproxy}/repositories/opendaylight.release/</url>
96         </repository>
97         <!-- OpenDayLight Snapshot artifact -->
98         <repository>
99             <id>opendaylight-snapshot</id>
100             <name>opendaylight-snapshot</name>
101             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
102         </repository>
103         <repository>
104             <id>thirdparty</id>
105             <name>thirdparty</name>
106             <url>${nexusproxy}/repositories/thirdparty/</url>
107         </repository>
108         <repository>
109             <id>central</id>
110             <name>central</name>
111             <url>http://repo1.maven.org/maven2</url>
112             <snapshots>
113                 <enabled>false</enabled>
114             </snapshots>
115             <releases>
116                 <enabled>true</enabled>
117             </releases>
118         </repository>
119     </repositories>
120
121     <distributionManagement>
122         <!-- OpenDayLight Released artifact -->
123         <repository>
124             <id>opendaylight-release</id>
125             <url>${nexusproxy}/repositories/opendaylight.release/</url>
126         </repository>
127         <!-- OpenDayLight Snapshot artifact -->
128         <snapshotRepository>
129             <id>opendaylight-snapshot</id>
130             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
131         </snapshotRepository>
132         <!-- Site deployment -->
133         <site>
134             <id>website</id>
135             <url>${sitedeploy}</url>
136         </site>
137     </distributionManagement>
138
139
140     <dependencyManagement>
141         <dependencies>
142
143
144
145
146             <!-- YANG Tools Dependencies -->
147             <dependency>
148                 <groupId>org.opendaylight.yangtools</groupId>
149                 <artifactId>yang-binding</artifactId>
150                 <version>${yang.binding.version}</version>
151             </dependency>
152             <dependency>
153                 <groupId>org.opendaylight.yangtools</groupId>
154                 <artifactId>yang-common</artifactId>
155                 <version>${yang.version}</version>
156             </dependency>
157             <dependency>
158                 <groupId>org.opendaylight.yangtools</groupId>
159                 <artifactId>yang-data-api</artifactId>
160                 <version>${yang.version}</version>
161             </dependency>
162             <dependency>
163                 <groupId>org.opendaylight.yangtools</groupId>
164                 <artifactId>yang-model-api</artifactId>
165                 <version>${yang.version}</version>
166             </dependency>
167             <dependency>
168                 <groupId>org.opendaylight.yangtools</groupId>
169                 <artifactId>yang-data-util</artifactId>
170                 <version>${yang.version}</version>
171             </dependency>
172             <!-- SAL Dependencies -->
173             <dependency>
174                 <groupId>${project.groupId}</groupId>
175                 <artifactId>sal-connector-api</artifactId>
176                 <version>${project.version}</version>
177             </dependency>
178
179             <!-- Supporting Libraries -->
180             <dependency>
181                 <groupId>org.slf4j</groupId>
182                 <artifactId>slf4j-api</artifactId>
183                 <version>${slf4j.version}</version>
184             </dependency>
185             <dependency>
186                 <groupId>com.google.guava</groupId>
187                 <artifactId>guava</artifactId>
188                 <version>${guava.version}</version>
189             </dependency>
190             <dependency>
191                 <groupId>org.eclipse.xtend</groupId>
192                 <artifactId>org.eclipse.xtend.lib</artifactId>
193                 <version>${xtend.version}</version>
194             </dependency>
195
196             <!-- Testing Dependencies -->
197             <dependency>
198                 <groupId>junit</groupId>
199                 <artifactId>junit</artifactId>
200                 <version>${junit.version}</version>
201                 <scope>test</scope>
202             </dependency>
203             <dependency>
204                 <groupId>org.mockito</groupId>
205                 <artifactId>mockito-all</artifactId>
206                 <version>1.9.5</version>
207                 <scope>test</scope>
208             </dependency>
209         </dependencies>
210     </dependencyManagement>
211     <build>
212         <pluginManagement>
213             <plugins>
214                 <plugin>
215                     <groupId>org.apache.maven.plugins</groupId>
216                     <artifactId>maven-release-plugin</artifactId>
217                     <version>${releaseplugin.version}</version>
218                 </plugin>
219                 <plugin>
220                     <groupId>org.apache.felix</groupId>
221                     <artifactId>maven-bundle-plugin</artifactId>
222                     <version>${bundle.plugin.version}</version>
223                     <extensions>true</extensions>
224                     <!--executions>
225                         <execution>
226                             <id>bundle-manifest</id>
227                             <phase>process-classes</phase>
228                             <goals>
229                                 <goal>manifest</goal>
230                             </goals>
231                         </execution>
232                     </executions-->
233                     <configuration>
234                         <instructions>
235                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
236                         </instructions>
237                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
238                     </configuration>
239                 </plugin>
240                 <plugin>
241                     <groupId>org.eclipse.xtend</groupId>
242                     <artifactId>xtend-maven-plugin</artifactId>
243                     <version>${xtend.version}</version>
244                     <executions>
245                         <execution>
246                             <goals>
247                                 <goal>compile</goal>
248                             </goals>
249                             <configuration>
250                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
251                             </configuration>
252                         </execution>
253                     </executions>
254                 </plugin>
255                 <plugin>
256                     <artifactId>maven-clean-plugin</artifactId>
257                     <configuration>
258                         <filesets>
259                             <fileset>
260                                 <directory>${basedir}/src/main/xtend-gen</directory>
261                                 <includes>
262                                     <include>**</include>
263                                 </includes>
264                             </fileset>
265                         </filesets>
266                     </configuration>
267                 </plugin>
268             </plugins>
269         </pluginManagement>
270         <plugins>
271             <plugin>
272                 <groupId>org.apache.felix</groupId>
273                 <artifactId>maven-bundle-plugin</artifactId>
274             </plugin>
275             <plugin>
276                 <groupId>org.apache.maven.plugins</groupId>
277                 <artifactId>maven-jar-plugin</artifactId>
278             </plugin>
279             <plugin>
280                 <groupId>org.apache.maven.plugins</groupId>
281                 <artifactId>maven-javadoc-plugin</artifactId>
282                 <version>2.8.1</version>
283                 <configuration>
284                     <stylesheet>maven</stylesheet>
285                     <failOnError>false</failOnError>
286                 </configuration>
287                 <executions>
288                     <execution>
289                         <goals>
290                             <goal>aggregate</goal>
291                         </goals>
292                         <phase>site</phase>
293                     </execution>
294                 </executions>
295             </plugin>
296         </plugins>
297     </build>
298     <reporting>
299         <plugins>
300             <plugin>
301                 <groupId>org.codehaus.mojo</groupId>
302                 <artifactId>findbugs-maven-plugin</artifactId>
303                 <version>2.4.0</version>
304                 <configuration>
305                     <effort>Max</effort>
306                     <threshold>Low</threshold>
307                     <goal>site</goal>
308                 </configuration>
309             </plugin>
310             <plugin>
311                 <groupId>org.codehaus.mojo</groupId>
312                 <artifactId>jdepend-maven-plugin</artifactId>
313                 <version>2.0-beta-2</version>
314             </plugin>
315         </plugins>
316     </reporting>
317 </project>