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>
39 <module>sal-remote</module>
40 <module>sal-restconf-broker</module>
44 <module>sal-connector-api</module>
45 <module>sal-rest-connector</module>
46 <module>sal-netconf-connector</module>
48 <module>remoterpc-routingtable/implementation</module>
49 <module>sal-remoterpc-connector/implementation</module>
50 <!-- Clustered Data Store -->
51 <module>clustered-data-store/implementation</module>
53 <module>inventory-manager</module>
54 <module>statistics-manager</module>
55 <module>topology-manager</module>
56 <module>forwardingrules-manager</module>
57 <module>topology-lldp-discovery</module>
59 <!-- Compability Packages -->
60 <module>compatibility</module>
66 <id>integrationtests</id>
68 <activeByDefault>false</activeByDefault>
71 <module>sal-binding-it</module>
72 <module>clustered-data-store/integrationtest</module>
73 <!--module>zeromq-routingtable/integrationtest</module -->
74 <!--module>sal-remoterpc-connector/integrationtest</module -->
75 <!--module>test/sal-rest-connector-it</modulei -->
82 <name>m2e.version</name>
86 <!-- Put the IDE's build output in a folder other than target,
87 so that IDE builds don't interact with Maven builds -->
88 <directory>target-ide</directory>
94 <yangtools.version>0.6.0-SNAPSHOT</yangtools.version>
95 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
96 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
97 <!-- Java Versions -->
98 <maven.compiler.source>1.7</maven.compiler.source>
99 <maven.compiler.target>1.7</maven.compiler.target>
101 <!-- Plugin Versions -->
102 <bundle.plugin.version>2.4.0</bundle.plugin.version>
103 <releaseplugin.version>2.3.2</releaseplugin.version>
105 <!-- Dependency Versions -->
106 <slf4j.version>1.7.2</slf4j.version>
107 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
108 <guava.version>14.0.1</guava.version>
109 <osgi.core.version>5.0.0</osgi.core.version>
110 <junit.version>4.8.1</junit.version>
111 <powermock.version>1.5.1</powermock.version>
112 <mockito.version>1.9.5</mockito.version>
113 <xtend.version>2.4.3</xtend.version>
114 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
115 <jacoco.version>0.5.3.201107060350</jacoco.version>
116 <sal.version>0.5.1-SNAPSHOT</sal.version> <!-- AD Sal version -->
118 <!-- Sonar properties using jacoco to retrieve integration test results -->
119 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
120 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
121 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
122 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
123 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
124 <sonar.branch>${user.name}-private-view</sonar.branch>
125 <sonar.language>java</sonar.language>
126 <exam.version>3.0.0</exam.version>
127 <sal.version>0.7.0-SNAPSHOT</sal.version>
131 <!-- OpenDayLight Repo Mirror -->
133 <id>opendaylight-mirror</id>
134 <name>opendaylight-mirror</name>
135 <url>${nexusproxy}/groups/public/</url>
137 <enabled>false</enabled>
140 <enabled>true</enabled>
141 <updatePolicy>never</updatePolicy>
144 <!-- OpenDayLight Snapshot artifact -->
146 <id>opendaylight-snapshot</id>
147 <name>opendaylight-snapshot</name>
148 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
150 <enabled>true</enabled>
153 <enabled>false</enabled>
156 </pluginRepositories>
160 <!-- OpenDayLight Repo Mirror -->
162 <id>opendaylight-mirror</id>
163 <name>opendaylight-mirror</name>
164 <url>${nexusproxy}/groups/public/</url>
166 <enabled>false</enabled>
169 <enabled>true</enabled>
170 <updatePolicy>never</updatePolicy>
173 <!-- OpenDayLight Snapshot artifact -->
175 <id>opendaylight-snapshot</id>
176 <name>opendaylight-snapshot</name>
177 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
179 <enabled>true</enabled>
182 <enabled>false</enabled>
187 <distributionManagement>
188 <!-- OpenDayLight Released artifact -->
190 <id>opendaylight-release</id>
191 <url>${nexusproxy}/repositories/opendaylight.release/</url>
193 <!-- OpenDayLight Snapshot artifact -->
195 <id>opendaylight-snapshot</id>
196 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
197 </snapshotRepository>
198 <!-- Site deployment -->
201 <url>${sitedeploy}</url>
203 </distributionManagement>
206 <dependencyManagement>
209 <groupId>xml-apis</groupId>
210 <artifactId>xml-apis</artifactId>
211 <version>1.4.01</version>
214 <!-- YANG Tools Dependencies -->
216 <groupId>org.opendaylight.yangtools</groupId>
217 <artifactId>yang-binding</artifactId>
218 <version>${yangtools.version}</version>
221 <groupId>org.opendaylight.yangtools</groupId>
222 <artifactId>yang-model-util</artifactId>
223 <version>${yangtools.version}</version>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>yang-common</artifactId>
228 <version>${yangtools.version}</version>
231 <groupId>org.opendaylight.yangtools</groupId>
232 <artifactId>yang-data-api</artifactId>
233 <version>${yangtools.version}</version>
236 <groupId>org.opendaylight.yangtools</groupId>
237 <artifactId>yang-data-impl</artifactId>
238 <version>${yangtools.version}</version>
241 <groupId>org.opendaylight.yangtools</groupId>
242 <artifactId>yang-model-api</artifactId>
243 <version>${yangtools.version}</version>
246 <groupId>org.opendaylight.yangtools</groupId>
247 <artifactId>yang-data-util</artifactId>
248 <version>${yangtools.version}</version>
250 <!-- SAL Dependencies -->
252 <groupId>${project.groupId}</groupId>
253 <artifactId>sal-connector-api</artifactId>
254 <version>${project.version}</version>
257 <groupId>org.opendaylight.controller</groupId>
258 <artifactId>sal</artifactId>
259 <version>${sal.version}</version>
262 <groupId>org.osgi</groupId>
263 <artifactId>org.osgi.compendium</artifactId>
268 <!-- Supporting Libraries -->
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>${slf4j.version}</version>
275 <groupId>com.google.guava</groupId>
276 <artifactId>guava</artifactId>
277 <version>${guava.version}</version>
280 <groupId>org.eclipse.xtend</groupId>
281 <artifactId>org.eclipse.xtend.lib</artifactId>
282 <version>${xtend.version}</version>
285 <groupId>org.osgi</groupId>
286 <artifactId>org.osgi.core</artifactId>
287 <version>${osgi.core.version}</version>
289 <!-- Testing Dependencies -->
291 <groupId>junit</groupId>
292 <artifactId>junit</artifactId>
293 <version>${junit.version}</version>
297 <groupId>org.mockito</groupId>
298 <artifactId>mockito-all</artifactId>
299 <version>${mockito.version}</version>
303 <groupId>org.powermock</groupId>
304 <artifactId>powermock-module-junit4</artifactId>
305 <version>${powermock.version}</version>
309 <groupId>org.powermock</groupId>
310 <artifactId>powermock-api-mockito</artifactId>
311 <version>${powermock.version}</version>
315 <groupId>org.powermock</groupId>
316 <artifactId>powermock-core</artifactId>
317 <version>${powermock.version}</version>
321 <groupId>org.opendaylight.yangtools</groupId>
322 <artifactId>binding-generator-impl</artifactId>
323 <version>0.6.0-SNAPSHOT</version>
326 <groupId>org.opendaylight.yangtools</groupId>
327 <artifactId>yang-parser-impl</artifactId>
328 <version>0.6.0-SNAPSHOT</version>
331 </dependencyManagement>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-release-plugin</artifactId>
338 <version>${releaseplugin.version}</version>
341 <groupId>org.apache.felix</groupId>
342 <artifactId>maven-bundle-plugin</artifactId>
343 <version>${bundle.plugin.version}</version>
344 <extensions>true</extensions>
345 <!--executions> <execution> <id>bundle-manifest</id>
346 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
350 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
352 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
356 <groupId>org.eclipse.xtend</groupId>
357 <artifactId>xtend-maven-plugin</artifactId>
358 <version>${xtend.version}</version>
365 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
371 <artifactId>maven-clean-plugin</artifactId>
372 <version>${maven.clean.plugin.version}</version>
376 <directory>${basedir}/src/main/xtend-gen</directory>
378 <include>**</include>
385 <groupId>org.jacoco</groupId>
386 <artifactId>jacoco-maven-plugin</artifactId>
387 <version>${jacoco.version}</version>
389 <!--This plugin's configuration is used to store Eclipse
390 m2e settings only. It has no influence on the Maven build itself. -->
392 <groupId>org.eclipse.m2e</groupId>
393 <artifactId>lifecycle-mapping</artifactId>
394 <version>1.0.0</version>
396 <lifecycleMappingMetadata>
399 <pluginExecutionFilter>
400 <groupId>org.opendaylight.yangtools</groupId>
401 <artifactId>yang-maven-plugin</artifactId>
402 <versionRange>[0,)</versionRange>
404 <goal>generate-sources</goal>
406 </pluginExecutionFilter>
412 <pluginExecutionFilter>
413 <groupId>net.alchim31.maven</groupId>
414 <artifactId>scala-maven-plugin</artifactId>
415 <versionRange>[0,)</versionRange>
418 <goal>testCompile</goal>
420 </pluginExecutionFilter>
426 <pluginExecutionFilter>
427 <groupId>org.jacoco</groupId>
428 <artifactId>jacoco-maven-plugin</artifactId>
429 <versionRange>[0,)</versionRange>
431 <goal>prepare-agent</goal>
433 </pluginExecutionFilter>
439 </lifecycleMappingMetadata>
447 <groupId>org.apache.felix</groupId>
448 <artifactId>maven-bundle-plugin</artifactId>
451 <groupId>org.codehaus.mojo</groupId>
452 <artifactId>build-helper-maven-plugin</artifactId>
453 <version>1.8</version>
457 <phase>generate-sources</phase>
459 <goal>add-source</goal>
463 <source>${project.build.directory}/generated-sources/config</source>
464 <source>${project.build.directory}/generated-sources/sal</source>
465 <source>src/main/xtend-gen</source>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-jar-plugin</artifactId>
474 <version>2.4</version>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-javadoc-plugin</artifactId>
479 <version>2.8.1</version>
481 <stylesheet>maven</stylesheet>
482 <failOnError>false</failOnError>
487 <goal>aggregate</goal>
498 <groupId>org.codehaus.mojo</groupId>
499 <artifactId>findbugs-maven-plugin</artifactId>
500 <version>2.4.0</version>
503 <threshold>Low</threshold>
508 <groupId>org.codehaus.mojo</groupId>
509 <artifactId>jdepend-maven-plugin</artifactId>
510 <version>2.0-beta-2</version>