1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>commons.opendaylight</artifactId>
7 <version>1.4.2-SNAPSHOT</version>
8 <relativePath>../commons/opendaylight</relativePath>
11 <artifactId>sal-parent</artifactId>
12 <version>1.1-SNAPSHOT</version>
13 <packaging>pom</packaging>
15 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
16 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
17 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
22 <!-- Common APIs & Implementation -->
23 <module>sal-common</module>
24 <module>sal-common-api</module>
25 <module>sal-common-impl</module>
26 <module>sal-common-util</module>
28 <!-- Binding Independent -->
29 <module>sal-dom-api</module>
30 <module>sal-dom-broker</module>
31 <module>sal-dom-spi</module>
33 <!-- Binding Aware -->
34 <module>sal-binding-api</module>
35 <module>sal-binding-config</module>
36 <module>sal-binding-broker</module>
38 <module>sal-binding-util</module>
39 <module>sal-binding-dom-it</module>
42 <module>samples</module>
45 <module>model</module>
46 <module>sal-remote</module>
47 <module>sal-restconf-broker</module>
51 <module>sal-connector-api</module>
52 <module>sal-rest-connector</module>
53 <module>sal-netconf-connector</module>
56 <module>inventory-manager</module>
57 <module>statistics-manager</module>
58 <module>topology-manager</module>
59 <module>forwardingrules-manager</module>
60 <module>topology-lldp-discovery</module>
62 <!-- Compability Packages -->
63 <module>compatibility</module>
66 <module>remoterpc-routingtable/implementation</module>
67 <module>sal-remoterpc-connector/implementation</module>
68 <module>clustered-data-store/implementation</module>
76 <id>integrationtests</id>
78 <activeByDefault>false</activeByDefault>
81 <module>sal-binding-it</module>
82 <!--module>clustered-data-store/integrationtest</module -->
83 <!--module>zeromq-routingtable/integrationtest</module -->
84 <!--module>sal-remoterpc-connector/integrationtest</module -->
85 <!--module>test/sal-rest-connector-it</modulei -->
92 <name>m2e.version</name>
96 <!-- Put the IDE's build output in a folder other than target,
97 so that IDE builds don't interact with Maven builds -->
98 <directory>target-ide</directory>
104 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
106 <!-- Plugin Versions -->
107 <bundle.plugin.version>2.4.0</bundle.plugin.version>
108 <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
110 <!-- Dependency Versions -->
111 <mockito.version>1.9.5</mockito.version>
112 <xtend.version>2.4.3</xtend.version>
114 <!-- Sonar properties using jacoco to retrieve integration test results -->
115 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
116 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
117 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
118 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
119 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
120 <sonar.branch>${user.name}-private-view</sonar.branch>
121 <sonar.language>java</sonar.language>
122 <exam.version>3.0.0</exam.version>
123 <sal.version>0.7.1-SNAPSHOT</sal.version>
126 <dependencyManagement>
129 <groupId>xml-apis</groupId>
130 <artifactId>xml-apis</artifactId>
131 <version>1.4.01</version>
134 <!-- SAL Dependencies -->
136 <groupId>${project.groupId}</groupId>
137 <artifactId>sal-connector-api</artifactId>
138 <version>${project.version}</version>
141 <groupId>org.opendaylight.controller</groupId>
142 <artifactId>sal-binding-api</artifactId>
143 <version>${project.version}</version>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>sal</artifactId>
148 <version>${sal.version}</version>
151 <groupId>org.osgi</groupId>
152 <artifactId>org.osgi.compendium</artifactId>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>sal-remote</artifactId>
159 <version>${project.version}</version>
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>sal-binding-util</artifactId>
164 <version>${project.version}</version>
167 <!-- Supporting Libraries -->
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-api</artifactId>
171 <version>${slf4j.version}</version>
174 <groupId>org.eclipse.xtend</groupId>
175 <artifactId>org.eclipse.xtend.lib</artifactId>
176 <version>${xtend.version}</version>
179 <groupId>org.osgi</groupId>
180 <artifactId>org.osgi.core</artifactId>
181 <version>${osgi.core.version}</version>
184 <groupId>org.opendaylight.yangtools</groupId>
185 <artifactId>binding-generator-impl</artifactId>
186 <version>${yangtools.version}</version>
189 <groupId>org.opendaylight.yangtools</groupId>
190 <artifactId>yang-parser-impl</artifactId>
191 <version>${yangtools.version}</version>
194 <!-- Testing Dependencies -->
196 <groupId>org.mockito</groupId>
197 <artifactId>mockito-all</artifactId>
198 <version>${mockito.version}</version>
202 </dependencyManagement>
207 <groupId>org.apache.felix</groupId>
208 <artifactId>maven-bundle-plugin</artifactId>
209 <version>${bundle.plugin.version}</version>
210 <extensions>true</extensions>
211 <!--executions> <execution> <id>bundle-manifest</id>
212 <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
216 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
218 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
222 <groupId>org.eclipse.xtend</groupId>
223 <artifactId>xtend-maven-plugin</artifactId>
224 <version>${xtend.version}</version>
231 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
237 <artifactId>maven-clean-plugin</artifactId>
238 <version>${maven.clean.plugin.version}</version>
242 <directory>${basedir}/src/main/xtend-gen</directory>
244 <include>**</include>
251 <groupId>org.jacoco</groupId>
252 <artifactId>jacoco-maven-plugin</artifactId>
253 <version>${jacoco.version}</version>
255 <!--This plugin's configuration is used to store Eclipse
256 m2e settings only. It has no influence on the Maven build itself. -->
258 <groupId>org.eclipse.m2e</groupId>
259 <artifactId>lifecycle-mapping</artifactId>
260 <version>1.0.0</version>
262 <lifecycleMappingMetadata>
265 <pluginExecutionFilter>
266 <groupId>org.opendaylight.yangtools</groupId>
267 <artifactId>yang-maven-plugin</artifactId>
268 <versionRange>[0,)</versionRange>
270 <goal>generate-sources</goal>
272 </pluginExecutionFilter>
278 <pluginExecutionFilter>
279 <groupId>net.alchim31.maven</groupId>
280 <artifactId>scala-maven-plugin</artifactId>
281 <versionRange>[0,)</versionRange>
284 <goal>testCompile</goal>
286 </pluginExecutionFilter>
292 <pluginExecutionFilter>
293 <groupId>org.jacoco</groupId>
294 <artifactId>jacoco-maven-plugin</artifactId>
295 <versionRange>[0,)</versionRange>
297 <goal>prepare-agent</goal>
299 </pluginExecutionFilter>
305 </lifecycleMappingMetadata>
313 <groupId>org.apache.felix</groupId>
314 <artifactId>maven-bundle-plugin</artifactId>
317 <groupId>org.codehaus.mojo</groupId>
318 <artifactId>build-helper-maven-plugin</artifactId>
319 <version>1.8</version>
323 <phase>generate-sources</phase>
325 <goal>add-source</goal>
329 <source>${project.build.directory}/generated-sources/config</source>
330 <source>${project.build.directory}/generated-sources/sal</source>
331 <source>src/main/xtend-gen</source>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-jar-plugin</artifactId>
340 <version>2.4</version>
343 <!-- FIXME: BUG-272: remove this configuration override -->
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-checkstyle-plugin</artifactId>
346 <version>${checkstyle.version}</version>
358 <groupId>org.codehaus.mojo</groupId>
359 <artifactId>findbugs-maven-plugin</artifactId>
360 <version>2.4.0</version>
363 <threshold>Low</threshold>
368 <groupId>org.codehaus.mojo</groupId>
369 <artifactId>jdepend-maven-plugin</artifactId>
370 <version>2.0-beta-2</version>