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>
34 <module>samples</module>
37 <module>model</module>
41 <module>sal-connector-api</module>
42 <module>sal-rest-connector</module>
44 <!-- Clustered Data Store -->
45 <module>clustered-data-store/implementation</module>
47 <module>inventory-manager</module>
48 <module>statistics-manager</module>
49 <module>forwardingrules-manager</module>
51 <!-- Compability Packages -->
52 <module>compatibility</module>
54 <module>sal-zeromq-connector</module>
60 <id>integrationtests</id>
62 <activeByDefault>false</activeByDefault>
65 <module>sal-binding-it</module>
66 <module>clustered-data-store/integrationtest</module>
74 <name>m2e.version</name>
78 <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
79 <directory>target-ide</directory>
85 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
86 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
87 <!-- Java Versions -->
88 <maven.compiler.source>1.7</maven.compiler.source>
89 <maven.compiler.target>1.7</maven.compiler.target>
91 <!-- Plugin Versions -->
92 <bundle.plugin.version>2.4.0</bundle.plugin.version>
93 <releaseplugin.version>2.3.2</releaseplugin.version>
95 <!-- Dependency Versions -->
96 <slf4j.version>1.7.2</slf4j.version>
97 <yang.version>0.5.9-SNAPSHOT</yang.version>
98 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
99 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
100 <guava.version>14.0.1</guava.version>
101 <osgi.core.version>5.0.0</osgi.core.version>
102 <junit.version>4.8.1</junit.version>
103 <xtend.version>2.4.3</xtend.version>
104 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
105 <jacoco.version>0.5.3.201107060350</jacoco.version>
106 <!-- Sonar properties using jacoco to retrieve integration test results -->
107 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
108 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
109 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
110 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
111 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
112 <sonar.branch>${user.name}-private-view</sonar.branch>
113 <sonar.language>java</sonar.language>
117 <!-- OpenDayLight Repo Mirror -->
119 <id>opendaylight-mirror</id>
120 <name>opendaylight-mirror</name>
121 <url>${nexusproxy}/groups/public/</url>
123 <enabled>false</enabled>
126 <enabled>true</enabled>
127 <updatePolicy>never</updatePolicy>
130 <!-- OpenDayLight Snapshot artifact -->
132 <id>opendaylight-snapshot</id>
133 <name>opendaylight-snapshot</name>
134 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
136 <enabled>true</enabled>
139 <enabled>false</enabled>
142 </pluginRepositories>
146 <!-- OpenDayLight Repo Mirror -->
148 <id>opendaylight-mirror</id>
149 <name>opendaylight-mirror</name>
150 <url>${nexusproxy}/groups/public/</url>
152 <enabled>false</enabled>
155 <enabled>true</enabled>
156 <updatePolicy>never</updatePolicy>
159 <!-- OpenDayLight Snapshot artifact -->
161 <id>opendaylight-snapshot</id>
162 <name>opendaylight-snapshot</name>
163 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
165 <enabled>true</enabled>
168 <enabled>false</enabled>
173 <distributionManagement>
174 <!-- OpenDayLight Released artifact -->
176 <id>opendaylight-release</id>
177 <url>${nexusproxy}/repositories/opendaylight.release/</url>
179 <!-- OpenDayLight Snapshot artifact -->
181 <id>opendaylight-snapshot</id>
182 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
183 </snapshotRepository>
184 <!-- Site deployment -->
187 <url>${sitedeploy}</url>
189 </distributionManagement>
192 <dependencyManagement>
198 <!-- YANG Tools Dependencies -->
200 <groupId>org.opendaylight.yangtools</groupId>
201 <artifactId>yang-binding</artifactId>
202 <version>${yang.binding.version}</version>
205 <groupId>org.opendaylight.yangtools</groupId>
206 <artifactId>yang-common</artifactId>
207 <version>${yang.version}</version>
210 <groupId>org.opendaylight.yangtools</groupId>
211 <artifactId>yang-data-api</artifactId>
212 <version>${yang.version}</version>
215 <groupId>org.opendaylight.yangtools</groupId>
216 <artifactId>yang-model-api</artifactId>
217 <version>${yang.version}</version>
220 <groupId>org.opendaylight.yangtools</groupId>
221 <artifactId>yang-data-util</artifactId>
222 <version>${yang.version}</version>
224 <!-- SAL Dependencies -->
226 <groupId>${project.groupId}</groupId>
227 <artifactId>sal-connector-api</artifactId>
228 <version>${project.version}</version>
231 <!-- Supporting Libraries -->
233 <groupId>org.slf4j</groupId>
234 <artifactId>slf4j-api</artifactId>
235 <version>${slf4j.version}</version>
238 <groupId>com.google.guava</groupId>
239 <artifactId>guava</artifactId>
240 <version>${guava.version}</version>
243 <groupId>org.eclipse.xtend</groupId>
244 <artifactId>org.eclipse.xtend.lib</artifactId>
245 <version>${xtend.version}</version>
248 <!-- Testing Dependencies -->
250 <groupId>junit</groupId>
251 <artifactId>junit</artifactId>
252 <version>${junit.version}</version>
256 <groupId>org.mockito</groupId>
257 <artifactId>mockito-all</artifactId>
258 <version>1.9.5</version>
262 </dependencyManagement>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-release-plugin</artifactId>
269 <version>${releaseplugin.version}</version>
272 <groupId>org.apache.felix</groupId>
273 <artifactId>maven-bundle-plugin</artifactId>
274 <version>${bundle.plugin.version}</version>
275 <extensions>true</extensions>
278 <id>bundle-manifest</id>
279 <phase>process-classes</phase>
281 <goal>manifest</goal>
287 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
289 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
293 <groupId>org.eclipse.xtend</groupId>
294 <artifactId>xtend-maven-plugin</artifactId>
295 <version>${xtend.version}</version>
302 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
308 <artifactId>maven-clean-plugin</artifactId>
309 <version>${maven.clean.plugin.version}</version>
313 <directory>${basedir}/src/main/xtend-gen</directory>
315 <include>**</include>
322 <groupId>org.jacoco</groupId>
323 <artifactId>jacoco-maven-plugin</artifactId>
324 <version>${jacoco.version}</version>
326 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
328 <groupId>org.eclipse.m2e</groupId>
329 <artifactId>lifecycle-mapping</artifactId>
330 <version>1.0.0</version>
332 <lifecycleMappingMetadata>
335 <pluginExecutionFilter>
336 <groupId>org.opendaylight.yangtools</groupId>
337 <artifactId>yang-maven-plugin</artifactId>
338 <versionRange>[0,)</versionRange>
340 <goal>generate-sources</goal>
342 </pluginExecutionFilter>
348 <pluginExecutionFilter>
349 <groupId>net.alchim31.maven</groupId>
350 <artifactId>scala-maven-plugin</artifactId>
351 <versionRange>[0,)</versionRange>
354 <goal>testCompile</goal>
356 </pluginExecutionFilter>
362 <pluginExecutionFilter>
363 <groupId>org.jacoco</groupId>
364 <artifactId>jacoco-maven-plugin</artifactId>
365 <versionRange>[0,)</versionRange>
367 <goal>prepare-agent</goal>
369 </pluginExecutionFilter>
375 </lifecycleMappingMetadata>
383 <groupId>org.apache.felix</groupId>
384 <artifactId>maven-bundle-plugin</artifactId>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-jar-plugin</artifactId>
389 <version>2.4</version>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-javadoc-plugin</artifactId>
394 <version>2.8.1</version>
396 <stylesheet>maven</stylesheet>
397 <failOnError>false</failOnError>
402 <goal>aggregate</goal>
413 <groupId>org.codehaus.mojo</groupId>
414 <artifactId>findbugs-maven-plugin</artifactId>
415 <version>2.4.0</version>
418 <threshold>Low</threshold>
423 <groupId>org.codehaus.mojo</groupId>
424 <artifactId>jdepend-maven-plugin</artifactId>
425 <version>2.0-beta-2</version>