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>
57 <id>integrationtests</id>
59 <activeByDefault>false</activeByDefault>
62 <module>sal-binding-it</module>
63 <module>clustered-data-store/integrationtest</module>
71 <name>m2e.version</name>
75 <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
76 <directory>target-ide</directory>
82 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
83 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
84 <!-- Java Versions -->
85 <maven.compiler.source>1.7</maven.compiler.source>
86 <maven.compiler.target>1.7</maven.compiler.target>
88 <!-- Plugin Versions -->
89 <bundle.plugin.version>2.4.0</bundle.plugin.version>
90 <releaseplugin.version>2.3.2</releaseplugin.version>
92 <!-- Dependency Versions -->
93 <slf4j.version>1.7.2</slf4j.version>
94 <yang.version>0.5.9-SNAPSHOT</yang.version>
95 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
96 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
97 <guava.version>14.0.1</guava.version>
98 <osgi.core.version>5.0.0</osgi.core.version>
99 <junit.version>4.8.1</junit.version>
100 <xtend.version>2.4.3</xtend.version>
101 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
102 <jacoco.version>0.5.3.201107060350</jacoco.version>
103 <!-- Sonar properties using jacoco to retrieve integration test results -->
104 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
105 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
106 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
107 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
108 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
109 <sonar.branch>${user.name}-private-view</sonar.branch>
110 <sonar.language>java</sonar.language>
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>
139 </pluginRepositories>
143 <!-- OpenDayLight Repo Mirror -->
145 <id>opendaylight-mirror</id>
146 <name>opendaylight-mirror</name>
147 <url>${nexusproxy}/groups/public/</url>
149 <enabled>false</enabled>
152 <enabled>true</enabled>
153 <updatePolicy>never</updatePolicy>
156 <!-- OpenDayLight Snapshot artifact -->
158 <id>opendaylight-snapshot</id>
159 <name>opendaylight-snapshot</name>
160 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
162 <enabled>true</enabled>
165 <enabled>false</enabled>
170 <distributionManagement>
171 <!-- OpenDayLight Released artifact -->
173 <id>opendaylight-release</id>
174 <url>${nexusproxy}/repositories/opendaylight.release/</url>
176 <!-- OpenDayLight Snapshot artifact -->
178 <id>opendaylight-snapshot</id>
179 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
180 </snapshotRepository>
181 <!-- Site deployment -->
184 <url>${sitedeploy}</url>
186 </distributionManagement>
189 <dependencyManagement>
195 <!-- YANG Tools Dependencies -->
197 <groupId>org.opendaylight.yangtools</groupId>
198 <artifactId>yang-binding</artifactId>
199 <version>${yang.binding.version}</version>
202 <groupId>org.opendaylight.yangtools</groupId>
203 <artifactId>yang-common</artifactId>
204 <version>${yang.version}</version>
207 <groupId>org.opendaylight.yangtools</groupId>
208 <artifactId>yang-data-api</artifactId>
209 <version>${yang.version}</version>
212 <groupId>org.opendaylight.yangtools</groupId>
213 <artifactId>yang-model-api</artifactId>
214 <version>${yang.version}</version>
217 <groupId>org.opendaylight.yangtools</groupId>
218 <artifactId>yang-data-util</artifactId>
219 <version>${yang.version}</version>
221 <!-- SAL Dependencies -->
223 <groupId>${project.groupId}</groupId>
224 <artifactId>sal-connector-api</artifactId>
225 <version>${project.version}</version>
228 <!-- Supporting Libraries -->
230 <groupId>org.slf4j</groupId>
231 <artifactId>slf4j-api</artifactId>
232 <version>${slf4j.version}</version>
235 <groupId>com.google.guava</groupId>
236 <artifactId>guava</artifactId>
237 <version>${guava.version}</version>
240 <groupId>org.eclipse.xtend</groupId>
241 <artifactId>org.eclipse.xtend.lib</artifactId>
242 <version>${xtend.version}</version>
245 <!-- Testing Dependencies -->
247 <groupId>junit</groupId>
248 <artifactId>junit</artifactId>
249 <version>${junit.version}</version>
253 <groupId>org.mockito</groupId>
254 <artifactId>mockito-all</artifactId>
255 <version>1.9.5</version>
259 </dependencyManagement>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-release-plugin</artifactId>
266 <version>${releaseplugin.version}</version>
269 <groupId>org.apache.felix</groupId>
270 <artifactId>maven-bundle-plugin</artifactId>
271 <version>${bundle.plugin.version}</version>
272 <extensions>true</extensions>
275 <id>bundle-manifest</id>
276 <phase>process-classes</phase>
278 <goal>manifest</goal>
284 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
286 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
290 <groupId>org.eclipse.xtend</groupId>
291 <artifactId>xtend-maven-plugin</artifactId>
292 <version>${xtend.version}</version>
299 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
305 <artifactId>maven-clean-plugin</artifactId>
306 <version>${maven.clean.plugin.version}</version>
310 <directory>${basedir}/src/main/xtend-gen</directory>
312 <include>**</include>
319 <groupId>org.jacoco</groupId>
320 <artifactId>jacoco-maven-plugin</artifactId>
321 <version>${jacoco.version}</version>
323 <!--This plugin's configuration is used to store Eclipse 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>
333 <groupId>org.opendaylight.yangtools</groupId>
334 <artifactId>yang-maven-plugin</artifactId>
335 <versionRange>[0,)</versionRange>
337 <goal>generate-sources</goal>
339 </pluginExecutionFilter>
345 <pluginExecutionFilter>
346 <groupId>net.alchim31.maven</groupId>
347 <artifactId>scala-maven-plugin</artifactId>
348 <versionRange>[0,)</versionRange>
351 <goal>testCompile</goal>
353 </pluginExecutionFilter>
359 <pluginExecutionFilter>
360 <groupId>org.jacoco</groupId>
361 <artifactId>jacoco-maven-plugin</artifactId>
362 <versionRange>[0,)</versionRange>
364 <goal>prepare-agent</goal>
366 </pluginExecutionFilter>
372 </lifecycleMappingMetadata>
380 <groupId>org.apache.felix</groupId>
381 <artifactId>maven-bundle-plugin</artifactId>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-jar-plugin</artifactId>
386 <version>2.4</version>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-javadoc-plugin</artifactId>
391 <version>2.8.1</version>
393 <stylesheet>maven</stylesheet>
394 <failOnError>false</failOnError>
399 <goal>aggregate</goal>
410 <groupId>org.codehaus.mojo</groupId>
411 <artifactId>findbugs-maven-plugin</artifactId>
412 <version>2.4.0</version>
415 <threshold>Low</threshold>
420 <groupId>org.codehaus.mojo</groupId>
421 <artifactId>jdepend-maven-plugin</artifactId>
422 <version>2.0-beta-2</version>