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>
123 <exam.version>3.0.0</exam.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>${yang.binding.version}</version>
217 <groupId>org.opendaylight.yangtools</groupId>
218 <artifactId>yang-common</artifactId>
219 <version>${yang.version}</version>
222 <groupId>org.opendaylight.yangtools</groupId>
223 <artifactId>yang-data-api</artifactId>
224 <version>${yang.version}</version>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>yang-data-impl</artifactId>
229 <version>${yang.version}</version>
232 <groupId>org.opendaylight.yangtools</groupId>
233 <artifactId>yang-model-api</artifactId>
234 <version>${yang.version}</version>
237 <groupId>org.opendaylight.yangtools</groupId>
238 <artifactId>yang-data-util</artifactId>
239 <version>${yang.version}</version>
241 <!-- SAL Dependencies -->
243 <groupId>${project.groupId}</groupId>
244 <artifactId>sal-connector-api</artifactId>
245 <version>${project.version}</version>
248 <groupId>org.opendaylight.controller</groupId>
249 <artifactId>sal</artifactId>
250 <version>${sal.version}</version>
253 <groupId>org.osgi</groupId>
254 <artifactId>org.osgi.compendium</artifactId>
259 <!-- Supporting Libraries -->
261 <groupId>org.slf4j</groupId>
262 <artifactId>slf4j-api</artifactId>
263 <version>${slf4j.version}</version>
266 <groupId>com.google.guava</groupId>
267 <artifactId>guava</artifactId>
268 <version>${guava.version}</version>
271 <groupId>org.eclipse.xtend</groupId>
272 <artifactId>org.eclipse.xtend.lib</artifactId>
273 <version>${xtend.version}</version>
276 <groupId>org.osgi</groupId>
277 <artifactId>org.osgi.core</artifactId>
278 <version>${osgi.core.version}</version>
280 <!-- Testing Dependencies -->
282 <groupId>junit</groupId>
283 <artifactId>junit</artifactId>
284 <version>${junit.version}</version>
288 <groupId>org.mockito</groupId>
289 <artifactId>mockito-all</artifactId>
290 <version>${mockito.version}</version>
294 <groupId>org.powermock</groupId>
295 <artifactId>powermock-module-junit4</artifactId>
296 <version>${powermock.version}</version>
300 <groupId>org.powermock</groupId>
301 <artifactId>powermock-api-mockito</artifactId>
302 <version>${powermock.version}</version>
306 <groupId>org.powermock</groupId>
307 <artifactId>powermock-core</artifactId>
308 <version>${powermock.version}</version>
312 </dependencyManagement>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-release-plugin</artifactId>
319 <version>${releaseplugin.version}</version>
322 <groupId>org.apache.felix</groupId>
323 <artifactId>maven-bundle-plugin</artifactId>
324 <version>${bundle.plugin.version}</version>
325 <extensions>true</extensions>
326 <!--executions> <execution> <id>bundle-manifest</id>
327 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
331 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
333 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
337 <groupId>org.eclipse.xtend</groupId>
338 <artifactId>xtend-maven-plugin</artifactId>
339 <version>${xtend.version}</version>
346 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
352 <artifactId>maven-clean-plugin</artifactId>
353 <version>${maven.clean.plugin.version}</version>
357 <directory>${basedir}/src/main/xtend-gen</directory>
359 <include>**</include>
366 <groupId>org.jacoco</groupId>
367 <artifactId>jacoco-maven-plugin</artifactId>
368 <version>${jacoco.version}</version>
370 <!--This plugin's configuration is used to store Eclipse
371 m2e settings only. It has no influence on the Maven build itself. -->
373 <groupId>org.eclipse.m2e</groupId>
374 <artifactId>lifecycle-mapping</artifactId>
375 <version>1.0.0</version>
377 <lifecycleMappingMetadata>
380 <pluginExecutionFilter>
381 <groupId>org.opendaylight.yangtools</groupId>
382 <artifactId>yang-maven-plugin</artifactId>
383 <versionRange>[0,)</versionRange>
385 <goal>generate-sources</goal>
387 </pluginExecutionFilter>
393 <pluginExecutionFilter>
394 <groupId>net.alchim31.maven</groupId>
395 <artifactId>scala-maven-plugin</artifactId>
396 <versionRange>[0,)</versionRange>
399 <goal>testCompile</goal>
401 </pluginExecutionFilter>
407 <pluginExecutionFilter>
408 <groupId>org.jacoco</groupId>
409 <artifactId>jacoco-maven-plugin</artifactId>
410 <versionRange>[0,)</versionRange>
412 <goal>prepare-agent</goal>
414 </pluginExecutionFilter>
420 </lifecycleMappingMetadata>
428 <groupId>org.apache.felix</groupId>
429 <artifactId>maven-bundle-plugin</artifactId>
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>build-helper-maven-plugin</artifactId>
434 <version>1.8</version>
438 <phase>generate-sources</phase>
440 <goal>add-source</goal>
444 <source>${project.build.directory}/generated-sources/config</source>
445 <source>${project.build.directory}/generated-sources/sal</source>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-jar-plugin</artifactId>
454 <version>2.4</version>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-javadoc-plugin</artifactId>
459 <version>2.8.1</version>
461 <stylesheet>maven</stylesheet>
462 <failOnError>false</failOnError>
467 <goal>aggregate</goal>
478 <groupId>org.codehaus.mojo</groupId>
479 <artifactId>findbugs-maven-plugin</artifactId>
480 <version>2.4.0</version>
483 <threshold>Low</threshold>
488 <groupId>org.codehaus.mojo</groupId>
489 <artifactId>jdepend-maven-plugin</artifactId>
490 <version>2.0-beta-2</version>