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>
53 <module>zeromq-routingtable/implementation</module>
54 <module>sal-zeromq-connector</module>
60 <id>integrationtests</id>
62 <activeByDefault>false</activeByDefault>
65 <module>sal-binding-it</module>
66 <module>zeromq-routingtable/integrationtest</module>
67 <module>clustered-data-store/integrationtest</module>
75 <name>m2e.version</name>
79 <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
80 <directory>target-ide</directory>
86 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
87 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
88 <!-- Java Versions -->
89 <maven.compiler.source>1.7</maven.compiler.source>
90 <maven.compiler.target>1.7</maven.compiler.target>
92 <!-- Plugin Versions -->
93 <bundle.plugin.version>2.4.0</bundle.plugin.version>
94 <releaseplugin.version>2.3.2</releaseplugin.version>
96 <!-- Dependency Versions -->
97 <slf4j.version>1.7.2</slf4j.version>
98 <yang.version>0.5.9-SNAPSHOT</yang.version>
99 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
100 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
101 <guava.version>14.0.1</guava.version>
102 <osgi.core.version>5.0.0</osgi.core.version>
103 <junit.version>4.8.1</junit.version>
104 <xtend.version>2.4.3</xtend.version>
105 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
106 <jacoco.version>0.5.3.201107060350</jacoco.version>
107 <!-- Sonar properties using jacoco to retrieve integration test results -->
108 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
109 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
110 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
111 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
112 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
113 <sonar.branch>${user.name}-private-view</sonar.branch>
114 <sonar.language>java</sonar.language>
118 <!-- OpenDayLight Repo Mirror -->
120 <id>opendaylight-mirror</id>
121 <name>opendaylight-mirror</name>
122 <url>${nexusproxy}/groups/public/</url>
124 <enabled>false</enabled>
127 <enabled>true</enabled>
128 <updatePolicy>never</updatePolicy>
131 <!-- OpenDayLight Snapshot artifact -->
133 <id>opendaylight-snapshot</id>
134 <name>opendaylight-snapshot</name>
135 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
137 <enabled>true</enabled>
140 <enabled>false</enabled>
143 </pluginRepositories>
147 <!-- OpenDayLight Repo Mirror -->
149 <id>opendaylight-mirror</id>
150 <name>opendaylight-mirror</name>
151 <url>${nexusproxy}/groups/public/</url>
153 <enabled>false</enabled>
156 <enabled>true</enabled>
157 <updatePolicy>never</updatePolicy>
160 <!-- OpenDayLight Snapshot artifact -->
162 <id>opendaylight-snapshot</id>
163 <name>opendaylight-snapshot</name>
164 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
166 <enabled>true</enabled>
169 <enabled>false</enabled>
174 <distributionManagement>
175 <!-- OpenDayLight Released artifact -->
177 <id>opendaylight-release</id>
178 <url>${nexusproxy}/repositories/opendaylight.release/</url>
180 <!-- OpenDayLight Snapshot artifact -->
182 <id>opendaylight-snapshot</id>
183 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
184 </snapshotRepository>
185 <!-- Site deployment -->
188 <url>${sitedeploy}</url>
190 </distributionManagement>
193 <dependencyManagement>
199 <!-- YANG Tools Dependencies -->
201 <groupId>org.opendaylight.yangtools</groupId>
202 <artifactId>yang-binding</artifactId>
203 <version>${yang.binding.version}</version>
206 <groupId>org.opendaylight.yangtools</groupId>
207 <artifactId>yang-common</artifactId>
208 <version>${yang.version}</version>
211 <groupId>org.opendaylight.yangtools</groupId>
212 <artifactId>yang-data-api</artifactId>
213 <version>${yang.version}</version>
216 <groupId>org.opendaylight.yangtools</groupId>
217 <artifactId>yang-model-api</artifactId>
218 <version>${yang.version}</version>
221 <groupId>org.opendaylight.yangtools</groupId>
222 <artifactId>yang-data-util</artifactId>
223 <version>${yang.version}</version>
225 <!-- SAL Dependencies -->
227 <groupId>${project.groupId}</groupId>
228 <artifactId>sal-connector-api</artifactId>
229 <version>${project.version}</version>
232 <!-- Supporting Libraries -->
234 <groupId>org.slf4j</groupId>
235 <artifactId>slf4j-api</artifactId>
236 <version>${slf4j.version}</version>
239 <groupId>com.google.guava</groupId>
240 <artifactId>guava</artifactId>
241 <version>${guava.version}</version>
244 <groupId>org.eclipse.xtend</groupId>
245 <artifactId>org.eclipse.xtend.lib</artifactId>
246 <version>${xtend.version}</version>
249 <!-- Testing Dependencies -->
251 <groupId>junit</groupId>
252 <artifactId>junit</artifactId>
253 <version>${junit.version}</version>
257 <groupId>org.mockito</groupId>
258 <artifactId>mockito-all</artifactId>
259 <version>1.9.5</version>
263 </dependencyManagement>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-release-plugin</artifactId>
270 <version>${releaseplugin.version}</version>
273 <groupId>org.apache.felix</groupId>
274 <artifactId>maven-bundle-plugin</artifactId>
275 <version>${bundle.plugin.version}</version>
276 <extensions>true</extensions>
279 <id>bundle-manifest</id>
280 <phase>process-classes</phase>
282 <goal>manifest</goal>
288 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
290 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
294 <groupId>org.eclipse.xtend</groupId>
295 <artifactId>xtend-maven-plugin</artifactId>
296 <version>${xtend.version}</version>
303 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
309 <artifactId>maven-clean-plugin</artifactId>
310 <version>${maven.clean.plugin.version}</version>
314 <directory>${basedir}/src/main/xtend-gen</directory>
316 <include>**</include>
323 <groupId>org.jacoco</groupId>
324 <artifactId>jacoco-maven-plugin</artifactId>
325 <version>${jacoco.version}</version>
327 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
329 <groupId>org.eclipse.m2e</groupId>
330 <artifactId>lifecycle-mapping</artifactId>
331 <version>1.0.0</version>
333 <lifecycleMappingMetadata>
336 <pluginExecutionFilter>
337 <groupId>org.opendaylight.yangtools</groupId>
338 <artifactId>yang-maven-plugin</artifactId>
339 <versionRange>[0,)</versionRange>
341 <goal>generate-sources</goal>
343 </pluginExecutionFilter>
349 <pluginExecutionFilter>
350 <groupId>net.alchim31.maven</groupId>
351 <artifactId>scala-maven-plugin</artifactId>
352 <versionRange>[0,)</versionRange>
355 <goal>testCompile</goal>
357 </pluginExecutionFilter>
363 <pluginExecutionFilter>
364 <groupId>org.jacoco</groupId>
365 <artifactId>jacoco-maven-plugin</artifactId>
366 <versionRange>[0,)</versionRange>
368 <goal>prepare-agent</goal>
370 </pluginExecutionFilter>
376 </lifecycleMappingMetadata>
384 <groupId>org.apache.felix</groupId>
385 <artifactId>maven-bundle-plugin</artifactId>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-jar-plugin</artifactId>
390 <version>2.4</version>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-javadoc-plugin</artifactId>
395 <version>2.8.1</version>
397 <stylesheet>maven</stylesheet>
398 <failOnError>false</failOnError>
403 <goal>aggregate</goal>
414 <groupId>org.codehaus.mojo</groupId>
415 <artifactId>findbugs-maven-plugin</artifactId>
416 <version>2.4.0</version>
419 <threshold>Low</threshold>
424 <groupId>org.codehaus.mojo</groupId>
425 <artifactId>jdepend-maven-plugin</artifactId>
426 <version>2.0-beta-2</version>