c5ffe43d2f549b890908f8e27976cc2a30ddf220
[controller.git] / opendaylight / md-sal / pom.xml
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>
8     <scm>
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>
12     </scm>
13
14     <modules>
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>
20
21         <!-- Binding Independent -->
22         <module>sal-dom-api</module>
23         <module>sal-dom-broker</module>
24         <module>sal-dom-spi</module>
25
26         <!-- Binding Aware -->
27         <module>sal-binding-api</module>
28         <module>sal-binding-broker</module>
29         <module>sal-binding-it</module>
30
31         <!-- Samples -->
32         <module>samples</module>
33
34         <!-- Base Models -->
35         <module>model</module>
36
37         <!-- Compability Packages -->
38         <module>sal-compability</module>
39
40         <!-- Connectors -->
41         <module>sal-connector-api</module>
42         <module>sal-rest-connector</module>
43         <module>flow-management-compatibility</module>
44     </modules>
45
46     <properties>
47         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
49         <!-- Java Versions -->
50         <maven.compiler.source>1.7</maven.compiler.source>
51         <maven.compiler.target>1.7</maven.compiler.target>
52
53         <!-- Plugin Versions -->
54         <bundle.plugin.version>2.4.0</bundle.plugin.version>
55         <releaseplugin.version>2.3.2</releaseplugin.version>
56
57         <!-- Dependency Versions -->
58         <slf4j.version>1.7.2</slf4j.version>
59         <yang.version>0.5.9-SNAPSHOT</yang.version>
60         <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
61         <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
62         <guava.version>14.0.1</guava.version>
63         <osgi.core.version>5.0.0</osgi.core.version>
64         <junit.version>4.8.1</junit.version>
65         <xtend.version>2.4.3</xtend.version>
66     </properties>
67
68     <pluginRepositories>
69         <pluginRepository>
70             <id>central</id>
71             <name>maven repo1</name>
72             <url>http://repo1.maven.org/maven2</url>
73             <snapshots>
74                 <enabled>false</enabled>
75             </snapshots>
76             <releases>
77                 <enabled>true</enabled>
78             </releases>
79         </pluginRepository>
80         <pluginRepository>
81             <id>opendaylight-snapshot</id>
82             <name>opendaylight-snapshot</name>
83             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
84         </pluginRepository>
85         <pluginRepository>
86             <id>opendaylight.release</id>
87             <name>opendaylight.release</name>
88             <url>${nexusproxy}/repositories/opendaylight.release/</url>
89         </pluginRepository>
90     </pluginRepositories>
91
92
93     <repositories>
94         <repository>
95             <id>opendaylight-release</id>
96             <name>opendaylight-release</name>
97             <url>${nexusproxy}/repositories/opendaylight.release/</url>
98         </repository>
99         <!-- OpenDayLight Snapshot artifact -->
100         <repository>
101             <id>opendaylight-snapshot</id>
102             <name>opendaylight-snapshot</name>
103             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
104         </repository>
105         <repository>
106             <id>thirdparty</id>
107             <name>thirdparty</name>
108             <url>${nexusproxy}/repositories/thirdparty/</url>
109         </repository>
110         <repository>
111             <id>central</id>
112             <name>central</name>
113             <url>http://repo1.maven.org/maven2</url>
114             <snapshots>
115                 <enabled>false</enabled>
116             </snapshots>
117             <releases>
118                 <enabled>true</enabled>
119             </releases>
120         </repository>
121     </repositories>
122
123     <distributionManagement>
124         <!-- OpenDayLight Released artifact -->
125         <repository>
126             <id>opendaylight-release</id>
127             <url>${nexusproxy}/repositories/opendaylight.release/</url>
128         </repository>
129         <!-- OpenDayLight Snapshot artifact -->
130         <snapshotRepository>
131             <id>opendaylight-snapshot</id>
132             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
133         </snapshotRepository>
134         <!-- Site deployment -->
135         <site>
136             <id>website</id>
137             <url>${sitedeploy}</url>
138         </site>
139     </distributionManagement>
140
141
142     <dependencyManagement>
143         <dependencies>
144
145
146
147
148             <!-- YANG Tools Dependencies -->
149             <dependency>
150                 <groupId>org.opendaylight.yangtools</groupId>
151                 <artifactId>yang-binding</artifactId>
152                 <version>${yang.binding.version}</version>
153             </dependency>
154             <dependency>
155                 <groupId>org.opendaylight.yangtools</groupId>
156                 <artifactId>yang-common</artifactId>
157                 <version>${yang.version}</version>
158             </dependency>
159             <dependency>
160                 <groupId>org.opendaylight.yangtools</groupId>
161                 <artifactId>yang-data-api</artifactId>
162                 <version>${yang.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>org.opendaylight.yangtools</groupId>
166                 <artifactId>yang-model-api</artifactId>
167                 <version>${yang.version}</version>
168             </dependency>
169             <dependency>
170                 <groupId>org.opendaylight.yangtools</groupId>
171                 <artifactId>yang-data-util</artifactId>
172                 <version>${yang.version}</version>
173             </dependency>
174             <!-- SAL Dependencies -->
175             <dependency>
176                 <groupId>${project.groupId}</groupId>
177                 <artifactId>sal-connector-api</artifactId>
178                 <version>${project.version}</version>
179             </dependency>
180
181             <!-- Supporting Libraries -->
182             <dependency>
183                 <groupId>org.slf4j</groupId>
184                 <artifactId>slf4j-api</artifactId>
185                 <version>${slf4j.version}</version>
186             </dependency>
187             <dependency>
188                 <groupId>com.google.guava</groupId>
189                 <artifactId>guava</artifactId>
190                 <version>${guava.version}</version>
191             </dependency>
192             <dependency>
193                 <groupId>org.eclipse.xtend</groupId>
194                 <artifactId>org.eclipse.xtend.lib</artifactId>
195                 <version>${xtend.version}</version>
196             </dependency>
197
198             <!-- Testing Dependencies -->
199             <dependency>
200                 <groupId>junit</groupId>
201                 <artifactId>junit</artifactId>
202                 <version>${junit.version}</version>
203                 <scope>test</scope>
204             </dependency>
205             <dependency>
206                 <groupId>org.mockito</groupId>
207                 <artifactId>mockito-all</artifactId>
208                 <version>1.9.5</version>
209                 <scope>test</scope>
210             </dependency>
211         </dependencies>
212     </dependencyManagement>
213     <build>
214         <pluginManagement>
215             <plugins>
216                 <plugin>
217                     <groupId>org.apache.maven.plugins</groupId>
218                     <artifactId>maven-release-plugin</artifactId>
219                     <version>${releaseplugin.version}</version>
220                 </plugin>
221                 <plugin>
222                     <groupId>org.apache.felix</groupId>
223                     <artifactId>maven-bundle-plugin</artifactId>
224                     <version>${bundle.plugin.version}</version>
225                     <extensions>true</extensions>
226                     <!--executions>
227                         <execution>
228                             <id>bundle-manifest</id>
229                             <phase>process-classes</phase>
230                             <goals>
231                                 <goal>manifest</goal>
232                             </goals>
233                         </execution>
234                     </executions-->
235                     <configuration>
236                         <instructions>
237                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
238                         </instructions>
239                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
240                     </configuration>
241                 </plugin>
242                 <plugin>
243                     <groupId>org.eclipse.xtend</groupId>
244                     <artifactId>xtend-maven-plugin</artifactId>
245                     <version>${xtend.version}</version>
246                     <executions>
247                         <execution>
248                             <goals>
249                                 <goal>compile</goal>
250                             </goals>
251                             <configuration>
252                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
253                             </configuration>
254                         </execution>
255                     </executions>
256                 </plugin>
257                 <plugin>
258                     <artifactId>maven-clean-plugin</artifactId>
259                     <configuration>
260                         <filesets>
261                             <fileset>
262                                 <directory>${basedir}/src/main/xtend-gen</directory>
263                                 <includes>
264                                     <include>**</include>
265                                 </includes>
266                             </fileset>
267                         </filesets>
268                     </configuration>
269                 </plugin>
270             </plugins>
271         </pluginManagement>
272         <plugins>
273             <plugin>
274                 <groupId>org.apache.felix</groupId>
275                 <artifactId>maven-bundle-plugin</artifactId>
276             </plugin>
277             <plugin>
278                 <groupId>org.apache.maven.plugins</groupId>
279                 <artifactId>maven-jar-plugin</artifactId>
280                 <version>2.4</version>
281             </plugin>
282             <plugin>
283                 <groupId>org.apache.maven.plugins</groupId>
284                 <artifactId>maven-javadoc-plugin</artifactId>
285                 <version>2.8.1</version>
286                 <configuration>
287                     <stylesheet>maven</stylesheet>
288                     <failOnError>false</failOnError>
289                 </configuration>
290                 <executions>
291                     <execution>
292                         <goals>
293                             <goal>aggregate</goal>
294                         </goals>
295                         <phase>site</phase>
296                     </execution>
297                 </executions>
298             </plugin>
299         </plugins>
300     </build>
301     <reporting>
302         <plugins>
303             <plugin>
304                 <groupId>org.codehaus.mojo</groupId>
305                 <artifactId>findbugs-maven-plugin</artifactId>
306                 <version>2.4.0</version>
307                 <configuration>
308                     <effort>Max</effort>
309                     <threshold>Low</threshold>
310                     <goal>site</goal>
311                 </configuration>
312             </plugin>
313             <plugin>
314                 <groupId>org.codehaus.mojo</groupId>
315                 <artifactId>jdepend-maven-plugin</artifactId>
316                 <version>2.0-beta-2</version>
317             </plugin>
318         </plugins>
319     </reporting>
320 </project>