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 <!-- Compability Packages -->
50 <module>compatibility</module>
52 <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>
72 <name>m2e.version</name>
76 <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
77 <directory>target-ide</directory>
83 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
84 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
85 <!-- Java Versions -->
86 <maven.compiler.source>1.7</maven.compiler.source>
87 <maven.compiler.target>1.7</maven.compiler.target>
89 <!-- Plugin Versions -->
90 <bundle.plugin.version>2.4.0</bundle.plugin.version>
91 <releaseplugin.version>2.3.2</releaseplugin.version>
93 <!-- Dependency Versions -->
94 <slf4j.version>1.7.2</slf4j.version>
95 <yang.version>0.5.9-SNAPSHOT</yang.version>
96 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
97 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
98 <guava.version>14.0.1</guava.version>
99 <osgi.core.version>5.0.0</osgi.core.version>
100 <junit.version>4.8.1</junit.version>
101 <xtend.version>2.4.3</xtend.version>
102 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
103 <jacoco.version>0.5.3.201107060350</jacoco.version>
104 <!-- Sonar properties using jacoco to retrieve integration test results -->
105 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
106 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
107 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
108 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
109 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
110 <sonar.branch>${user.name}-private-view</sonar.branch>
111 <sonar.language>java</sonar.language>
115 <!-- OpenDayLight Repo Mirror -->
117 <id>opendaylight-mirror</id>
118 <name>opendaylight-mirror</name>
119 <url>${nexusproxy}/groups/public/</url>
121 <enabled>false</enabled>
124 <enabled>true</enabled>
125 <updatePolicy>never</updatePolicy>
128 <!-- OpenDayLight Snapshot artifact -->
130 <id>opendaylight-snapshot</id>
131 <name>opendaylight-snapshot</name>
132 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
134 <enabled>true</enabled>
137 <enabled>false</enabled>
140 </pluginRepositories>
144 <!-- OpenDayLight Repo Mirror -->
146 <id>opendaylight-mirror</id>
147 <name>opendaylight-mirror</name>
148 <url>${nexusproxy}/groups/public/</url>
150 <enabled>false</enabled>
153 <enabled>true</enabled>
154 <updatePolicy>never</updatePolicy>
157 <!-- OpenDayLight Snapshot artifact -->
159 <id>opendaylight-snapshot</id>
160 <name>opendaylight-snapshot</name>
161 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
163 <enabled>true</enabled>
166 <enabled>false</enabled>
171 <distributionManagement>
172 <!-- OpenDayLight Released artifact -->
174 <id>opendaylight-release</id>
175 <url>${nexusproxy}/repositories/opendaylight.release/</url>
177 <!-- OpenDayLight Snapshot artifact -->
179 <id>opendaylight-snapshot</id>
180 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
181 </snapshotRepository>
182 <!-- Site deployment -->
185 <url>${sitedeploy}</url>
187 </distributionManagement>
190 <dependencyManagement>
196 <!-- YANG Tools Dependencies -->
198 <groupId>org.opendaylight.yangtools</groupId>
199 <artifactId>yang-binding</artifactId>
200 <version>${yang.binding.version}</version>
203 <groupId>org.opendaylight.yangtools</groupId>
204 <artifactId>yang-common</artifactId>
205 <version>${yang.version}</version>
208 <groupId>org.opendaylight.yangtools</groupId>
209 <artifactId>yang-data-api</artifactId>
210 <version>${yang.version}</version>
213 <groupId>org.opendaylight.yangtools</groupId>
214 <artifactId>yang-model-api</artifactId>
215 <version>${yang.version}</version>
218 <groupId>org.opendaylight.yangtools</groupId>
219 <artifactId>yang-data-util</artifactId>
220 <version>${yang.version}</version>
222 <!-- SAL Dependencies -->
224 <groupId>${project.groupId}</groupId>
225 <artifactId>sal-connector-api</artifactId>
226 <version>${project.version}</version>
229 <!-- Supporting Libraries -->
231 <groupId>org.slf4j</groupId>
232 <artifactId>slf4j-api</artifactId>
233 <version>${slf4j.version}</version>
236 <groupId>com.google.guava</groupId>
237 <artifactId>guava</artifactId>
238 <version>${guava.version}</version>
241 <groupId>org.eclipse.xtend</groupId>
242 <artifactId>org.eclipse.xtend.lib</artifactId>
243 <version>${xtend.version}</version>
246 <!-- Testing Dependencies -->
248 <groupId>junit</groupId>
249 <artifactId>junit</artifactId>
250 <version>${junit.version}</version>
254 <groupId>org.mockito</groupId>
255 <artifactId>mockito-all</artifactId>
256 <version>1.9.5</version>
260 </dependencyManagement>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-release-plugin</artifactId>
267 <version>${releaseplugin.version}</version>
270 <groupId>org.apache.felix</groupId>
271 <artifactId>maven-bundle-plugin</artifactId>
272 <version>${bundle.plugin.version}</version>
273 <extensions>true</extensions>
276 <id>bundle-manifest</id>
277 <phase>process-classes</phase>
279 <goal>manifest</goal>
285 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
287 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
291 <groupId>org.eclipse.xtend</groupId>
292 <artifactId>xtend-maven-plugin</artifactId>
293 <version>${xtend.version}</version>
300 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
306 <artifactId>maven-clean-plugin</artifactId>
307 <version>${maven.clean.plugin.version}</version>
311 <directory>${basedir}/src/main/xtend-gen</directory>
313 <include>**</include>
320 <groupId>org.jacoco</groupId>
321 <artifactId>jacoco-maven-plugin</artifactId>
322 <version>${jacoco.version}</version>
324 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
326 <groupId>org.eclipse.m2e</groupId>
327 <artifactId>lifecycle-mapping</artifactId>
328 <version>1.0.0</version>
330 <lifecycleMappingMetadata>
333 <pluginExecutionFilter>
334 <groupId>org.opendaylight.yangtools</groupId>
335 <artifactId>yang-maven-plugin</artifactId>
336 <versionRange>[0,)</versionRange>
338 <goal>generate-sources</goal>
340 </pluginExecutionFilter>
346 <pluginExecutionFilter>
347 <groupId>net.alchim31.maven</groupId>
348 <artifactId>scala-maven-plugin</artifactId>
349 <versionRange>[0,)</versionRange>
352 <goal>testCompile</goal>
354 </pluginExecutionFilter>
360 <pluginExecutionFilter>
361 <groupId>org.jacoco</groupId>
362 <artifactId>jacoco-maven-plugin</artifactId>
363 <versionRange>[0,)</versionRange>
365 <goal>prepare-agent</goal>
367 </pluginExecutionFilter>
373 </lifecycleMappingMetadata>
381 <groupId>org.apache.felix</groupId>
382 <artifactId>maven-bundle-plugin</artifactId>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-jar-plugin</artifactId>
387 <version>2.4</version>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-javadoc-plugin</artifactId>
392 <version>2.8.1</version>
394 <stylesheet>maven</stylesheet>
395 <failOnError>false</failOnError>
400 <goal>aggregate</goal>
411 <groupId>org.codehaus.mojo</groupId>
412 <artifactId>findbugs-maven-plugin</artifactId>
413 <version>2.4.0</version>
416 <threshold>Low</threshold>
421 <groupId>org.codehaus.mojo</groupId>
422 <artifactId>jdepend-maven-plugin</artifactId>
423 <version>2.0-beta-2</version>