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>
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>
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>
21 <!-- Binding Independent -->
22 <module>sal-dom-api</module>
23 <module>sal-dom-broker</module>
24 <module>sal-dom-spi</module>
26 <!-- Binding Aware -->
27 <module>sal-binding-api</module>
28 <module>sal-binding-config</module>
29 <module>sal-binding-broker</module>
31 <module>sal-binding-util</module>
32 <module>sal-binding-dom-it</module>
35 <module>samples</module>
38 <module>model</module>
42 <module>sal-connector-api</module>
43 <module>sal-rest-connector</module>
44 <module>sal-netconf-connector</module>
46 <module>remoterpc-routingtable/implementation</module>
47 <module>sal-remoterpc-connector/implementation</module>
48 <!-- Clustered Data Store -->
49 <module>clustered-data-store/implementation</module>
51 <module>inventory-manager</module>
52 <module>statistics-manager</module>
53 <module>topology-manager</module>
54 <module>forwardingrules-manager</module>
55 <module>topology-lldp-discovery</module>
57 <!-- Compability Packages -->
58 <module>compatibility</module>
64 <id>integrationtests</id>
66 <activeByDefault>false</activeByDefault>
69 <module>sal-binding-it</module>
70 <module>clustered-data-store/integrationtest</module>
71 <!--module>zeromq-routingtable/integrationtest</module -->
72 <!--module>sal-remoterpc-connector/integrationtest</module -->
73 <!--module>test/sal-rest-connector-it</modulei -->
80 <name>m2e.version</name>
84 <!-- Put the IDE's build output in a folder other than target,
85 so that IDE builds don't interact with Maven builds -->
86 <directory>target-ide</directory>
92 <yangtools.version>0.6.0-SNAPSHOT</yangtools.version>
93 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
94 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
95 <!-- Java Versions -->
96 <maven.compiler.source>1.7</maven.compiler.source>
97 <maven.compiler.target>1.7</maven.compiler.target>
99 <!-- Plugin Versions -->
100 <bundle.plugin.version>2.4.0</bundle.plugin.version>
101 <releaseplugin.version>2.3.2</releaseplugin.version>
103 <!-- Dependency Versions -->
104 <slf4j.version>1.7.2</slf4j.version>
105 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
106 <guava.version>14.0.1</guava.version>
107 <osgi.core.version>5.0.0</osgi.core.version>
108 <junit.version>4.8.1</junit.version>
109 <powermock.version>1.5.1</powermock.version>
110 <mockito.version>1.9.5</mockito.version>
111 <xtend.version>2.4.3</xtend.version>
112 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
113 <jacoco.version>0.5.3.201107060350</jacoco.version>
114 <sal.version>0.5.1-SNAPSHOT</sal.version> <!-- AD Sal version -->
116 <!-- Sonar properties using jacoco to retrieve integration test results -->
117 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
118 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
119 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
120 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
121 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
122 <sonar.branch>${user.name}-private-view</sonar.branch>
123 <sonar.language>java</sonar.language>
124 <exam.version>3.0.0</exam.version>
125 <sal.version>0.7.0-SNAPSHOT</sal.version>
129 <!-- OpenDayLight Repo Mirror -->
131 <id>opendaylight-mirror</id>
132 <name>opendaylight-mirror</name>
133 <url>${nexusproxy}/groups/public/</url>
135 <enabled>false</enabled>
138 <enabled>true</enabled>
139 <updatePolicy>never</updatePolicy>
142 <!-- OpenDayLight Snapshot artifact -->
144 <id>opendaylight-snapshot</id>
145 <name>opendaylight-snapshot</name>
146 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
148 <enabled>true</enabled>
151 <enabled>false</enabled>
154 </pluginRepositories>
158 <!-- OpenDayLight Repo Mirror -->
160 <id>opendaylight-mirror</id>
161 <name>opendaylight-mirror</name>
162 <url>${nexusproxy}/groups/public/</url>
164 <enabled>false</enabled>
167 <enabled>true</enabled>
168 <updatePolicy>never</updatePolicy>
171 <!-- OpenDayLight Snapshot artifact -->
173 <id>opendaylight-snapshot</id>
174 <name>opendaylight-snapshot</name>
175 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
177 <enabled>true</enabled>
180 <enabled>false</enabled>
185 <distributionManagement>
186 <!-- OpenDayLight Released artifact -->
188 <id>opendaylight-release</id>
189 <url>${nexusproxy}/repositories/opendaylight.release/</url>
191 <!-- OpenDayLight Snapshot artifact -->
193 <id>opendaylight-snapshot</id>
194 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
195 </snapshotRepository>
196 <!-- Site deployment -->
199 <url>${sitedeploy}</url>
201 </distributionManagement>
204 <dependencyManagement>
207 <groupId>xml-apis</groupId>
208 <artifactId>xml-apis</artifactId>
209 <version>1.4.01</version>
212 <!-- YANG Tools Dependencies -->
214 <groupId>org.opendaylight.yangtools</groupId>
215 <artifactId>yang-binding</artifactId>
216 <version>${yangtools.version}</version>
219 <groupId>org.opendaylight.yangtools</groupId>
220 <artifactId>yang-model-util</artifactId>
221 <version>${yangtools.version}</version>
224 <groupId>org.opendaylight.yangtools</groupId>
225 <artifactId>yang-common</artifactId>
226 <version>${yangtools.version}</version>
229 <groupId>org.opendaylight.yangtools</groupId>
230 <artifactId>yang-data-api</artifactId>
231 <version>${yangtools.version}</version>
234 <groupId>org.opendaylight.yangtools</groupId>
235 <artifactId>yang-data-impl</artifactId>
236 <version>${yangtools.version}</version>
239 <groupId>org.opendaylight.yangtools</groupId>
240 <artifactId>yang-model-api</artifactId>
241 <version>${yangtools.version}</version>
244 <groupId>org.opendaylight.yangtools</groupId>
245 <artifactId>yang-data-util</artifactId>
246 <version>${yangtools.version}</version>
248 <!-- SAL Dependencies -->
250 <groupId>${project.groupId}</groupId>
251 <artifactId>sal-connector-api</artifactId>
252 <version>${project.version}</version>
255 <groupId>org.opendaylight.controller</groupId>
256 <artifactId>sal</artifactId>
257 <version>${sal.version}</version>
260 <groupId>org.osgi</groupId>
261 <artifactId>org.osgi.compendium</artifactId>
266 <!-- Supporting Libraries -->
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
270 <version>${slf4j.version}</version>
273 <groupId>com.google.guava</groupId>
274 <artifactId>guava</artifactId>
275 <version>${guava.version}</version>
278 <groupId>org.eclipse.xtend</groupId>
279 <artifactId>org.eclipse.xtend.lib</artifactId>
280 <version>${xtend.version}</version>
283 <groupId>org.osgi</groupId>
284 <artifactId>org.osgi.core</artifactId>
285 <version>${osgi.core.version}</version>
287 <!-- Testing Dependencies -->
289 <groupId>junit</groupId>
290 <artifactId>junit</artifactId>
291 <version>${junit.version}</version>
295 <groupId>org.mockito</groupId>
296 <artifactId>mockito-all</artifactId>
297 <version>${mockito.version}</version>
301 <groupId>org.powermock</groupId>
302 <artifactId>powermock-module-junit4</artifactId>
303 <version>${powermock.version}</version>
307 <groupId>org.powermock</groupId>
308 <artifactId>powermock-api-mockito</artifactId>
309 <version>${powermock.version}</version>
313 <groupId>org.powermock</groupId>
314 <artifactId>powermock-core</artifactId>
315 <version>${powermock.version}</version>
319 <groupId>org.opendaylight.yangtools</groupId>
320 <artifactId>binding-generator-impl</artifactId>
321 <version>0.6.0-SNAPSHOT</version>
324 <groupId>org.opendaylight.yangtools</groupId>
325 <artifactId>yang-parser-impl</artifactId>
326 <version>0.6.0-SNAPSHOT</version>
329 </dependencyManagement>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-release-plugin</artifactId>
336 <version>${releaseplugin.version}</version>
339 <groupId>org.apache.felix</groupId>
340 <artifactId>maven-bundle-plugin</artifactId>
341 <version>${bundle.plugin.version}</version>
342 <extensions>true</extensions>
343 <!--executions> <execution> <id>bundle-manifest</id>
344 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
348 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
350 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
354 <groupId>org.eclipse.xtend</groupId>
355 <artifactId>xtend-maven-plugin</artifactId>
356 <version>${xtend.version}</version>
363 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
369 <artifactId>maven-clean-plugin</artifactId>
370 <version>${maven.clean.plugin.version}</version>
374 <directory>${basedir}/src/main/xtend-gen</directory>
376 <include>**</include>
383 <groupId>org.jacoco</groupId>
384 <artifactId>jacoco-maven-plugin</artifactId>
385 <version>${jacoco.version}</version>
387 <!--This plugin's configuration is used to store Eclipse
388 m2e settings only. It has no influence on the Maven build itself. -->
390 <groupId>org.eclipse.m2e</groupId>
391 <artifactId>lifecycle-mapping</artifactId>
392 <version>1.0.0</version>
394 <lifecycleMappingMetadata>
397 <pluginExecutionFilter>
398 <groupId>org.opendaylight.yangtools</groupId>
399 <artifactId>yang-maven-plugin</artifactId>
400 <versionRange>[0,)</versionRange>
402 <goal>generate-sources</goal>
404 </pluginExecutionFilter>
410 <pluginExecutionFilter>
411 <groupId>net.alchim31.maven</groupId>
412 <artifactId>scala-maven-plugin</artifactId>
413 <versionRange>[0,)</versionRange>
416 <goal>testCompile</goal>
418 </pluginExecutionFilter>
424 <pluginExecutionFilter>
425 <groupId>org.jacoco</groupId>
426 <artifactId>jacoco-maven-plugin</artifactId>
427 <versionRange>[0,)</versionRange>
429 <goal>prepare-agent</goal>
431 </pluginExecutionFilter>
437 </lifecycleMappingMetadata>
445 <groupId>org.apache.felix</groupId>
446 <artifactId>maven-bundle-plugin</artifactId>
449 <groupId>org.codehaus.mojo</groupId>
450 <artifactId>build-helper-maven-plugin</artifactId>
451 <version>1.8</version>
455 <phase>generate-sources</phase>
457 <goal>add-source</goal>
461 <source>${project.build.directory}/generated-sources/config</source>
462 <source>${project.build.directory}/generated-sources/sal</source>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-jar-plugin</artifactId>
471 <version>2.4</version>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-javadoc-plugin</artifactId>
476 <version>2.8.1</version>
478 <stylesheet>maven</stylesheet>
479 <failOnError>false</failOnError>
484 <goal>aggregate</goal>
495 <groupId>org.codehaus.mojo</groupId>
496 <artifactId>findbugs-maven-plugin</artifactId>
497 <version>2.4.0</version>
500 <threshold>Low</threshold>
505 <groupId>org.codehaus.mojo</groupId>
506 <artifactId>jdepend-maven-plugin</artifactId>
507 <version>2.0-beta-2</version>