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>
32 <module>sal-binding-dom-it</module>
35 <module>samples</module>
38 <module>model</module>
42 <module>sal-connector-api</module>
43 <module>sal-rest-connector</module>
44 <module>sal-netconf-connector</module>
46 <!-- Clustered Data Store -->
47 <module>clustered-data-store/implementation</module>
49 <module>inventory-manager</module>
50 <module>statistics-manager</module>
51 <module>forwardingrules-manager</module>
53 <!-- Compability Packages -->
54 <module>compatibility</module>
55 <module>zeromq-routingtable/implementation</module>
56 <module>sal-zeromq-connector</module>
62 <id>integrationtests</id>
64 <activeByDefault>false</activeByDefault>
67 <module>sal-binding-it</module>
68 <module>zeromq-routingtable/integrationtest</module>
69 <module>clustered-data-store/integrationtest</module>
77 <name>m2e.version</name>
81 <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
82 <directory>target-ide</directory>
88 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
89 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
90 <!-- Java Versions -->
91 <maven.compiler.source>1.7</maven.compiler.source>
92 <maven.compiler.target>1.7</maven.compiler.target>
94 <!-- Plugin Versions -->
95 <bundle.plugin.version>2.4.0</bundle.plugin.version>
96 <releaseplugin.version>2.3.2</releaseplugin.version>
98 <!-- Dependency Versions -->
99 <slf4j.version>1.7.2</slf4j.version>
100 <yang.version>0.5.9-SNAPSHOT</yang.version>
101 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
102 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
103 <guava.version>14.0.1</guava.version>
104 <osgi.core.version>5.0.0</osgi.core.version>
105 <junit.version>4.8.1</junit.version>
106 <xtend.version>2.4.3</xtend.version>
107 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
108 <jacoco.version>0.5.3.201107060350</jacoco.version>
109 <!-- Sonar properties using jacoco to retrieve integration test results -->
110 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
111 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
112 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
113 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
114 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
115 <sonar.branch>${user.name}-private-view</sonar.branch>
116 <sonar.language>java</sonar.language>
120 <!-- OpenDayLight Repo Mirror -->
122 <id>opendaylight-mirror</id>
123 <name>opendaylight-mirror</name>
124 <url>${nexusproxy}/groups/public/</url>
126 <enabled>false</enabled>
129 <enabled>true</enabled>
130 <updatePolicy>never</updatePolicy>
133 <!-- OpenDayLight Snapshot artifact -->
135 <id>opendaylight-snapshot</id>
136 <name>opendaylight-snapshot</name>
137 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
139 <enabled>true</enabled>
142 <enabled>false</enabled>
145 </pluginRepositories>
149 <!-- OpenDayLight Repo Mirror -->
151 <id>opendaylight-mirror</id>
152 <name>opendaylight-mirror</name>
153 <url>${nexusproxy}/groups/public/</url>
155 <enabled>false</enabled>
158 <enabled>true</enabled>
159 <updatePolicy>never</updatePolicy>
162 <!-- OpenDayLight Snapshot artifact -->
164 <id>opendaylight-snapshot</id>
165 <name>opendaylight-snapshot</name>
166 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
168 <enabled>true</enabled>
171 <enabled>false</enabled>
176 <distributionManagement>
177 <!-- OpenDayLight Released artifact -->
179 <id>opendaylight-release</id>
180 <url>${nexusproxy}/repositories/opendaylight.release/</url>
182 <!-- OpenDayLight Snapshot artifact -->
184 <id>opendaylight-snapshot</id>
185 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
186 </snapshotRepository>
187 <!-- Site deployment -->
190 <url>${sitedeploy}</url>
192 </distributionManagement>
195 <dependencyManagement>
198 <groupId>xml-apis</groupId>
199 <artifactId>xml-apis</artifactId>
200 <version>1.4.01</version>
203 <!-- YANG Tools Dependencies -->
205 <groupId>org.opendaylight.yangtools</groupId>
206 <artifactId>yang-binding</artifactId>
207 <version>${yang.binding.version}</version>
210 <groupId>org.opendaylight.yangtools</groupId>
211 <artifactId>yang-common</artifactId>
212 <version>${yang.version}</version>
215 <groupId>org.opendaylight.yangtools</groupId>
216 <artifactId>yang-data-api</artifactId>
217 <version>${yang.version}</version>
220 <groupId>org.opendaylight.yangtools</groupId>
221 <artifactId>yang-model-api</artifactId>
222 <version>${yang.version}</version>
225 <groupId>org.opendaylight.yangtools</groupId>
226 <artifactId>yang-data-util</artifactId>
227 <version>${yang.version}</version>
229 <!-- SAL Dependencies -->
231 <groupId>${project.groupId}</groupId>
232 <artifactId>sal-connector-api</artifactId>
233 <version>${project.version}</version>
236 <!-- Supporting Libraries -->
238 <groupId>org.slf4j</groupId>
239 <artifactId>slf4j-api</artifactId>
240 <version>${slf4j.version}</version>
243 <groupId>com.google.guava</groupId>
244 <artifactId>guava</artifactId>
245 <version>${guava.version}</version>
248 <groupId>org.eclipse.xtend</groupId>
249 <artifactId>org.eclipse.xtend.lib</artifactId>
250 <version>${xtend.version}</version>
253 <!-- Testing Dependencies -->
255 <groupId>junit</groupId>
256 <artifactId>junit</artifactId>
257 <version>${junit.version}</version>
261 <groupId>org.mockito</groupId>
262 <artifactId>mockito-all</artifactId>
263 <version>1.9.5</version>
267 </dependencyManagement>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-release-plugin</artifactId>
274 <version>${releaseplugin.version}</version>
277 <groupId>org.apache.felix</groupId>
278 <artifactId>maven-bundle-plugin</artifactId>
279 <version>${bundle.plugin.version}</version>
280 <extensions>true</extensions>
283 <id>bundle-manifest</id>
284 <phase>process-classes</phase>
286 <goal>manifest</goal>
292 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
294 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
298 <groupId>org.eclipse.xtend</groupId>
299 <artifactId>xtend-maven-plugin</artifactId>
300 <version>${xtend.version}</version>
307 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
313 <artifactId>maven-clean-plugin</artifactId>
314 <version>${maven.clean.plugin.version}</version>
318 <directory>${basedir}/src/main/xtend-gen</directory>
320 <include>**</include>
327 <groupId>org.jacoco</groupId>
328 <artifactId>jacoco-maven-plugin</artifactId>
329 <version>${jacoco.version}</version>
331 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
333 <groupId>org.eclipse.m2e</groupId>
334 <artifactId>lifecycle-mapping</artifactId>
335 <version>1.0.0</version>
337 <lifecycleMappingMetadata>
340 <pluginExecutionFilter>
341 <groupId>org.opendaylight.yangtools</groupId>
342 <artifactId>yang-maven-plugin</artifactId>
343 <versionRange>[0,)</versionRange>
345 <goal>generate-sources</goal>
347 </pluginExecutionFilter>
353 <pluginExecutionFilter>
354 <groupId>net.alchim31.maven</groupId>
355 <artifactId>scala-maven-plugin</artifactId>
356 <versionRange>[0,)</versionRange>
359 <goal>testCompile</goal>
361 </pluginExecutionFilter>
367 <pluginExecutionFilter>
368 <groupId>org.jacoco</groupId>
369 <artifactId>jacoco-maven-plugin</artifactId>
370 <versionRange>[0,)</versionRange>
372 <goal>prepare-agent</goal>
374 </pluginExecutionFilter>
380 </lifecycleMappingMetadata>
388 <groupId>org.apache.felix</groupId>
389 <artifactId>maven-bundle-plugin</artifactId>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-jar-plugin</artifactId>
394 <version>2.4</version>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-javadoc-plugin</artifactId>
399 <version>2.8.1</version>
401 <stylesheet>maven</stylesheet>
402 <failOnError>false</failOnError>
407 <goal>aggregate</goal>
418 <groupId>org.codehaus.mojo</groupId>
419 <artifactId>findbugs-maven-plugin</artifactId>
420 <version>2.4.0</version>
423 <threshold>Low</threshold>
428 <groupId>org.codehaus.mojo</groupId>
429 <artifactId>jdepend-maven-plugin</artifactId>
430 <version>2.0-beta-2</version>