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>
31 <module>samples</module>
34 <module>model</module>
36 <!-- Compability Packages -->
37 <module>sal-compability</module>
40 <module>sal-connector-api</module>
41 <module>sal-rest-connector</module>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
47 <!-- Java Versions -->
48 <maven.compiler.source>1.7</maven.compiler.source>
49 <maven.compiler.target>1.7</maven.compiler.target>
51 <!-- Plugin Versions -->
52 <bundle.plugin.version>2.4.0</bundle.plugin.version>
53 <releaseplugin.version>2.3.2</releaseplugin.version>
55 <!-- Dependency Versions -->
56 <slf4j.version>1.7.2</slf4j.version>
57 <yang.version>0.5.9-SNAPSHOT</yang.version>
58 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
59 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
60 <guava.version>14.0.1</guava.version>
61 <osgi.core.version>5.0.0</osgi.core.version>
62 <junit.version>4.8.1</junit.version>
63 <xtend.version>2.4.3</xtend.version>
69 <name>maven repo1</name>
70 <url>http://repo1.maven.org/maven2</url>
72 <enabled>false</enabled>
75 <enabled>true</enabled>
79 <id>opendaylight-snapshot</id>
80 <name>opendaylight-snapshot</name>
81 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
84 <id>opendaylight.release</id>
85 <name>opendaylight.release</name>
86 <url>${nexusproxy}/repositories/opendaylight.release/</url>
93 <id>opendaylight-release</id>
94 <name>opendaylight-release</name>
95 <url>${nexusproxy}/repositories/opendaylight.release/</url>
97 <!-- OpenDayLight Snapshot artifact -->
99 <id>opendaylight-snapshot</id>
100 <name>opendaylight-snapshot</name>
101 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
105 <name>thirdparty</name>
106 <url>${nexusproxy}/repositories/thirdparty/</url>
111 <url>http://repo1.maven.org/maven2</url>
113 <enabled>false</enabled>
116 <enabled>true</enabled>
121 <distributionManagement>
122 <!-- OpenDayLight Released artifact -->
124 <id>opendaylight-release</id>
125 <url>${nexusproxy}/repositories/opendaylight.release/</url>
127 <!-- OpenDayLight Snapshot artifact -->
129 <id>opendaylight-snapshot</id>
130 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
131 </snapshotRepository>
132 <!-- Site deployment -->
135 <url>${sitedeploy}</url>
137 </distributionManagement>
140 <dependencyManagement>
146 <!-- YANG Tools Dependencies -->
148 <groupId>org.opendaylight.yangtools</groupId>
149 <artifactId>yang-binding</artifactId>
150 <version>${yang.binding.version}</version>
153 <groupId>org.opendaylight.yangtools</groupId>
154 <artifactId>yang-common</artifactId>
155 <version>${yang.version}</version>
158 <groupId>org.opendaylight.yangtools</groupId>
159 <artifactId>yang-data-api</artifactId>
160 <version>${yang.version}</version>
163 <groupId>org.opendaylight.yangtools</groupId>
164 <artifactId>yang-model-api</artifactId>
165 <version>${yang.version}</version>
168 <groupId>org.opendaylight.yangtools</groupId>
169 <artifactId>yang-data-util</artifactId>
170 <version>${yang.version}</version>
172 <!-- SAL Dependencies -->
174 <groupId>${project.groupId}</groupId>
175 <artifactId>sal-connector-api</artifactId>
176 <version>${project.version}</version>
179 <!-- Supporting Libraries -->
181 <groupId>org.slf4j</groupId>
182 <artifactId>slf4j-api</artifactId>
183 <version>${slf4j.version}</version>
186 <groupId>com.google.guava</groupId>
187 <artifactId>guava</artifactId>
188 <version>${guava.version}</version>
191 <groupId>org.eclipse.xtend</groupId>
192 <artifactId>org.eclipse.xtend.lib</artifactId>
193 <version>${xtend.version}</version>
196 <!-- Testing Dependencies -->
198 <groupId>junit</groupId>
199 <artifactId>junit</artifactId>
200 <version>${junit.version}</version>
204 <groupId>org.mockito</groupId>
205 <artifactId>mockito-all</artifactId>
206 <version>1.9.5</version>
210 </dependencyManagement>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-release-plugin</artifactId>
217 <version>${releaseplugin.version}</version>
220 <groupId>org.apache.felix</groupId>
221 <artifactId>maven-bundle-plugin</artifactId>
222 <version>${bundle.plugin.version}</version>
223 <extensions>true</extensions>
226 <id>bundle-manifest</id>
227 <phase>process-classes</phase>
229 <goal>manifest</goal>
235 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
237 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
241 <groupId>org.eclipse.xtend</groupId>
242 <artifactId>xtend-maven-plugin</artifactId>
243 <version>${xtend.version}</version>
250 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
256 <artifactId>maven-clean-plugin</artifactId>
260 <directory>${basedir}/src/main/xtend-gen</directory>
262 <include>**</include>
272 <groupId>org.apache.felix</groupId>
273 <artifactId>maven-bundle-plugin</artifactId>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-jar-plugin</artifactId>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-javadoc-plugin</artifactId>
282 <version>2.8.1</version>
284 <stylesheet>maven</stylesheet>
285 <failOnError>false</failOnError>
290 <goal>aggregate</goal>
301 <groupId>org.codehaus.mojo</groupId>
302 <artifactId>findbugs-maven-plugin</artifactId>
303 <version>2.4.0</version>
306 <threshold>Low</threshold>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>jdepend-maven-plugin</artifactId>
313 <version>2.0-beta-2</version>