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>zeromq-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>forwardingrules-manager</module>
55 <!-- Compability Packages -->
56 <module>compatibility</module>
62 <id>integrationtests</id>
64 <activeByDefault>false</activeByDefault>
67 <module>sal-binding-it</module>
68 <module>clustered-data-store/integrationtest</module>
69 <!--module>zeromq-routingtable/integrationtest</module -->
70 <!--module>sal-remoterpc-connector/integrationtest</module -->
71 <!--module>test/sal-rest-connector-it</modulei -->
78 <name>m2e.version</name>
82 <!-- Put the IDE's build output in a folder other than target,
83 so that IDE builds don't interact with Maven builds -->
84 <directory>target-ide</directory>
90 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
92 <!-- Java Versions -->
93 <maven.compiler.source>1.7</maven.compiler.source>
94 <maven.compiler.target>1.7</maven.compiler.target>
96 <!-- Plugin Versions -->
97 <bundle.plugin.version>2.4.0</bundle.plugin.version>
98 <releaseplugin.version>2.3.2</releaseplugin.version>
100 <!-- Dependency Versions -->
101 <slf4j.version>1.7.2</slf4j.version>
102 <yang.version>0.5.9-SNAPSHOT</yang.version>
103 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
104 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
105 <guava.version>14.0.1</guava.version>
106 <osgi.core.version>5.0.0</osgi.core.version>
107 <junit.version>4.8.1</junit.version>
108 <powermock.version>1.5.1</powermock.version>
109 <mockito.version>1.9.5</mockito.version>
110 <xtend.version>2.4.3</xtend.version>
111 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
112 <jacoco.version>0.5.3.201107060350</jacoco.version>
113 <sal.version>0.5.1-SNAPSHOT</sal.version> <!-- AD Sal version -->
115 <!-- Sonar properties using jacoco to retrieve integration test results -->
116 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
117 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
118 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
119 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
120 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
121 <sonar.branch>${user.name}-private-view</sonar.branch>
122 <sonar.language>java</sonar.language>
126 <!-- OpenDayLight Repo Mirror -->
128 <id>opendaylight-mirror</id>
129 <name>opendaylight-mirror</name>
130 <url>${nexusproxy}/groups/public/</url>
132 <enabled>false</enabled>
135 <enabled>true</enabled>
136 <updatePolicy>never</updatePolicy>
139 <!-- OpenDayLight Snapshot artifact -->
141 <id>opendaylight-snapshot</id>
142 <name>opendaylight-snapshot</name>
143 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
145 <enabled>true</enabled>
148 <enabled>false</enabled>
151 </pluginRepositories>
155 <!-- OpenDayLight Repo Mirror -->
157 <id>opendaylight-mirror</id>
158 <name>opendaylight-mirror</name>
159 <url>${nexusproxy}/groups/public/</url>
161 <enabled>false</enabled>
164 <enabled>true</enabled>
165 <updatePolicy>never</updatePolicy>
168 <!-- OpenDayLight Snapshot artifact -->
170 <id>opendaylight-snapshot</id>
171 <name>opendaylight-snapshot</name>
172 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
174 <enabled>true</enabled>
177 <enabled>false</enabled>
182 <distributionManagement>
183 <!-- OpenDayLight Released artifact -->
185 <id>opendaylight-release</id>
186 <url>${nexusproxy}/repositories/opendaylight.release/</url>
188 <!-- OpenDayLight Snapshot artifact -->
190 <id>opendaylight-snapshot</id>
191 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
192 </snapshotRepository>
193 <!-- Site deployment -->
196 <url>${sitedeploy}</url>
198 </distributionManagement>
201 <dependencyManagement>
204 <groupId>xml-apis</groupId>
205 <artifactId>xml-apis</artifactId>
206 <version>1.4.01</version>
209 <!-- YANG Tools Dependencies -->
211 <groupId>org.opendaylight.yangtools</groupId>
212 <artifactId>yang-binding</artifactId>
213 <version>${yang.binding.version}</version>
216 <groupId>org.opendaylight.yangtools</groupId>
217 <artifactId>yang-common</artifactId>
218 <version>${yang.version}</version>
221 <groupId>org.opendaylight.yangtools</groupId>
222 <artifactId>yang-data-api</artifactId>
223 <version>${yang.version}</version>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>yang-data-impl</artifactId>
228 <version>${yang.version}</version>
231 <groupId>org.opendaylight.yangtools</groupId>
232 <artifactId>yang-model-api</artifactId>
233 <version>${yang.version}</version>
236 <groupId>org.opendaylight.yangtools</groupId>
237 <artifactId>yang-data-util</artifactId>
238 <version>${yang.version}</version>
240 <!-- SAL Dependencies -->
242 <groupId>${project.groupId}</groupId>
243 <artifactId>sal-connector-api</artifactId>
244 <version>${project.version}</version>
247 <groupId>org.opendaylight.controller</groupId>
248 <artifactId>sal</artifactId>
249 <version>${sal.version}</version>
252 <groupId>org.osgi</groupId>
253 <artifactId>org.osgi.compendium</artifactId>
258 <!-- Supporting Libraries -->
260 <groupId>org.slf4j</groupId>
261 <artifactId>slf4j-api</artifactId>
262 <version>${slf4j.version}</version>
265 <groupId>com.google.guava</groupId>
266 <artifactId>guava</artifactId>
267 <version>${guava.version}</version>
270 <groupId>org.eclipse.xtend</groupId>
271 <artifactId>org.eclipse.xtend.lib</artifactId>
272 <version>${xtend.version}</version>
275 <groupId>org.osgi</groupId>
276 <artifactId>org.osgi.core</artifactId>
277 <version>${osgi.core.version}</version>
279 <!-- Testing Dependencies -->
281 <groupId>junit</groupId>
282 <artifactId>junit</artifactId>
283 <version>${junit.version}</version>
287 <groupId>org.mockito</groupId>
288 <artifactId>mockito-all</artifactId>
289 <version>${mockito.version}</version>
293 <groupId>org.powermock</groupId>
294 <artifactId>powermock-module-junit4</artifactId>
295 <version>${powermock.version}</version>
299 <groupId>org.powermock</groupId>
300 <artifactId>powermock-api-mockito</artifactId>
301 <version>${powermock.version}</version>
305 <groupId>org.powermock</groupId>
306 <artifactId>powermock-core</artifactId>
307 <version>${powermock.version}</version>
311 </dependencyManagement>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-release-plugin</artifactId>
318 <version>${releaseplugin.version}</version>
321 <groupId>org.apache.felix</groupId>
322 <artifactId>maven-bundle-plugin</artifactId>
323 <version>${bundle.plugin.version}</version>
324 <extensions>true</extensions>
325 <!--executions> <execution> <id>bundle-manifest</id>
326 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
330 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
332 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
336 <groupId>org.eclipse.xtend</groupId>
337 <artifactId>xtend-maven-plugin</artifactId>
338 <version>${xtend.version}</version>
345 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
351 <artifactId>maven-clean-plugin</artifactId>
352 <version>${maven.clean.plugin.version}</version>
356 <directory>${basedir}/src/main/xtend-gen</directory>
358 <include>**</include>
365 <groupId>org.jacoco</groupId>
366 <artifactId>jacoco-maven-plugin</artifactId>
367 <version>${jacoco.version}</version>
369 <!--This plugin's configuration is used to store Eclipse
370 m2e settings only. It has no influence on the Maven build itself. -->
372 <groupId>org.eclipse.m2e</groupId>
373 <artifactId>lifecycle-mapping</artifactId>
374 <version>1.0.0</version>
376 <lifecycleMappingMetadata>
379 <pluginExecutionFilter>
380 <groupId>org.opendaylight.yangtools</groupId>
381 <artifactId>yang-maven-plugin</artifactId>
382 <versionRange>[0,)</versionRange>
384 <goal>generate-sources</goal>
386 </pluginExecutionFilter>
392 <pluginExecutionFilter>
393 <groupId>net.alchim31.maven</groupId>
394 <artifactId>scala-maven-plugin</artifactId>
395 <versionRange>[0,)</versionRange>
398 <goal>testCompile</goal>
400 </pluginExecutionFilter>
406 <pluginExecutionFilter>
407 <groupId>org.jacoco</groupId>
408 <artifactId>jacoco-maven-plugin</artifactId>
409 <versionRange>[0,)</versionRange>
411 <goal>prepare-agent</goal>
413 </pluginExecutionFilter>
419 </lifecycleMappingMetadata>
427 <groupId>org.apache.felix</groupId>
428 <artifactId>maven-bundle-plugin</artifactId>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-jar-plugin</artifactId>
433 <version>2.4</version>
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-javadoc-plugin</artifactId>
438 <version>2.8.1</version>
440 <stylesheet>maven</stylesheet>
441 <failOnError>false</failOnError>
446 <goal>aggregate</goal>
457 <groupId>org.codehaus.mojo</groupId>
458 <artifactId>findbugs-maven-plugin</artifactId>
459 <version>2.4.0</version>
462 <threshold>Low</threshold>
467 <groupId>org.codehaus.mojo</groupId>
468 <artifactId>jdepend-maven-plugin</artifactId>
469 <version>2.0-beta-2</version>