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-broker</module>
29 <module>sal-binding-it</module>
32 <module>samples</module>
35 <module>model</module>
37 <!-- Compability Packages -->
38 <module>sal-compability</module>
41 <module>sal-connector-api</module>
42 <module>sal-rest-connector</module>
43 <module>flow-management-compatibility</module>
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
49 <!-- Java Versions -->
50 <maven.compiler.source>1.7</maven.compiler.source>
51 <maven.compiler.target>1.7</maven.compiler.target>
53 <!-- Plugin Versions -->
54 <bundle.plugin.version>2.4.0</bundle.plugin.version>
55 <releaseplugin.version>2.3.2</releaseplugin.version>
57 <!-- Dependency Versions -->
58 <slf4j.version>1.7.2</slf4j.version>
59 <yang.version>0.5.9-SNAPSHOT</yang.version>
60 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
61 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
62 <guava.version>14.0.1</guava.version>
63 <osgi.core.version>5.0.0</osgi.core.version>
64 <junit.version>4.8.1</junit.version>
65 <xtend.version>2.4.3</xtend.version>
66 <jacoco.version>0.5.3.201107060350</jacoco.version>
67 <!-- Sonar properties using jacoco to retrieve integration test results -->
68 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
69 <!-- Sonar properties using jacoco to retrieve integration test results -->
70 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
71 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
72 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
73 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
74 <sonar.branch>${user.name}-private-view</sonar.branch>
75 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
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 <!-- OpenDayLight Snapshot artifact -->
112 <id>opendaylight-snapshot</id>
113 <name>opendaylight-snapshot</name>
114 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
118 <name>thirdparty</name>
119 <url>${nexusproxy}/repositories/thirdparty/</url>
124 <url>http://repo1.maven.org/maven2</url>
126 <enabled>false</enabled>
129 <enabled>true</enabled>
134 <distributionManagement>
135 <!-- OpenDayLight Released artifact -->
137 <id>opendaylight-release</id>
138 <url>${nexusproxy}/repositories/opendaylight.release/</url>
140 <!-- OpenDayLight Snapshot artifact -->
142 <id>opendaylight-snapshot</id>
143 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
144 </snapshotRepository>
145 <!-- Site deployment -->
148 <url>${sitedeploy}</url>
150 </distributionManagement>
153 <dependencyManagement>
159 <!-- YANG Tools Dependencies -->
161 <groupId>org.opendaylight.yangtools</groupId>
162 <artifactId>yang-binding</artifactId>
163 <version>${yang.binding.version}</version>
166 <groupId>org.opendaylight.yangtools</groupId>
167 <artifactId>yang-common</artifactId>
168 <version>${yang.version}</version>
171 <groupId>org.opendaylight.yangtools</groupId>
172 <artifactId>yang-data-api</artifactId>
173 <version>${yang.version}</version>
176 <groupId>org.opendaylight.yangtools</groupId>
177 <artifactId>yang-model-api</artifactId>
178 <version>${yang.version}</version>
181 <groupId>org.opendaylight.yangtools</groupId>
182 <artifactId>yang-data-util</artifactId>
183 <version>${yang.version}</version>
185 <!-- SAL Dependencies -->
187 <groupId>${project.groupId}</groupId>
188 <artifactId>sal-connector-api</artifactId>
189 <version>${project.version}</version>
192 <!-- Supporting Libraries -->
194 <groupId>org.slf4j</groupId>
195 <artifactId>slf4j-api</artifactId>
196 <version>${slf4j.version}</version>
199 <groupId>com.google.guava</groupId>
200 <artifactId>guava</artifactId>
201 <version>${guava.version}</version>
204 <groupId>org.eclipse.xtend</groupId>
205 <artifactId>org.eclipse.xtend.lib</artifactId>
206 <version>${xtend.version}</version>
209 <!-- Testing Dependencies -->
211 <groupId>junit</groupId>
212 <artifactId>junit</artifactId>
213 <version>${junit.version}</version>
217 <groupId>org.mockito</groupId>
218 <artifactId>mockito-all</artifactId>
219 <version>1.9.5</version>
223 </dependencyManagement>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-release-plugin</artifactId>
230 <version>${releaseplugin.version}</version>
233 <groupId>org.apache.felix</groupId>
234 <artifactId>maven-bundle-plugin</artifactId>
235 <version>${bundle.plugin.version}</version>
236 <extensions>true</extensions>
239 <id>bundle-manifest</id>
240 <phase>process-classes</phase>
242 <goal>manifest</goal>
248 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
250 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
254 <groupId>org.eclipse.xtend</groupId>
255 <artifactId>xtend-maven-plugin</artifactId>
256 <version>${xtend.version}</version>
263 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
269 <artifactId>maven-clean-plugin</artifactId>
273 <directory>${basedir}/src/main/xtend-gen</directory>
275 <include>**</include>
282 <groupId>org.jacoco</groupId>
283 <artifactId>jacoco-maven-plugin</artifactId>
284 <version>${jacoco.version}</version>
290 <groupId>org.apache.felix</groupId>
291 <artifactId>maven-bundle-plugin</artifactId>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-jar-plugin</artifactId>
296 <version>2.4</version>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
301 <version>2.8.1</version>
303 <stylesheet>maven</stylesheet>
304 <failOnError>false</failOnError>
309 <goal>aggregate</goal>
316 <groupId>org.jacoco</groupId>
317 <artifactId>jacoco-maven-plugin</artifactId>
319 <includes>org.opendaylight.controller.*</includes>
325 <goal>prepare-agent</goal>
342 <groupId>org.codehaus.mojo</groupId>
343 <artifactId>findbugs-maven-plugin</artifactId>
344 <version>2.4.0</version>
347 <threshold>Low</threshold>
352 <groupId>org.codehaus.mojo</groupId>
353 <artifactId>jdepend-maven-plugin</artifactId>
354 <version>2.0-beta-2</version>