1 <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">
2 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>commons.opendaylight</artifactId>
7 <version>1.4.2-SNAPSHOT</version>
8 <relativePath>../commons/opendaylight</relativePath>
11 <artifactId>sal-parent</artifactId>
12 <version>1.1-SNAPSHOT</version>
13 <packaging>pom</packaging>
15 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
16 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
17 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
22 <!-- Common APIs & Implementation -->
23 <module>sal-common</module>
24 <module>sal-common-api</module>
25 <module>sal-common-impl</module>
26 <module>sal-common-util</module>
28 <!-- Binding Independent -->
29 <module>sal-dom-api</module>
30 <module>sal-dom-broker</module>
31 <module>sal-dom-spi</module>
33 <!-- Binding Aware -->
34 <module>sal-binding-api</module>
35 <module>sal-binding-config</module>
36 <module>sal-binding-broker</module>
38 <module>sal-binding-util</module>
39 <module>sal-binding-dom-it</module>
42 <module>samples</module>
45 <module>model</module>
46 <module>sal-remote</module>
47 <module>sal-restconf-broker</module>
51 <module>sal-connector-api</module>
52 <module>sal-rest-connector</module>
53 <module>sal-netconf-connector</module>
56 <module>inventory-manager</module>
57 <module>statistics-manager</module>
58 <module>topology-manager</module>
59 <module>forwardingrules-manager</module>
60 <module>topology-lldp-discovery</module>
62 <!-- Compability Packages -->
63 <module>compatibility</module>
66 <module>remoterpc-routingtable/implementation</module>
67 <module>sal-remoterpc-connector/implementation</module>
68 <module>clustered-data-store/implementation</module>
76 <id>integrationtests</id>
78 <activeByDefault>false</activeByDefault>
81 <module>sal-binding-it</module>
82 <!--module>clustered-data-store/integrationtest</module -->
83 <!--module>zeromq-routingtable/integrationtest</module -->
84 <!--module>sal-remoterpc-connector/integrationtest</module -->
85 <!--module>test/sal-rest-connector-it</modulei -->
92 <name>m2e.version</name>
96 <!-- Put the IDE's build output in a folder other than target,
97 so that IDE builds don't interact with Maven builds -->
98 <directory>target-ide</directory>
104 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
106 <!-- Plugin Versions -->
107 <bundle.plugin.version>2.4.0</bundle.plugin.version>
108 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
110 <!-- Dependency Versions -->
111 <mockito.version>1.9.5</mockito.version>
112 <xtend.version>2.4.3</xtend.version>
114 <!-- Sonar properties using jacoco to retrieve integration test results -->
115 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
116 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
117 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
118 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
119 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
120 <sonar.branch>${user.name}-private-view</sonar.branch>
121 <sonar.language>java</sonar.language>
122 <exam.version>3.0.0</exam.version>
123 <sal.version>0.7.1-SNAPSHOT</sal.version>
127 <!-- OpenDayLight Repo Mirror -->
129 <id>opendaylight-mirror</id>
130 <name>opendaylight-mirror</name>
131 <url>${nexusproxy}/groups/public/</url>
133 <enabled>false</enabled>
136 <enabled>true</enabled>
137 <updatePolicy>never</updatePolicy>
140 <!-- OpenDayLight Snapshot artifact -->
142 <id>opendaylight-snapshot</id>
143 <name>opendaylight-snapshot</name>
144 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
146 <enabled>true</enabled>
149 <enabled>false</enabled>
152 </pluginRepositories>
156 <!-- OpenDayLight Repo Mirror -->
158 <id>opendaylight-mirror</id>
159 <name>opendaylight-mirror</name>
160 <url>${nexusproxy}/groups/public/</url>
162 <enabled>false</enabled>
165 <enabled>true</enabled>
166 <updatePolicy>never</updatePolicy>
169 <!-- OpenDayLight Snapshot artifact -->
171 <id>opendaylight-snapshot</id>
172 <name>opendaylight-snapshot</name>
173 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
175 <enabled>true</enabled>
178 <enabled>false</enabled>
183 <distributionManagement>
184 <!-- OpenDayLight Released artifact -->
186 <id>opendaylight-release</id>
187 <url>${nexusproxy}/repositories/opendaylight.release/</url>
189 <!-- OpenDayLight Snapshot artifact -->
191 <id>opendaylight-snapshot</id>
192 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
193 </snapshotRepository>
194 <!-- Site deployment -->
197 <url>${sitedeploy}</url>
199 </distributionManagement>
202 <dependencyManagement>
205 <groupId>xml-apis</groupId>
206 <artifactId>xml-apis</artifactId>
207 <version>1.4.01</version>
210 <!-- YANG Tools Dependencies -->
212 <groupId>org.opendaylight.yangtools</groupId>
213 <artifactId>yang-binding</artifactId>
214 <version>${yangtools.version}</version>
217 <groupId>org.opendaylight.yangtools</groupId>
218 <artifactId>yang-model-util</artifactId>
219 <version>${yangtools.version}</version>
222 <groupId>org.opendaylight.yangtools</groupId>
223 <artifactId>yang-common</artifactId>
224 <version>${yangtools.version}</version>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>yang-data-api</artifactId>
229 <version>${yangtools.version}</version>
232 <groupId>org.opendaylight.yangtools</groupId>
233 <artifactId>yang-data-impl</artifactId>
234 <version>${yangtools.version}</version>
237 <groupId>org.opendaylight.yangtools</groupId>
238 <artifactId>yang-model-api</artifactId>
239 <version>${yangtools.version}</version>
242 <groupId>org.opendaylight.yangtools</groupId>
243 <artifactId>yang-data-util</artifactId>
244 <version>${yangtools.version}</version>
246 <!-- SAL Dependencies -->
248 <groupId>${project.groupId}</groupId>
249 <artifactId>sal-connector-api</artifactId>
250 <version>${project.version}</version>
253 <groupId>org.opendaylight.controller</groupId>
254 <artifactId>sal</artifactId>
255 <version>${sal.version}</version>
258 <groupId>org.osgi</groupId>
259 <artifactId>org.osgi.compendium</artifactId>
264 <!-- Supporting Libraries -->
266 <groupId>org.slf4j</groupId>
267 <artifactId>slf4j-api</artifactId>
268 <version>${slf4j.version}</version>
271 <groupId>com.google.guava</groupId>
272 <artifactId>guava</artifactId>
273 <version>${guava.version}</version>
276 <groupId>org.eclipse.xtend</groupId>
277 <artifactId>org.eclipse.xtend.lib</artifactId>
278 <version>${xtend.version}</version>
281 <groupId>org.osgi</groupId>
282 <artifactId>org.osgi.core</artifactId>
283 <version>${osgi.core.version}</version>
285 <!-- Testing Dependencies -->
287 <groupId>junit</groupId>
288 <artifactId>junit</artifactId>
289 <version>${junit.version}</version>
293 <groupId>org.mockito</groupId>
294 <artifactId>mockito-all</artifactId>
295 <version>${mockito.version}</version>
299 <groupId>org.opendaylight.yangtools</groupId>
300 <artifactId>binding-generator-impl</artifactId>
301 <version>${yangtools.version}</version>
304 <groupId>org.opendaylight.yangtools</groupId>
305 <artifactId>yang-parser-impl</artifactId>
306 <version>${yangtools.version}</version>
309 </dependencyManagement>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-release-plugin</artifactId>
316 <version>${releaseplugin.version}</version>
319 <groupId>org.apache.felix</groupId>
320 <artifactId>maven-bundle-plugin</artifactId>
321 <version>${bundle.plugin.version}</version>
322 <extensions>true</extensions>
323 <!--executions> <execution> <id>bundle-manifest</id>
324 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
328 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
330 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
334 <groupId>org.eclipse.xtend</groupId>
335 <artifactId>xtend-maven-plugin</artifactId>
336 <version>${xtend.version}</version>
343 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
349 <artifactId>maven-clean-plugin</artifactId>
350 <version>${maven.clean.plugin.version}</version>
354 <directory>${basedir}/src/main/xtend-gen</directory>
356 <include>**</include>
363 <groupId>org.jacoco</groupId>
364 <artifactId>jacoco-maven-plugin</artifactId>
365 <version>${jacoco.version}</version>
367 <!--This plugin's configuration is used to store Eclipse
368 m2e settings only. It has no influence on the Maven build itself. -->
370 <groupId>org.eclipse.m2e</groupId>
371 <artifactId>lifecycle-mapping</artifactId>
372 <version>1.0.0</version>
374 <lifecycleMappingMetadata>
377 <pluginExecutionFilter>
378 <groupId>org.opendaylight.yangtools</groupId>
379 <artifactId>yang-maven-plugin</artifactId>
380 <versionRange>[0,)</versionRange>
382 <goal>generate-sources</goal>
384 </pluginExecutionFilter>
390 <pluginExecutionFilter>
391 <groupId>net.alchim31.maven</groupId>
392 <artifactId>scala-maven-plugin</artifactId>
393 <versionRange>[0,)</versionRange>
396 <goal>testCompile</goal>
398 </pluginExecutionFilter>
404 <pluginExecutionFilter>
405 <groupId>org.jacoco</groupId>
406 <artifactId>jacoco-maven-plugin</artifactId>
407 <versionRange>[0,)</versionRange>
409 <goal>prepare-agent</goal>
411 </pluginExecutionFilter>
417 </lifecycleMappingMetadata>
425 <groupId>org.apache.felix</groupId>
426 <artifactId>maven-bundle-plugin</artifactId>
429 <groupId>org.codehaus.mojo</groupId>
430 <artifactId>build-helper-maven-plugin</artifactId>
431 <version>1.8</version>
435 <phase>generate-sources</phase>
437 <goal>add-source</goal>
441 <source>${project.build.directory}/generated-sources/config</source>
442 <source>${project.build.directory}/generated-sources/sal</source>
443 <source>src/main/xtend-gen</source>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-jar-plugin</artifactId>
452 <version>2.4</version>
455 <!-- FIXME: BUG-272: remove this configuration override -->
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-checkstyle-plugin</artifactId>
458 <version>${checkstyle.version}</version>
470 <groupId>org.codehaus.mojo</groupId>
471 <artifactId>findbugs-maven-plugin</artifactId>
472 <version>2.4.0</version>
475 <threshold>Low</threshold>
480 <groupId>org.codehaus.mojo</groupId>
481 <artifactId>jdepend-maven-plugin</artifactId>
482 <version>2.0-beta-2</version>