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 <module>sal-common</module>
16 <module>sal-common-util</module>
17 <!-- Binding Independent -->
18 <module>sal-dom-api</module>
19 <module>sal-dom-broker</module>
20 <module>sal-dom-spi</module>
21 <!-- Binding Aware -->
22 <module>sal-binding-api</module>
23 <module>sal-binding-broker</module>
25 <module>samples</module>
27 <module>model</module>
28 <!-- Compability Packages -->
29 <module>sal-compability</module>
31 <module>sal-connector-api</module>
32 <module>sal-rest-connector</module>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
38 <!-- Java Versions -->
39 <maven.compiler.source>1.7</maven.compiler.source>
40 <maven.compiler.target>1.7</maven.compiler.target>
42 <!-- Plugin Versions -->
43 <bundle.plugin.version>2.4.0</bundle.plugin.version>
44 <releaseplugin.version>2.3.2</releaseplugin.version>
46 <!-- Dependency Versions -->
47 <slf4j.version>1.7.2</slf4j.version>
48 <yang.version>0.5.8</yang.version>
49 <yang.codegen.version>0.5.8</yang.codegen.version>
50 <guava.version>14.0.1</guava.version>
51 <osgi.core.version>5.0.0</osgi.core.version>
52 <junit.version>4.8.1</junit.version>
53 <xtend.version>2.4.3</xtend.version>
59 <name>maven repo1</name>
60 <url>http://repo1.maven.org/maven2</url>
62 <enabled>false</enabled>
65 <enabled>true</enabled>
69 <id>opendaylight.release</id>
70 <name>opendaylight.release</name>
71 <url>${nexusproxy}/repositories/opendaylight.release/</url>
78 <id>opendaylight-release</id>
79 <name>opendaylight-release</name>
80 <url>${nexusproxy}/repositories/opendaylight.release/</url>
82 <!-- OpenDayLight Snapshot artifact -->
84 <id>opendaylight-snapshot</id>
85 <name>opendaylight-snapshot</name>
86 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
90 <name>thirdparty</name>
91 <url>${nexusproxy}/repositories/thirdparty/</url>
96 <url>http://repo1.maven.org/maven2</url>
98 <enabled>false</enabled>
101 <enabled>true</enabled>
106 <distributionManagement>
107 <!-- OpenDayLight Released artifact -->
109 <id>opendaylight-release</id>
110 <url>${nexusproxy}/repositories/opendaylight.release/</url>
112 <!-- OpenDayLight Snapshot artifact -->
114 <id>opendaylight-snapshot</id>
115 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
116 </snapshotRepository>
117 <!-- Site deployment -->
120 <url>${sitedeploy}</url>
122 </distributionManagement>
125 <dependencyManagement>
131 <!-- YANG Tools Dependencies -->
133 <groupId>org.opendaylight.yangtools</groupId>
134 <artifactId>yang-binding</artifactId>
135 <version>${yang.version}</version>
138 <groupId>org.opendaylight.yangtools</groupId>
139 <artifactId>yang-common</artifactId>
140 <version>${yang.version}</version>
143 <groupId>org.opendaylight.yangtools</groupId>
144 <artifactId>yang-data-api</artifactId>
145 <version>${yang.version}</version>
148 <groupId>org.opendaylight.yangtools</groupId>
149 <artifactId>yang-model-api</artifactId>
150 <version>${yang.version}</version>
153 <groupId>org.opendaylight.yangtools</groupId>
154 <artifactId>yang-data-util</artifactId>
155 <version>${yang.version}</version>
157 <!-- SAL Dependencies -->
159 <groupId>${project.groupId}</groupId>
160 <artifactId>sal-connector-api</artifactId>
161 <version>${project.version}</version>
164 <!-- Supporting Libraries -->
166 <groupId>org.slf4j</groupId>
167 <artifactId>slf4j-api</artifactId>
168 <version>${slf4j.version}</version>
171 <groupId>com.google.guava</groupId>
172 <artifactId>guava</artifactId>
173 <version>${guava.version}</version>
176 <groupId>org.eclipse.xtend</groupId>
177 <artifactId>org.eclipse.xtend.lib</artifactId>
178 <version>${xtend.version}</version>
181 <!-- Testing Dependencies -->
183 <groupId>junit</groupId>
184 <artifactId>junit</artifactId>
185 <version>${junit.version}</version>
189 <groupId>org.mockito</groupId>
190 <artifactId>mockito-all</artifactId>
191 <version>1.9.5</version>
195 </dependencyManagement>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-release-plugin</artifactId>
202 <version>${releaseplugin.version}</version>
205 <groupId>org.apache.felix</groupId>
206 <artifactId>maven-bundle-plugin</artifactId>
207 <version>${bundle.plugin.version}</version>
208 <extensions>true</extensions>
211 <id>bundle-manifest</id>
212 <phase>process-classes</phase>
214 <goal>manifest</goal>
220 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
222 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
226 <artifactId>maven-jar-plugin</artifactId>
229 <!-- Bundle OSGi Manifest created by maven-bundle-plugin into jar file -->
230 <manifestFile>${project.basedir}/META-INF/MANIFEST.MF</manifestFile>
235 <groupId>org.eclipse.xtend</groupId>
236 <artifactId>xtend-maven-plugin</artifactId>
237 <version>${xtend.version}</version>
244 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
250 <artifactId>maven-clean-plugin</artifactId>
254 <directory>${basedir}/src/main/xtend-gen</directory>
256 <include>**</include>
266 <groupId>org.apache.felix</groupId>
267 <artifactId>maven-bundle-plugin</artifactId>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-jar-plugin</artifactId>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-javadoc-plugin</artifactId>
276 <version>2.8.1</version>
278 <stylesheet>maven</stylesheet>
279 <failOnError>false</failOnError>
284 <goal>aggregate</goal>
295 <groupId>org.codehaus.mojo</groupId>
296 <artifactId>findbugs-maven-plugin</artifactId>
297 <version>2.4.0</version>
300 <threshold>Low</threshold>
305 <groupId>org.codehaus.mojo</groupId>
306 <artifactId>jdepend-maven-plugin</artifactId>
307 <version>2.0-beta-2</version>