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>
30 <module>sal-binding-it</module>
33 <module>samples</module>
36 <module>model</module>
38 <!-- Compability Packages -->
39 <module>sal-compability</module>
42 <module>sal-connector-api</module>
43 <module>sal-rest-connector</module>
44 <module>flow-management-compatibility</module>
46 <!-- Clustered Data Store -->
47 <module>clustered-data-store/implementation</module>
48 <module>clustered-data-store/integrationtest</module>
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
55 <!-- Java Versions -->
56 <maven.compiler.source>1.7</maven.compiler.source>
57 <maven.compiler.target>1.7</maven.compiler.target>
59 <!-- Plugin Versions -->
60 <bundle.plugin.version>2.4.0</bundle.plugin.version>
61 <releaseplugin.version>2.3.2</releaseplugin.version>
63 <!-- Dependency Versions -->
64 <slf4j.version>1.7.2</slf4j.version>
65 <yang.version>0.5.9-SNAPSHOT</yang.version>
66 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
67 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
68 <guava.version>14.0.1</guava.version>
69 <osgi.core.version>5.0.0</osgi.core.version>
70 <junit.version>4.8.1</junit.version>
71 <xtend.version>2.4.3</xtend.version>
72 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
73 <jacoco.version>0.5.3.201107060350</jacoco.version>
74 <!-- Sonar properties using jacoco to retrieve integration test results -->
75 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
76 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
77 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
78 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
79 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
80 <sonar.branch>${user.name}-private-view</sonar.branch>
81 <sonar.language>java</sonar.language>
85 <!-- OpenDayLight Repo Mirror -->
87 <id>opendaylight-mirror</id>
88 <name>opendaylight-mirror</name>
89 <url>${nexusproxy}/groups/public/</url>
91 <enabled>false</enabled>
94 <enabled>true</enabled>
95 <updatePolicy>never</updatePolicy>
98 <!-- OpenDayLight Snapshot artifact -->
100 <id>opendaylight-snapshot</id>
101 <name>opendaylight-snapshot</name>
102 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
104 <enabled>true</enabled>
107 <enabled>false</enabled>
110 </pluginRepositories>
114 <!-- OpenDayLight Repo Mirror -->
116 <id>opendaylight-mirror</id>
117 <name>opendaylight-mirror</name>
118 <url>${nexusproxy}/groups/public/</url>
120 <enabled>false</enabled>
123 <enabled>true</enabled>
124 <updatePolicy>never</updatePolicy>
127 <!-- OpenDayLight Snapshot artifact -->
129 <id>opendaylight-snapshot</id>
130 <name>opendaylight-snapshot</name>
131 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
133 <enabled>true</enabled>
136 <enabled>false</enabled>
141 <distributionManagement>
142 <!-- OpenDayLight Released artifact -->
144 <id>opendaylight-release</id>
145 <url>${nexusproxy}/repositories/opendaylight.release/</url>
147 <!-- OpenDayLight Snapshot artifact -->
149 <id>opendaylight-snapshot</id>
150 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
151 </snapshotRepository>
152 <!-- Site deployment -->
155 <url>${sitedeploy}</url>
157 </distributionManagement>
160 <dependencyManagement>
166 <!-- YANG Tools Dependencies -->
168 <groupId>org.opendaylight.yangtools</groupId>
169 <artifactId>yang-binding</artifactId>
170 <version>${yang.binding.version}</version>
173 <groupId>org.opendaylight.yangtools</groupId>
174 <artifactId>yang-common</artifactId>
175 <version>${yang.version}</version>
178 <groupId>org.opendaylight.yangtools</groupId>
179 <artifactId>yang-data-api</artifactId>
180 <version>${yang.version}</version>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yang-model-api</artifactId>
185 <version>${yang.version}</version>
188 <groupId>org.opendaylight.yangtools</groupId>
189 <artifactId>yang-data-util</artifactId>
190 <version>${yang.version}</version>
192 <!-- SAL Dependencies -->
194 <groupId>${project.groupId}</groupId>
195 <artifactId>sal-connector-api</artifactId>
196 <version>${project.version}</version>
199 <!-- Supporting Libraries -->
201 <groupId>org.slf4j</groupId>
202 <artifactId>slf4j-api</artifactId>
203 <version>${slf4j.version}</version>
206 <groupId>com.google.guava</groupId>
207 <artifactId>guava</artifactId>
208 <version>${guava.version}</version>
211 <groupId>org.eclipse.xtend</groupId>
212 <artifactId>org.eclipse.xtend.lib</artifactId>
213 <version>${xtend.version}</version>
216 <!-- Testing Dependencies -->
218 <groupId>junit</groupId>
219 <artifactId>junit</artifactId>
220 <version>${junit.version}</version>
224 <groupId>org.mockito</groupId>
225 <artifactId>mockito-all</artifactId>
226 <version>1.9.5</version>
230 </dependencyManagement>
234 <!--This plugin's configuration is used to store Eclipse
235 m2e settings only. It has no influence on the Maven build itself. -->
237 <groupId>org.eclipse.m2e</groupId>
238 <artifactId>lifecycle-mapping</artifactId>
239 <version>1.0.0</version>
241 <lifecycleMappingMetadata>
244 <pluginExecutionFilter>
245 <groupId>org.jacoco</groupId>
246 <artifactId>jacoco-maven-plugin</artifactId>
247 <versionRange>[0.0,)</versionRange>
249 <goal>prepare-agent</goal>
250 <goal>pre-test</goal>
251 <goal>post-test</goal>
253 </pluginExecutionFilter>
259 </lifecycleMappingMetadata>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-release-plugin</artifactId>
265 <version>${releaseplugin.version}</version>
268 <groupId>org.apache.felix</groupId>
269 <artifactId>maven-bundle-plugin</artifactId>
270 <version>${bundle.plugin.version}</version>
271 <extensions>true</extensions>
274 <id>bundle-manifest</id>
275 <phase>process-classes</phase>
277 <goal>manifest</goal>
283 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
285 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
289 <groupId>org.eclipse.xtend</groupId>
290 <artifactId>xtend-maven-plugin</artifactId>
291 <version>${xtend.version}</version>
298 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
304 <artifactId>maven-clean-plugin</artifactId>
305 <version>${maven.clean.plugin.version}</version>
309 <directory>${basedir}/src/main/xtend-gen</directory>
311 <include>**</include>
318 <groupId>org.jacoco</groupId>
319 <artifactId>jacoco-maven-plugin</artifactId>
320 <version>${jacoco.version}</version>
322 <!--This plugin's configuration is used to store Eclipse
323 m2e settings only. It has no influence on the Maven build itself. -->
325 <groupId>org.eclipse.m2e</groupId>
326 <artifactId>lifecycle-mapping</artifactId>
327 <version>1.0.0</version>
329 <lifecycleMappingMetadata>
332 <pluginExecutionFilter>
334 org.opendaylight.yangtools
347 </pluginExecutionFilter>
353 </lifecycleMappingMetadata>
361 <groupId>org.apache.felix</groupId>
362 <artifactId>maven-bundle-plugin</artifactId>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-jar-plugin</artifactId>
367 <version>2.4</version>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-javadoc-plugin</artifactId>
372 <version>2.8.1</version>
374 <stylesheet>maven</stylesheet>
375 <failOnError>false</failOnError>
380 <goal>aggregate</goal>
391 <groupId>org.codehaus.mojo</groupId>
392 <artifactId>findbugs-maven-plugin</artifactId>
393 <version>2.4.0</version>
396 <threshold>Low</threshold>
401 <groupId>org.codehaus.mojo</groupId>
402 <artifactId>jdepend-maven-plugin</artifactId>
403 <version>2.0-beta-2</version>