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>
42 <module>flow-management-compatibility</module>
46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
48 <!-- Java Versions -->
49 <maven.compiler.source>1.7</maven.compiler.source>
50 <maven.compiler.target>1.7</maven.compiler.target>
52 <!-- Plugin Versions -->
53 <bundle.plugin.version>2.4.0</bundle.plugin.version>
54 <releaseplugin.version>2.3.2</releaseplugin.version>
56 <!-- Dependency Versions -->
57 <slf4j.version>1.7.2</slf4j.version>
58 <yang.version>0.5.9-SNAPSHOT</yang.version>
59 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
60 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
61 <guava.version>14.0.1</guava.version>
62 <osgi.core.version>5.0.0</osgi.core.version>
63 <junit.version>4.8.1</junit.version>
64 <xtend.version>2.4.3</xtend.version>
70 <name>maven repo1</name>
71 <url>http://repo1.maven.org/maven2</url>
73 <enabled>false</enabled>
76 <enabled>true</enabled>
80 <id>opendaylight-snapshot</id>
81 <name>opendaylight-snapshot</name>
82 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
85 <id>opendaylight.release</id>
86 <name>opendaylight.release</name>
87 <url>${nexusproxy}/repositories/opendaylight.release/</url>
94 <id>opendaylight-release</id>
95 <name>opendaylight-release</name>
96 <url>${nexusproxy}/repositories/opendaylight.release/</url>
98 <!-- OpenDayLight Snapshot artifact -->
100 <id>opendaylight-snapshot</id>
101 <name>opendaylight-snapshot</name>
102 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
106 <name>thirdparty</name>
107 <url>${nexusproxy}/repositories/thirdparty/</url>
112 <url>http://repo1.maven.org/maven2</url>
114 <enabled>false</enabled>
117 <enabled>true</enabled>
122 <distributionManagement>
123 <!-- OpenDayLight Released artifact -->
125 <id>opendaylight-release</id>
126 <url>${nexusproxy}/repositories/opendaylight.release/</url>
128 <!-- OpenDayLight Snapshot artifact -->
130 <id>opendaylight-snapshot</id>
131 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
132 </snapshotRepository>
133 <!-- Site deployment -->
136 <url>${sitedeploy}</url>
138 </distributionManagement>
141 <dependencyManagement>
147 <!-- YANG Tools Dependencies -->
149 <groupId>org.opendaylight.yangtools</groupId>
150 <artifactId>yang-binding</artifactId>
151 <version>${yang.binding.version}</version>
154 <groupId>org.opendaylight.yangtools</groupId>
155 <artifactId>yang-common</artifactId>
156 <version>${yang.version}</version>
159 <groupId>org.opendaylight.yangtools</groupId>
160 <artifactId>yang-data-api</artifactId>
161 <version>${yang.version}</version>
164 <groupId>org.opendaylight.yangtools</groupId>
165 <artifactId>yang-model-api</artifactId>
166 <version>${yang.version}</version>
169 <groupId>org.opendaylight.yangtools</groupId>
170 <artifactId>yang-data-util</artifactId>
171 <version>${yang.version}</version>
173 <!-- SAL Dependencies -->
175 <groupId>${project.groupId}</groupId>
176 <artifactId>sal-connector-api</artifactId>
177 <version>${project.version}</version>
180 <!-- Supporting Libraries -->
182 <groupId>org.slf4j</groupId>
183 <artifactId>slf4j-api</artifactId>
184 <version>${slf4j.version}</version>
187 <groupId>com.google.guava</groupId>
188 <artifactId>guava</artifactId>
189 <version>${guava.version}</version>
192 <groupId>org.eclipse.xtend</groupId>
193 <artifactId>org.eclipse.xtend.lib</artifactId>
194 <version>${xtend.version}</version>
197 <!-- Testing Dependencies -->
199 <groupId>junit</groupId>
200 <artifactId>junit</artifactId>
201 <version>${junit.version}</version>
205 <groupId>org.mockito</groupId>
206 <artifactId>mockito-all</artifactId>
207 <version>1.9.5</version>
211 </dependencyManagement>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-release-plugin</artifactId>
218 <version>${releaseplugin.version}</version>
221 <groupId>org.apache.felix</groupId>
222 <artifactId>maven-bundle-plugin</artifactId>
223 <version>${bundle.plugin.version}</version>
224 <extensions>true</extensions>
227 <id>bundle-manifest</id>
228 <phase>process-classes</phase>
230 <goal>manifest</goal>
236 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
238 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
242 <groupId>org.eclipse.xtend</groupId>
243 <artifactId>xtend-maven-plugin</artifactId>
244 <version>${xtend.version}</version>
251 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
257 <artifactId>maven-clean-plugin</artifactId>
261 <directory>${basedir}/src/main/xtend-gen</directory>
263 <include>**</include>
273 <groupId>org.apache.felix</groupId>
274 <artifactId>maven-bundle-plugin</artifactId>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-jar-plugin</artifactId>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-javadoc-plugin</artifactId>
283 <version>2.8.1</version>
285 <stylesheet>maven</stylesheet>
286 <failOnError>false</failOnError>
291 <goal>aggregate</goal>
302 <groupId>org.codehaus.mojo</groupId>
303 <artifactId>findbugs-maven-plugin</artifactId>
304 <version>2.4.0</version>
307 <threshold>Low</threshold>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>jdepend-maven-plugin</artifactId>
314 <version>2.0-beta-2</version>