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>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
50 <!-- Java Versions -->
51 <maven.compiler.source>1.7</maven.compiler.source>
52 <maven.compiler.target>1.7</maven.compiler.target>
54 <!-- Plugin Versions -->
55 <bundle.plugin.version>2.4.0</bundle.plugin.version>
56 <releaseplugin.version>2.3.2</releaseplugin.version>
58 <!-- Dependency Versions -->
59 <slf4j.version>1.7.2</slf4j.version>
60 <yang.version>0.5.9-SNAPSHOT</yang.version>
61 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
62 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
63 <guava.version>14.0.1</guava.version>
64 <osgi.core.version>5.0.0</osgi.core.version>
65 <junit.version>4.8.1</junit.version>
66 <xtend.version>2.4.3</xtend.version>
67 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
68 <jacoco.version>0.5.3.201107060350</jacoco.version>
69 <!-- Sonar properties using jacoco to retrieve integration test results -->
70 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
71 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
72 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
73 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
74 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
75 <sonar.branch>${user.name}-private-view</sonar.branch>
76 <sonar.language>java</sonar.language>
82 <name>maven repo1</name>
83 <url>http://repo1.maven.org/maven2</url>
85 <enabled>false</enabled>
88 <enabled>true</enabled>
92 <id>opendaylight-snapshot</id>
93 <name>opendaylight-snapshot</name>
94 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
97 <id>opendaylight.release</id>
98 <name>opendaylight.release</name>
99 <url>${nexusproxy}/repositories/opendaylight.release/</url>
101 </pluginRepositories>
106 <id>opendaylight-release</id>
107 <name>opendaylight-release</name>
108 <url>${nexusproxy}/repositories/opendaylight.release/</url>
110 <enabled>false</enabled>
113 <enabled>true</enabled>
116 <!-- OpenDayLight Snapshot artifact -->
118 <id>opendaylight-snapshot</id>
119 <name>opendaylight-snapshot</name>
120 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
122 <enabled>true</enabled>
125 <enabled>false</enabled>
130 <name>thirdparty</name>
131 <url>${nexusproxy}/repositories/thirdparty/</url>
133 <enabled>false</enabled>
136 <updatePolicy>never</updatePolicy>
137 <enabled>true</enabled>
143 <url>http://repo1.maven.org/maven2</url>
145 <enabled>false</enabled>
148 <updatePolicy>never</updatePolicy>
149 <enabled>true</enabled>
154 <distributionManagement>
155 <!-- OpenDayLight Released artifact -->
157 <id>opendaylight-release</id>
158 <url>${nexusproxy}/repositories/opendaylight.release/</url>
160 <!-- OpenDayLight Snapshot artifact -->
162 <id>opendaylight-snapshot</id>
163 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
164 </snapshotRepository>
165 <!-- Site deployment -->
168 <url>${sitedeploy}</url>
170 </distributionManagement>
173 <dependencyManagement>
179 <!-- YANG Tools Dependencies -->
181 <groupId>org.opendaylight.yangtools</groupId>
182 <artifactId>yang-binding</artifactId>
183 <version>${yang.binding.version}</version>
186 <groupId>org.opendaylight.yangtools</groupId>
187 <artifactId>yang-common</artifactId>
188 <version>${yang.version}</version>
191 <groupId>org.opendaylight.yangtools</groupId>
192 <artifactId>yang-data-api</artifactId>
193 <version>${yang.version}</version>
196 <groupId>org.opendaylight.yangtools</groupId>
197 <artifactId>yang-model-api</artifactId>
198 <version>${yang.version}</version>
201 <groupId>org.opendaylight.yangtools</groupId>
202 <artifactId>yang-data-util</artifactId>
203 <version>${yang.version}</version>
205 <!-- SAL Dependencies -->
207 <groupId>${project.groupId}</groupId>
208 <artifactId>sal-connector-api</artifactId>
209 <version>${project.version}</version>
212 <!-- Supporting Libraries -->
214 <groupId>org.slf4j</groupId>
215 <artifactId>slf4j-api</artifactId>
216 <version>${slf4j.version}</version>
219 <groupId>com.google.guava</groupId>
220 <artifactId>guava</artifactId>
221 <version>${guava.version}</version>
224 <groupId>org.eclipse.xtend</groupId>
225 <artifactId>org.eclipse.xtend.lib</artifactId>
226 <version>${xtend.version}</version>
229 <!-- Testing Dependencies -->
231 <groupId>junit</groupId>
232 <artifactId>junit</artifactId>
233 <version>${junit.version}</version>
237 <groupId>org.mockito</groupId>
238 <artifactId>mockito-all</artifactId>
239 <version>1.9.5</version>
243 </dependencyManagement>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-release-plugin</artifactId>
250 <version>${releaseplugin.version}</version>
253 <groupId>org.apache.felix</groupId>
254 <artifactId>maven-bundle-plugin</artifactId>
255 <version>${bundle.plugin.version}</version>
256 <extensions>true</extensions>
259 <id>bundle-manifest</id>
260 <phase>process-classes</phase>
262 <goal>manifest</goal>
268 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
270 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
274 <groupId>org.eclipse.xtend</groupId>
275 <artifactId>xtend-maven-plugin</artifactId>
276 <version>${xtend.version}</version>
283 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
289 <artifactId>maven-clean-plugin</artifactId>
290 <version>${maven.clean.plugin.version}</version>
294 <directory>${basedir}/src/main/xtend-gen</directory>
296 <include>**</include>
303 <groupId>org.jacoco</groupId>
304 <artifactId>jacoco-maven-plugin</artifactId>
305 <version>${jacoco.version}</version>
307 <!--This plugin's configuration is used to store Eclipse
308 m2e settings only. It has no influence on the Maven build itself. -->
310 <groupId>org.eclipse.m2e</groupId>
311 <artifactId>lifecycle-mapping</artifactId>
312 <version>1.0.0</version>
314 <lifecycleMappingMetadata>
317 <pluginExecutionFilter>
319 org.opendaylight.yangtools
332 </pluginExecutionFilter>
338 </lifecycleMappingMetadata>
345 <groupId>org.apache.felix</groupId>
346 <artifactId>maven-bundle-plugin</artifactId>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-jar-plugin</artifactId>
351 <version>2.4</version>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-javadoc-plugin</artifactId>
356 <version>2.8.1</version>
358 <stylesheet>maven</stylesheet>
359 <failOnError>false</failOnError>
364 <goal>aggregate</goal>
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>findbugs-maven-plugin</artifactId>
377 <version>2.4.0</version>
380 <threshold>Low</threshold>
385 <groupId>org.codehaus.mojo</groupId>
386 <artifactId>jdepend-maven-plugin</artifactId>
387 <version>2.0-beta-2</version>