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 <!-- Compability Packages -->
49 <module>compatibility</module>
51 <module>sal-zeromq-connector</module>
58 <id>integrationtests</id>
60 <activeByDefault>false</activeByDefault>
63 <module>sal-binding-it</module>
64 <module>clustered-data-store/integrationtest</module>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
71 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
72 <!-- Java Versions -->
73 <maven.compiler.source>1.7</maven.compiler.source>
74 <maven.compiler.target>1.7</maven.compiler.target>
76 <!-- Plugin Versions -->
77 <bundle.plugin.version>2.4.0</bundle.plugin.version>
78 <releaseplugin.version>2.3.2</releaseplugin.version>
80 <!-- Dependency Versions -->
81 <slf4j.version>1.7.2</slf4j.version>
82 <yang.version>0.5.9-SNAPSHOT</yang.version>
83 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
84 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
85 <guava.version>14.0.1</guava.version>
86 <osgi.core.version>5.0.0</osgi.core.version>
87 <junit.version>4.8.1</junit.version>
88 <xtend.version>2.4.3</xtend.version>
89 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
90 <jacoco.version>0.5.3.201107060350</jacoco.version>
91 <!-- Sonar properties using jacoco to retrieve integration test results -->
92 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
93 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
94 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
95 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
96 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
97 <sonar.branch>${user.name}-private-view</sonar.branch>
98 <sonar.language>java</sonar.language>
102 <!-- OpenDayLight Repo Mirror -->
104 <id>opendaylight-mirror</id>
105 <name>opendaylight-mirror</name>
106 <url>${nexusproxy}/groups/public/</url>
108 <enabled>false</enabled>
111 <enabled>true</enabled>
112 <updatePolicy>never</updatePolicy>
115 <!-- OpenDayLight Snapshot artifact -->
117 <id>opendaylight-snapshot</id>
118 <name>opendaylight-snapshot</name>
119 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
121 <enabled>true</enabled>
124 <enabled>false</enabled>
127 </pluginRepositories>
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>
158 <distributionManagement>
159 <!-- OpenDayLight Released artifact -->
161 <id>opendaylight-release</id>
162 <url>${nexusproxy}/repositories/opendaylight.release/</url>
164 <!-- OpenDayLight Snapshot artifact -->
166 <id>opendaylight-snapshot</id>
167 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
168 </snapshotRepository>
169 <!-- Site deployment -->
172 <url>${sitedeploy}</url>
174 </distributionManagement>
177 <dependencyManagement>
183 <!-- YANG Tools Dependencies -->
185 <groupId>org.opendaylight.yangtools</groupId>
186 <artifactId>yang-binding</artifactId>
187 <version>${yang.binding.version}</version>
190 <groupId>org.opendaylight.yangtools</groupId>
191 <artifactId>yang-common</artifactId>
192 <version>${yang.version}</version>
195 <groupId>org.opendaylight.yangtools</groupId>
196 <artifactId>yang-data-api</artifactId>
197 <version>${yang.version}</version>
200 <groupId>org.opendaylight.yangtools</groupId>
201 <artifactId>yang-model-api</artifactId>
202 <version>${yang.version}</version>
205 <groupId>org.opendaylight.yangtools</groupId>
206 <artifactId>yang-data-util</artifactId>
207 <version>${yang.version}</version>
209 <!-- SAL Dependencies -->
211 <groupId>${project.groupId}</groupId>
212 <artifactId>sal-connector-api</artifactId>
213 <version>${project.version}</version>
216 <!-- Supporting Libraries -->
218 <groupId>org.slf4j</groupId>
219 <artifactId>slf4j-api</artifactId>
220 <version>${slf4j.version}</version>
223 <groupId>com.google.guava</groupId>
224 <artifactId>guava</artifactId>
225 <version>${guava.version}</version>
228 <groupId>org.eclipse.xtend</groupId>
229 <artifactId>org.eclipse.xtend.lib</artifactId>
230 <version>${xtend.version}</version>
233 <!-- Testing Dependencies -->
235 <groupId>junit</groupId>
236 <artifactId>junit</artifactId>
237 <version>${junit.version}</version>
241 <groupId>org.mockito</groupId>
242 <artifactId>mockito-all</artifactId>
243 <version>1.9.5</version>
247 </dependencyManagement>
251 <!--This plugin's configuration is used to store Eclipse
252 m2e settings only. It has no influence on the Maven build itself. -->
254 <groupId>org.eclipse.m2e</groupId>
255 <artifactId>lifecycle-mapping</artifactId>
256 <version>1.0.0</version>
258 <lifecycleMappingMetadata>
261 <pluginExecutionFilter>
262 <groupId>org.jacoco</groupId>
263 <artifactId>jacoco-maven-plugin</artifactId>
264 <versionRange>[0.0,)</versionRange>
266 <goal>prepare-agent</goal>
267 <goal>pre-test</goal>
268 <goal>post-test</goal>
270 </pluginExecutionFilter>
276 </lifecycleMappingMetadata>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-release-plugin</artifactId>
282 <version>${releaseplugin.version}</version>
285 <groupId>org.apache.felix</groupId>
286 <artifactId>maven-bundle-plugin</artifactId>
287 <version>${bundle.plugin.version}</version>
288 <extensions>true</extensions>
291 <id>bundle-manifest</id>
292 <phase>process-classes</phase>
294 <goal>manifest</goal>
300 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
302 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
306 <groupId>org.eclipse.xtend</groupId>
307 <artifactId>xtend-maven-plugin</artifactId>
308 <version>${xtend.version}</version>
315 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
321 <artifactId>maven-clean-plugin</artifactId>
322 <version>${maven.clean.plugin.version}</version>
326 <directory>${basedir}/src/main/xtend-gen</directory>
328 <include>**</include>
335 <groupId>org.jacoco</groupId>
336 <artifactId>jacoco-maven-plugin</artifactId>
337 <version>${jacoco.version}</version>
339 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
341 <groupId>org.eclipse.m2e</groupId>
342 <artifactId>lifecycle-mapping</artifactId>
343 <version>1.0.0</version>
345 <lifecycleMappingMetadata>
348 <pluginExecutionFilter>
350 org.opendaylight.yangtools
363 </pluginExecutionFilter>
369 <pluginExecutionFilter>
370 <groupId>org.jacoco</groupId>
375 [0.5.3.201107060350,)
378 <goal>prepare-agent</goal>
380 </pluginExecutionFilter>
386 </lifecycleMappingMetadata>
394 <groupId>org.apache.felix</groupId>
395 <artifactId>maven-bundle-plugin</artifactId>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-jar-plugin</artifactId>
400 <version>2.4</version>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-javadoc-plugin</artifactId>
405 <version>2.8.1</version>
407 <stylesheet>maven</stylesheet>
408 <failOnError>false</failOnError>
413 <goal>aggregate</goal>
424 <groupId>org.codehaus.mojo</groupId>
425 <artifactId>findbugs-maven-plugin</artifactId>
426 <version>2.4.0</version>
429 <threshold>Low</threshold>
434 <groupId>org.codehaus.mojo</groupId>
435 <artifactId>jdepend-maven-plugin</artifactId>
436 <version>2.0-beta-2</version>