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>
80 <!-- OpenDayLight Repo Mirror -->
82 <id>opendaylight-mirror</id>
83 <name>opendaylight-mirror</name>
84 <url>${nexusproxy}/groups/public/</url>
86 <enabled>false</enabled>
89 <enabled>true</enabled>
90 <updatePolicy>never</updatePolicy>
93 <!-- OpenDayLight Snapshot artifact -->
95 <id>opendaylight-snapshot</id>
96 <name>opendaylight-snapshot</name>
97 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
99 <enabled>true</enabled>
102 <enabled>false</enabled>
105 </pluginRepositories>
109 <!-- OpenDayLight Repo Mirror -->
111 <id>opendaylight-mirror</id>
112 <name>opendaylight-mirror</name>
113 <url>${nexusproxy}/groups/public/</url>
115 <enabled>false</enabled>
118 <enabled>true</enabled>
119 <updatePolicy>never</updatePolicy>
122 <!-- OpenDayLight Snapshot artifact -->
124 <id>opendaylight-snapshot</id>
125 <name>opendaylight-snapshot</name>
126 <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
128 <enabled>true</enabled>
131 <enabled>false</enabled>
136 <distributionManagement>
137 <!-- OpenDayLight Released artifact -->
139 <id>opendaylight-release</id>
140 <url>${nexusproxy}/repositories/opendaylight.release/</url>
142 <!-- OpenDayLight Snapshot artifact -->
144 <id>opendaylight-snapshot</id>
145 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
146 </snapshotRepository>
147 <!-- Site deployment -->
150 <url>${sitedeploy}</url>
152 </distributionManagement>
155 <dependencyManagement>
161 <!-- YANG Tools Dependencies -->
163 <groupId>org.opendaylight.yangtools</groupId>
164 <artifactId>yang-binding</artifactId>
165 <version>${yang.binding.version}</version>
168 <groupId>org.opendaylight.yangtools</groupId>
169 <artifactId>yang-common</artifactId>
170 <version>${yang.version}</version>
173 <groupId>org.opendaylight.yangtools</groupId>
174 <artifactId>yang-data-api</artifactId>
175 <version>${yang.version}</version>
178 <groupId>org.opendaylight.yangtools</groupId>
179 <artifactId>yang-model-api</artifactId>
180 <version>${yang.version}</version>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yang-data-util</artifactId>
185 <version>${yang.version}</version>
187 <!-- SAL Dependencies -->
189 <groupId>${project.groupId}</groupId>
190 <artifactId>sal-connector-api</artifactId>
191 <version>${project.version}</version>
194 <!-- Supporting Libraries -->
196 <groupId>org.slf4j</groupId>
197 <artifactId>slf4j-api</artifactId>
198 <version>${slf4j.version}</version>
201 <groupId>com.google.guava</groupId>
202 <artifactId>guava</artifactId>
203 <version>${guava.version}</version>
206 <groupId>org.eclipse.xtend</groupId>
207 <artifactId>org.eclipse.xtend.lib</artifactId>
208 <version>${xtend.version}</version>
211 <!-- Testing Dependencies -->
213 <groupId>junit</groupId>
214 <artifactId>junit</artifactId>
215 <version>${junit.version}</version>
219 <groupId>org.mockito</groupId>
220 <artifactId>mockito-all</artifactId>
221 <version>1.9.5</version>
225 </dependencyManagement>
229 <!--This plugin's configuration is used to store Eclipse
230 m2e settings only. It has no influence on the Maven build itself. -->
232 <groupId>org.eclipse.m2e</groupId>
233 <artifactId>lifecycle-mapping</artifactId>
234 <version>1.0.0</version>
236 <lifecycleMappingMetadata>
239 <pluginExecutionFilter>
240 <groupId>org.jacoco</groupId>
241 <artifactId>jacoco-maven-plugin</artifactId>
242 <versionRange>[0.0,)</versionRange>
244 <goal>prepare-agent</goal>
245 <goal>pre-test</goal>
246 <goal>post-test</goal>
248 </pluginExecutionFilter>
254 </lifecycleMappingMetadata>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-release-plugin</artifactId>
260 <version>${releaseplugin.version}</version>
263 <groupId>org.apache.felix</groupId>
264 <artifactId>maven-bundle-plugin</artifactId>
265 <version>${bundle.plugin.version}</version>
266 <extensions>true</extensions>
269 <id>bundle-manifest</id>
270 <phase>process-classes</phase>
272 <goal>manifest</goal>
278 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
280 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
284 <groupId>org.eclipse.xtend</groupId>
285 <artifactId>xtend-maven-plugin</artifactId>
286 <version>${xtend.version}</version>
293 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
299 <artifactId>maven-clean-plugin</artifactId>
300 <version>${maven.clean.plugin.version}</version>
304 <directory>${basedir}/src/main/xtend-gen</directory>
306 <include>**</include>
313 <groupId>org.jacoco</groupId>
314 <artifactId>jacoco-maven-plugin</artifactId>
315 <version>${jacoco.version}</version>
317 <!--This plugin's configuration is used to store Eclipse
318 m2e settings only. It has no influence on the Maven build itself. -->
320 <groupId>org.eclipse.m2e</groupId>
321 <artifactId>lifecycle-mapping</artifactId>
322 <version>1.0.0</version>
324 <lifecycleMappingMetadata>
327 <pluginExecutionFilter>
329 org.opendaylight.yangtools
342 </pluginExecutionFilter>
348 </lifecycleMappingMetadata>
356 <groupId>org.apache.felix</groupId>
357 <artifactId>maven-bundle-plugin</artifactId>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-jar-plugin</artifactId>
362 <version>2.4</version>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-javadoc-plugin</artifactId>
367 <version>2.8.1</version>
369 <stylesheet>maven</stylesheet>
370 <failOnError>false</failOnError>
375 <goal>aggregate</goal>
386 <groupId>org.codehaus.mojo</groupId>
387 <artifactId>findbugs-maven-plugin</artifactId>
388 <version>2.4.0</version>
391 <threshold>Low</threshold>
396 <groupId>org.codehaus.mojo</groupId>
397 <artifactId>jdepend-maven-plugin</artifactId>
398 <version>2.0-beta-2</version>