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 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
67 <jacoco.version>0.5.3.201107060350</jacoco.version>
68 <!-- Sonar properties using jacoco to retrieve integration test results -->
69 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
70 <!-- Sonar properties using jacoco to retrieve integration test results -->
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.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
77 <sonar.language>java</sonar.language>
83 <name>maven repo1</name>
84 <url>http://repo1.maven.org/maven2</url>
86 <enabled>false</enabled>
89 <enabled>true</enabled>
93 <id>opendaylight-snapshot</id>
94 <name>opendaylight-snapshot</name>
95 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
98 <id>opendaylight.release</id>
99 <name>opendaylight.release</name>
100 <url>${nexusproxy}/repositories/opendaylight.release/</url>
102 </pluginRepositories>
107 <id>opendaylight-release</id>
108 <name>opendaylight-release</name>
109 <url>${nexusproxy}/repositories/opendaylight.release/</url>
111 <!-- OpenDayLight Snapshot artifact -->
113 <id>opendaylight-snapshot</id>
114 <name>opendaylight-snapshot</name>
115 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
119 <name>thirdparty</name>
120 <url>${nexusproxy}/repositories/thirdparty/</url>
125 <url>http://repo1.maven.org/maven2</url>
127 <enabled>false</enabled>
130 <enabled>true</enabled>
135 <distributionManagement>
136 <!-- OpenDayLight Released artifact -->
138 <id>opendaylight-release</id>
139 <url>${nexusproxy}/repositories/opendaylight.release/</url>
141 <!-- OpenDayLight Snapshot artifact -->
143 <id>opendaylight-snapshot</id>
144 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
145 </snapshotRepository>
146 <!-- Site deployment -->
149 <url>${sitedeploy}</url>
151 </distributionManagement>
154 <dependencyManagement>
160 <!-- YANG Tools Dependencies -->
162 <groupId>org.opendaylight.yangtools</groupId>
163 <artifactId>yang-binding</artifactId>
164 <version>${yang.binding.version}</version>
167 <groupId>org.opendaylight.yangtools</groupId>
168 <artifactId>yang-common</artifactId>
169 <version>${yang.version}</version>
172 <groupId>org.opendaylight.yangtools</groupId>
173 <artifactId>yang-data-api</artifactId>
174 <version>${yang.version}</version>
177 <groupId>org.opendaylight.yangtools</groupId>
178 <artifactId>yang-model-api</artifactId>
179 <version>${yang.version}</version>
182 <groupId>org.opendaylight.yangtools</groupId>
183 <artifactId>yang-data-util</artifactId>
184 <version>${yang.version}</version>
186 <!-- SAL Dependencies -->
188 <groupId>${project.groupId}</groupId>
189 <artifactId>sal-connector-api</artifactId>
190 <version>${project.version}</version>
193 <!-- Supporting Libraries -->
195 <groupId>org.slf4j</groupId>
196 <artifactId>slf4j-api</artifactId>
197 <version>${slf4j.version}</version>
200 <groupId>com.google.guava</groupId>
201 <artifactId>guava</artifactId>
202 <version>${guava.version}</version>
205 <groupId>org.eclipse.xtend</groupId>
206 <artifactId>org.eclipse.xtend.lib</artifactId>
207 <version>${xtend.version}</version>
210 <!-- Testing Dependencies -->
212 <groupId>junit</groupId>
213 <artifactId>junit</artifactId>
214 <version>${junit.version}</version>
218 <groupId>org.mockito</groupId>
219 <artifactId>mockito-all</artifactId>
220 <version>1.9.5</version>
224 </dependencyManagement>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-release-plugin</artifactId>
231 <version>${releaseplugin.version}</version>
234 <groupId>org.apache.felix</groupId>
235 <artifactId>maven-bundle-plugin</artifactId>
236 <version>${bundle.plugin.version}</version>
237 <extensions>true</extensions>
240 <id>bundle-manifest</id>
241 <phase>process-classes</phase>
243 <goal>manifest</goal>
249 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
251 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
255 <groupId>org.eclipse.xtend</groupId>
256 <artifactId>xtend-maven-plugin</artifactId>
257 <version>${xtend.version}</version>
264 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
270 <artifactId>maven-clean-plugin</artifactId>
271 <version>${maven.clean.plugin.version}</version>
275 <directory>${basedir}/src/main/xtend-gen</directory>
277 <include>**</include>
284 <groupId>org.jacoco</groupId>
285 <artifactId>jacoco-maven-plugin</artifactId>
286 <version>${jacoco.version}</version>
292 <groupId>org.apache.felix</groupId>
293 <artifactId>maven-bundle-plugin</artifactId>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-jar-plugin</artifactId>
298 <version>2.4</version>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-javadoc-plugin</artifactId>
303 <version>2.8.1</version>
305 <stylesheet>maven</stylesheet>
306 <failOnError>false</failOnError>
311 <goal>aggregate</goal>
318 <groupId>org.jacoco</groupId>
319 <artifactId>jacoco-maven-plugin</artifactId>
321 <includes>org.opendaylight.controller.*</includes>
327 <goal>prepare-agent</goal>
344 <groupId>org.codehaus.mojo</groupId>
345 <artifactId>findbugs-maven-plugin</artifactId>
346 <version>2.4.0</version>
349 <threshold>Low</threshold>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>jdepend-maven-plugin</artifactId>
356 <version>2.0-beta-2</version>