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>
51 <module>zeromq-routingtable/implementation</module>
52 <module>sal-zeromq-connector</module>
58 <id>integrationtests</id>
60 <activeByDefault>false</activeByDefault>
63 <module>sal-binding-it</module>
64 <module>zeromq-routingtable/integrationtest</module>
65 <module>clustered-data-store/integrationtest</module>
73 <name>m2e.version</name>
77 <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
78 <directory>target-ide</directory>
84 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
85 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
86 <!-- Java Versions -->
87 <maven.compiler.source>1.7</maven.compiler.source>
88 <maven.compiler.target>1.7</maven.compiler.target>
90 <!-- Plugin Versions -->
91 <bundle.plugin.version>2.4.0</bundle.plugin.version>
92 <releaseplugin.version>2.3.2</releaseplugin.version>
94 <!-- Dependency Versions -->
95 <slf4j.version>1.7.2</slf4j.version>
96 <yang.version>0.5.9-SNAPSHOT</yang.version>
97 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
98 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
99 <guava.version>14.0.1</guava.version>
100 <osgi.core.version>5.0.0</osgi.core.version>
101 <junit.version>4.8.1</junit.version>
102 <xtend.version>2.4.3</xtend.version>
103 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
104 <jacoco.version>0.5.3.201107060350</jacoco.version>
105 <!-- Sonar properties using jacoco to retrieve integration test results -->
106 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
107 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
108 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
109 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
110 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
111 <sonar.branch>${user.name}-private-view</sonar.branch>
112 <sonar.language>java</sonar.language>
116 <!-- OpenDayLight Repo Mirror -->
118 <id>opendaylight-mirror</id>
119 <name>opendaylight-mirror</name>
120 <url>${nexusproxy}/groups/public/</url>
122 <enabled>false</enabled>
125 <enabled>true</enabled>
126 <updatePolicy>never</updatePolicy>
129 <!-- OpenDayLight Snapshot artifact -->
131 <id>opendaylight-snapshot</id>
132 <name>opendaylight-snapshot</name>
133 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
135 <enabled>true</enabled>
138 <enabled>false</enabled>
141 </pluginRepositories>
145 <!-- OpenDayLight Repo Mirror -->
147 <id>opendaylight-mirror</id>
148 <name>opendaylight-mirror</name>
149 <url>${nexusproxy}/groups/public/</url>
151 <enabled>false</enabled>
154 <enabled>true</enabled>
155 <updatePolicy>never</updatePolicy>
158 <!-- OpenDayLight Snapshot artifact -->
160 <id>opendaylight-snapshot</id>
161 <name>opendaylight-snapshot</name>
162 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
164 <enabled>true</enabled>
167 <enabled>false</enabled>
172 <distributionManagement>
173 <!-- OpenDayLight Released artifact -->
175 <id>opendaylight-release</id>
176 <url>${nexusproxy}/repositories/opendaylight.release/</url>
178 <!-- OpenDayLight Snapshot artifact -->
180 <id>opendaylight-snapshot</id>
181 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
182 </snapshotRepository>
183 <!-- Site deployment -->
186 <url>${sitedeploy}</url>
188 </distributionManagement>
191 <dependencyManagement>
197 <!-- YANG Tools Dependencies -->
199 <groupId>org.opendaylight.yangtools</groupId>
200 <artifactId>yang-binding</artifactId>
201 <version>${yang.binding.version}</version>
204 <groupId>org.opendaylight.yangtools</groupId>
205 <artifactId>yang-common</artifactId>
206 <version>${yang.version}</version>
209 <groupId>org.opendaylight.yangtools</groupId>
210 <artifactId>yang-data-api</artifactId>
211 <version>${yang.version}</version>
214 <groupId>org.opendaylight.yangtools</groupId>
215 <artifactId>yang-model-api</artifactId>
216 <version>${yang.version}</version>
219 <groupId>org.opendaylight.yangtools</groupId>
220 <artifactId>yang-data-util</artifactId>
221 <version>${yang.version}</version>
223 <!-- SAL Dependencies -->
225 <groupId>${project.groupId}</groupId>
226 <artifactId>sal-connector-api</artifactId>
227 <version>${project.version}</version>
230 <!-- Supporting Libraries -->
232 <groupId>org.slf4j</groupId>
233 <artifactId>slf4j-api</artifactId>
234 <version>${slf4j.version}</version>
237 <groupId>com.google.guava</groupId>
238 <artifactId>guava</artifactId>
239 <version>${guava.version}</version>
242 <groupId>org.eclipse.xtend</groupId>
243 <artifactId>org.eclipse.xtend.lib</artifactId>
244 <version>${xtend.version}</version>
247 <!-- Testing Dependencies -->
249 <groupId>junit</groupId>
250 <artifactId>junit</artifactId>
251 <version>${junit.version}</version>
255 <groupId>org.mockito</groupId>
256 <artifactId>mockito-all</artifactId>
257 <version>1.9.5</version>
261 </dependencyManagement>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-release-plugin</artifactId>
268 <version>${releaseplugin.version}</version>
271 <groupId>org.apache.felix</groupId>
272 <artifactId>maven-bundle-plugin</artifactId>
273 <version>${bundle.plugin.version}</version>
274 <extensions>true</extensions>
277 <id>bundle-manifest</id>
278 <phase>process-classes</phase>
280 <goal>manifest</goal>
286 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
288 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
292 <groupId>org.eclipse.xtend</groupId>
293 <artifactId>xtend-maven-plugin</artifactId>
294 <version>${xtend.version}</version>
301 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
307 <artifactId>maven-clean-plugin</artifactId>
308 <version>${maven.clean.plugin.version}</version>
312 <directory>${basedir}/src/main/xtend-gen</directory>
314 <include>**</include>
321 <groupId>org.jacoco</groupId>
322 <artifactId>jacoco-maven-plugin</artifactId>
323 <version>${jacoco.version}</version>
325 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
327 <groupId>org.eclipse.m2e</groupId>
328 <artifactId>lifecycle-mapping</artifactId>
329 <version>1.0.0</version>
331 <lifecycleMappingMetadata>
334 <pluginExecutionFilter>
335 <groupId>org.opendaylight.yangtools</groupId>
336 <artifactId>yang-maven-plugin</artifactId>
337 <versionRange>[0,)</versionRange>
339 <goal>generate-sources</goal>
341 </pluginExecutionFilter>
347 <pluginExecutionFilter>
348 <groupId>net.alchim31.maven</groupId>
349 <artifactId>scala-maven-plugin</artifactId>
350 <versionRange>[0,)</versionRange>
353 <goal>testCompile</goal>
355 </pluginExecutionFilter>
361 <pluginExecutionFilter>
362 <groupId>org.jacoco</groupId>
363 <artifactId>jacoco-maven-plugin</artifactId>
364 <versionRange>[0,)</versionRange>
366 <goal>prepare-agent</goal>
368 </pluginExecutionFilter>
374 </lifecycleMappingMetadata>
382 <groupId>org.apache.felix</groupId>
383 <artifactId>maven-bundle-plugin</artifactId>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-jar-plugin</artifactId>
388 <version>2.4</version>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-javadoc-plugin</artifactId>
393 <version>2.8.1</version>
395 <stylesheet>maven</stylesheet>
396 <failOnError>false</failOnError>
401 <goal>aggregate</goal>
412 <groupId>org.codehaus.mojo</groupId>
413 <artifactId>findbugs-maven-plugin</artifactId>
414 <version>2.4.0</version>
417 <threshold>Low</threshold>
422 <groupId>org.codehaus.mojo</groupId>
423 <artifactId>jdepend-maven-plugin</artifactId>
424 <version>2.0-beta-2</version>