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>
128 <!-- OpenDayLight Repo Mirror -->
130 <id>opendaylight-mirror</id>
131 <name>opendaylight-mirror</name>
132 <url>${nexusproxy}/groups/public/</url>
134 <enabled>false</enabled>
137 <enabled>true</enabled>
138 <updatePolicy>never</updatePolicy>
141 <!-- OpenDayLight Snapshot artifact -->
143 <id>opendaylight-snapshot</id>
144 <name>opendaylight-snapshot</name>
145 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
147 <enabled>true</enabled>
150 <enabled>false</enabled>
153 </pluginRepositories>
157 <!-- OpenDayLight Repo Mirror -->
159 <id>opendaylight-mirror</id>
160 <name>opendaylight-mirror</name>
161 <url>${nexusproxy}/groups/public/</url>
163 <enabled>false</enabled>
166 <enabled>true</enabled>
167 <updatePolicy>never</updatePolicy>
170 <!-- OpenDayLight Snapshot artifact -->
172 <id>opendaylight-snapshot</id>
173 <name>opendaylight-snapshot</name>
174 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
176 <enabled>true</enabled>
179 <enabled>false</enabled>
184 <distributionManagement>
185 <!-- OpenDayLight Released artifact -->
187 <id>opendaylight-release</id>
188 <url>${nexusproxy}/repositories/opendaylight.release/</url>
190 <!-- OpenDayLight Snapshot artifact -->
192 <id>opendaylight-snapshot</id>
193 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
194 </snapshotRepository>
195 <!-- Site deployment -->
198 <url>${sitedeploy}</url>
200 </distributionManagement>
203 <dependencyManagement>
206 <groupId>xml-apis</groupId>
207 <artifactId>xml-apis</artifactId>
208 <version>1.4.01</version>
211 <!-- YANG Tools Dependencies -->
213 <groupId>org.opendaylight.yangtools</groupId>
214 <artifactId>yang-binding</artifactId>
215 <version>${yangtools.version}</version>
218 <groupId>org.opendaylight.yangtools</groupId>
219 <artifactId>yang-model-util</artifactId>
220 <version>${yangtools.version}</version>
223 <groupId>org.opendaylight.yangtools</groupId>
224 <artifactId>yang-common</artifactId>
225 <version>${yangtools.version}</version>
228 <groupId>org.opendaylight.yangtools</groupId>
229 <artifactId>yang-data-api</artifactId>
230 <version>${yangtools.version}</version>
233 <groupId>org.opendaylight.yangtools</groupId>
234 <artifactId>yang-data-impl</artifactId>
235 <version>${yangtools.version}</version>
238 <groupId>org.opendaylight.yangtools</groupId>
239 <artifactId>yang-model-api</artifactId>
240 <version>${yangtools.version}</version>
243 <groupId>org.opendaylight.yangtools</groupId>
244 <artifactId>yang-data-util</artifactId>
245 <version>${yangtools.version}</version>
247 <!-- SAL Dependencies -->
249 <groupId>${project.groupId}</groupId>
250 <artifactId>sal-connector-api</artifactId>
251 <version>${project.version}</version>
254 <groupId>org.opendaylight.controller</groupId>
255 <artifactId>sal</artifactId>
256 <version>${sal.version}</version>
259 <groupId>org.osgi</groupId>
260 <artifactId>org.osgi.compendium</artifactId>
265 <!-- Supporting Libraries -->
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>${slf4j.version}</version>
272 <groupId>com.google.guava</groupId>
273 <artifactId>guava</artifactId>
274 <version>${guava.version}</version>
277 <groupId>org.eclipse.xtend</groupId>
278 <artifactId>org.eclipse.xtend.lib</artifactId>
279 <version>${xtend.version}</version>
282 <groupId>org.osgi</groupId>
283 <artifactId>org.osgi.core</artifactId>
284 <version>${osgi.core.version}</version>
286 <!-- Testing Dependencies -->
288 <groupId>junit</groupId>
289 <artifactId>junit</artifactId>
290 <version>${junit.version}</version>
294 <groupId>org.mockito</groupId>
295 <artifactId>mockito-all</artifactId>
296 <version>${mockito.version}</version>
300 <groupId>org.powermock</groupId>
301 <artifactId>powermock-module-junit4</artifactId>
302 <version>${powermock.version}</version>
306 <groupId>org.powermock</groupId>
307 <artifactId>powermock-api-mockito</artifactId>
308 <version>${powermock.version}</version>
312 <groupId>org.powermock</groupId>
313 <artifactId>powermock-core</artifactId>
314 <version>${powermock.version}</version>
318 <groupId>org.opendaylight.yangtools</groupId>
319 <artifactId>binding-generator-impl</artifactId>
320 <version>0.6.0-SNAPSHOT</version>
323 <groupId>org.opendaylight.yangtools</groupId>
324 <artifactId>yang-parser-impl</artifactId>
325 <version>0.6.0-SNAPSHOT</version>
328 </dependencyManagement>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-release-plugin</artifactId>
335 <version>${releaseplugin.version}</version>
338 <groupId>org.apache.felix</groupId>
339 <artifactId>maven-bundle-plugin</artifactId>
340 <version>${bundle.plugin.version}</version>
341 <extensions>true</extensions>
342 <!--executions> <execution> <id>bundle-manifest</id>
343 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
347 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
349 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
353 <groupId>org.eclipse.xtend</groupId>
354 <artifactId>xtend-maven-plugin</artifactId>
355 <version>${xtend.version}</version>
362 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
368 <artifactId>maven-clean-plugin</artifactId>
369 <version>${maven.clean.plugin.version}</version>
373 <directory>${basedir}/src/main/xtend-gen</directory>
375 <include>**</include>
382 <groupId>org.jacoco</groupId>
383 <artifactId>jacoco-maven-plugin</artifactId>
384 <version>${jacoco.version}</version>
386 <!--This plugin's configuration is used to store Eclipse
387 m2e settings only. It has no influence on the Maven build itself. -->
389 <groupId>org.eclipse.m2e</groupId>
390 <artifactId>lifecycle-mapping</artifactId>
391 <version>1.0.0</version>
393 <lifecycleMappingMetadata>
396 <pluginExecutionFilter>
397 <groupId>org.opendaylight.yangtools</groupId>
398 <artifactId>yang-maven-plugin</artifactId>
399 <versionRange>[0,)</versionRange>
401 <goal>generate-sources</goal>
403 </pluginExecutionFilter>
409 <pluginExecutionFilter>
410 <groupId>net.alchim31.maven</groupId>
411 <artifactId>scala-maven-plugin</artifactId>
412 <versionRange>[0,)</versionRange>
415 <goal>testCompile</goal>
417 </pluginExecutionFilter>
423 <pluginExecutionFilter>
424 <groupId>org.jacoco</groupId>
425 <artifactId>jacoco-maven-plugin</artifactId>
426 <versionRange>[0,)</versionRange>
428 <goal>prepare-agent</goal>
430 </pluginExecutionFilter>
436 </lifecycleMappingMetadata>
444 <groupId>org.apache.felix</groupId>
445 <artifactId>maven-bundle-plugin</artifactId>
448 <groupId>org.codehaus.mojo</groupId>
449 <artifactId>build-helper-maven-plugin</artifactId>
450 <version>1.8</version>
454 <phase>generate-sources</phase>
456 <goal>add-source</goal>
460 <source>${project.build.directory}/generated-sources/config</source>
461 <source>${project.build.directory}/generated-sources/sal</source>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-jar-plugin</artifactId>
470 <version>2.4</version>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-javadoc-plugin</artifactId>
475 <version>2.8.1</version>
477 <stylesheet>maven</stylesheet>
478 <failOnError>false</failOnError>
483 <goal>aggregate</goal>
494 <groupId>org.codehaus.mojo</groupId>
495 <artifactId>findbugs-maven-plugin</artifactId>
496 <version>2.4.0</version>
499 <threshold>Low</threshold>
504 <groupId>org.codehaus.mojo</groupId>
505 <artifactId>jdepend-maven-plugin</artifactId>
506 <version>2.0-beta-2</version>