Merge "Implementation for enabling remote rpc calls between 2 instances of md-sal"
[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-config</module>
29         <module>sal-binding-broker</module>
30
31         <module>sal-binding-util</module>
32         <module>sal-binding-dom-it</module>
33
34         <!-- Samples -->
35         <module>samples</module>
36
37         <!-- Base Models -->
38         <module>model</module>
39
40
41         <!-- Connectors -->
42         <module>sal-connector-api</module>
43         <module>sal-rest-connector</module>
44         <module>sal-netconf-connector</module>
45
46         <module>zeromq-routingtable/implementation</module>
47         <module>sal-remoterpc-connector/implementation</module>
48         <!-- Clustered Data Store -->
49         <module>clustered-data-store/implementation</module>
50
51         <module>inventory-manager</module>
52         <module>statistics-manager</module>
53         <module>forwardingrules-manager</module>
54
55         <!-- Compability Packages -->
56         <module>compatibility</module>
57     </modules>
58
59
60     <profiles>
61         <profile>
62             <id>integrationtests</id>
63             <activation>
64                 <activeByDefault>false</activeByDefault>
65             </activation>
66             <modules>
67                 <module>sal-binding-it</module>
68                 <module>clustered-data-store/integrationtest</module>
69                 <!--module>zeromq-routingtable/integrationtest</module -->
70                 <!--module>sal-remoterpc-connector/integrationtest</module -->
71                 <!--module>test/sal-rest-connector-it</modulei -->
72             </modules>
73         </profile>
74         <profile>
75             <id>IDE</id>
76             <activation>
77                 <property>
78                     <name>m2e.version</name>
79                 </property>
80             </activation>
81             <build>
82                 <!-- Put the IDE's build output in a folder other than target, 
83                     so that IDE builds don't interact with Maven builds -->
84                 <directory>target-ide</directory>
85             </build>
86         </profile>
87     </profiles>
88
89     <properties>
90         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
91         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
92         <!-- Java Versions -->
93         <maven.compiler.source>1.7</maven.compiler.source>
94         <maven.compiler.target>1.7</maven.compiler.target>
95
96         <!-- Plugin Versions -->
97         <bundle.plugin.version>2.4.0</bundle.plugin.version>
98         <releaseplugin.version>2.3.2</releaseplugin.version>
99
100         <!-- Dependency Versions -->
101         <slf4j.version>1.7.2</slf4j.version>
102         <yang.version>0.5.9-SNAPSHOT</yang.version>
103         <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
104         <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
105         <guava.version>14.0.1</guava.version>
106         <osgi.core.version>5.0.0</osgi.core.version>
107         <junit.version>4.8.1</junit.version>
108         <powermock.version>1.5.1</powermock.version>
109         <mockito.version>1.9.5</mockito.version>
110         <xtend.version>2.4.3</xtend.version>
111         <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
112         <jacoco.version>0.5.3.201107060350</jacoco.version>
113         <sal.version>0.5.1-SNAPSHOT</sal.version>  <!-- AD Sal version -->
114
115         <!-- Sonar properties using jacoco to retrieve integration test results -->
116         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
117         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
118         <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
119         <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
120         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
121         <sonar.branch>${user.name}-private-view</sonar.branch>
122         <sonar.language>java</sonar.language>
123     </properties>
124
125     <pluginRepositories>
126         <!-- OpenDayLight Repo Mirror -->
127         <pluginRepository>
128             <id>opendaylight-mirror</id>
129             <name>opendaylight-mirror</name>
130             <url>${nexusproxy}/groups/public/</url>
131             <snapshots>
132                 <enabled>false</enabled>
133             </snapshots>
134             <releases>
135                 <enabled>true</enabled>
136                 <updatePolicy>never</updatePolicy>
137             </releases>
138         </pluginRepository>
139         <!-- OpenDayLight Snapshot artifact -->
140         <pluginRepository>
141             <id>opendaylight-snapshot</id>
142             <name>opendaylight-snapshot</name>
143             <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
144             <snapshots>
145                 <enabled>true</enabled>
146             </snapshots>
147             <releases>
148                 <enabled>false</enabled>
149             </releases>
150         </pluginRepository>
151     </pluginRepositories>
152
153
154     <repositories>
155         <!-- OpenDayLight Repo Mirror -->
156         <repository>
157             <id>opendaylight-mirror</id>
158             <name>opendaylight-mirror</name>
159             <url>${nexusproxy}/groups/public/</url>
160             <snapshots>
161                 <enabled>false</enabled>
162             </snapshots>
163             <releases>
164                 <enabled>true</enabled>
165                 <updatePolicy>never</updatePolicy>
166             </releases>
167         </repository>
168         <!-- OpenDayLight Snapshot artifact -->
169         <repository>
170             <id>opendaylight-snapshot</id>
171             <name>opendaylight-snapshot</name>
172             <url> ${nexusproxy}/repositories/opendaylight.snapshot/</url>
173             <snapshots>
174                 <enabled>true</enabled>
175             </snapshots>
176             <releases>
177                 <enabled>false</enabled>
178             </releases>
179         </repository>
180     </repositories>
181
182     <distributionManagement>
183         <!-- OpenDayLight Released artifact -->
184         <repository>
185             <id>opendaylight-release</id>
186             <url>${nexusproxy}/repositories/opendaylight.release/</url>
187         </repository>
188         <!-- OpenDayLight Snapshot artifact -->
189         <snapshotRepository>
190             <id>opendaylight-snapshot</id>
191             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
192         </snapshotRepository>
193         <!-- Site deployment -->
194         <site>
195             <id>website</id>
196             <url>${sitedeploy}</url>
197         </site>
198     </distributionManagement>
199
200
201     <dependencyManagement>
202         <dependencies>
203             <dependency>
204                 <groupId>xml-apis</groupId>
205                 <artifactId>xml-apis</artifactId>
206                 <version>1.4.01</version>
207             </dependency>
208
209             <!-- YANG Tools Dependencies -->
210             <dependency>
211                 <groupId>org.opendaylight.yangtools</groupId>
212                 <artifactId>yang-binding</artifactId>
213                 <version>${yang.binding.version}</version>
214             </dependency>
215             <dependency>
216                 <groupId>org.opendaylight.yangtools</groupId>
217                 <artifactId>yang-common</artifactId>
218                 <version>${yang.version}</version>
219             </dependency>
220             <dependency>
221                 <groupId>org.opendaylight.yangtools</groupId>
222                 <artifactId>yang-data-api</artifactId>
223                 <version>${yang.version}</version>
224             </dependency>
225             <dependency>
226                 <groupId>org.opendaylight.yangtools</groupId>
227                 <artifactId>yang-data-impl</artifactId>
228                 <version>${yang.version}</version>
229             </dependency>
230             <dependency>
231                 <groupId>org.opendaylight.yangtools</groupId>
232                 <artifactId>yang-model-api</artifactId>
233                 <version>${yang.version}</version>
234             </dependency>
235             <dependency>
236                 <groupId>org.opendaylight.yangtools</groupId>
237                 <artifactId>yang-data-util</artifactId>
238                 <version>${yang.version}</version>
239             </dependency>
240             <!-- SAL Dependencies -->
241             <dependency>
242                 <groupId>${project.groupId}</groupId>
243                 <artifactId>sal-connector-api</artifactId>
244                 <version>${project.version}</version>
245             </dependency>
246             <dependency>
247                 <groupId>org.opendaylight.controller</groupId>
248                 <artifactId>sal</artifactId>
249                 <version>${sal.version}</version>
250                 <exclusions>
251                     <exclusion>
252                         <groupId>org.osgi</groupId>
253                         <artifactId>org.osgi.compendium</artifactId>
254                     </exclusion>
255                 </exclusions>
256             </dependency>
257
258             <!-- Supporting Libraries -->
259             <dependency>
260                 <groupId>org.slf4j</groupId>
261                 <artifactId>slf4j-api</artifactId>
262                 <version>${slf4j.version}</version>
263             </dependency>
264             <dependency>
265                 <groupId>com.google.guava</groupId>
266                 <artifactId>guava</artifactId>
267                 <version>${guava.version}</version>
268             </dependency>
269             <dependency>
270                 <groupId>org.eclipse.xtend</groupId>
271                 <artifactId>org.eclipse.xtend.lib</artifactId>
272                 <version>${xtend.version}</version>
273             </dependency>
274             <dependency>
275                 <groupId>org.osgi</groupId>
276                 <artifactId>org.osgi.core</artifactId>
277                 <version>${osgi.core.version}</version>
278             </dependency>
279             <!-- Testing Dependencies -->
280             <dependency>
281                 <groupId>junit</groupId>
282                 <artifactId>junit</artifactId>
283                 <version>${junit.version}</version>
284                 <scope>test</scope>
285             </dependency>
286             <dependency>
287                 <groupId>org.mockito</groupId>
288                 <artifactId>mockito-all</artifactId>
289                 <version>${mockito.version}</version>
290                 <scope>test</scope>
291             </dependency>
292             <dependency>
293                 <groupId>org.powermock</groupId>
294                 <artifactId>powermock-module-junit4</artifactId>
295                 <version>${powermock.version}</version>
296                 <scope>test</scope>
297             </dependency>
298             <dependency>
299                 <groupId>org.powermock</groupId>
300                 <artifactId>powermock-api-mockito</artifactId>
301                 <version>${powermock.version}</version>
302                 <scope>test</scope>
303             </dependency>
304             <dependency>
305                 <groupId>org.powermock</groupId>
306                 <artifactId>powermock-core</artifactId>
307                 <version>${powermock.version}</version>
308                 <scope>test</scope>
309             </dependency>
310         </dependencies>
311     </dependencyManagement>
312     <build>
313         <pluginManagement>
314             <plugins>
315                 <plugin>
316                     <groupId>org.apache.maven.plugins</groupId>
317                     <artifactId>maven-release-plugin</artifactId>
318                     <version>${releaseplugin.version}</version>
319                 </plugin>
320                 <plugin>
321                     <groupId>org.apache.felix</groupId>
322                     <artifactId>maven-bundle-plugin</artifactId>
323                     <version>${bundle.plugin.version}</version>
324                     <extensions>true</extensions>
325                     <!--executions> <execution> <id>bundle-manifest</id> 
326                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> 
327                         </executions -->
328                     <configuration>
329                         <instructions>
330                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
331                         </instructions>
332                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
333                     </configuration>
334                 </plugin>
335                 <plugin>
336                     <groupId>org.eclipse.xtend</groupId>
337                     <artifactId>xtend-maven-plugin</artifactId>
338                     <version>${xtend.version}</version>
339                     <executions>
340                         <execution>
341                             <goals>
342                                 <goal>compile</goal>
343                             </goals>
344                             <configuration>
345                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
346                             </configuration>
347                         </execution>
348                     </executions>
349                 </plugin>
350                 <plugin>
351                     <artifactId>maven-clean-plugin</artifactId>
352                     <version>${maven.clean.plugin.version}</version>
353                     <configuration>
354                         <filesets>
355                             <fileset>
356                                 <directory>${basedir}/src/main/xtend-gen</directory>
357                                 <includes>
358                                     <include>**</include>
359                                 </includes>
360                             </fileset>
361                         </filesets>
362                     </configuration>
363                 </plugin>
364                 <plugin>
365                     <groupId>org.jacoco</groupId>
366                     <artifactId>jacoco-maven-plugin</artifactId>
367                     <version>${jacoco.version}</version>
368                 </plugin>
369                 <!--This plugin's configuration is used to store Eclipse 
370                     m2e settings only. It has no influence on the Maven build itself. -->
371                 <plugin>
372                     <groupId>org.eclipse.m2e</groupId>
373                     <artifactId>lifecycle-mapping</artifactId>
374                     <version>1.0.0</version>
375                     <configuration>
376                         <lifecycleMappingMetadata>
377                             <pluginExecutions>
378                                 <pluginExecution>
379                                     <pluginExecutionFilter>
380                                         <groupId>org.opendaylight.yangtools</groupId>
381                                         <artifactId>yang-maven-plugin</artifactId>
382                                         <versionRange>[0,)</versionRange>
383                                         <goals>
384                                             <goal>generate-sources</goal>
385                                         </goals>
386                                     </pluginExecutionFilter>
387                                     <action>
388                                         <ignore />
389                                     </action>
390                                 </pluginExecution>
391                                 <pluginExecution>
392                                     <pluginExecutionFilter>
393                                         <groupId>net.alchim31.maven</groupId>
394                                         <artifactId>scala-maven-plugin</artifactId>
395                                         <versionRange>[0,)</versionRange>
396                                         <goals>
397                                             <goal>compile</goal>
398                                             <goal>testCompile</goal>
399                                         </goals>
400                                     </pluginExecutionFilter>
401                                     <action>
402                                         <ignore />
403                                     </action>
404                                 </pluginExecution>
405                                 <pluginExecution>
406                                     <pluginExecutionFilter>
407                                         <groupId>org.jacoco</groupId>
408                                         <artifactId>jacoco-maven-plugin</artifactId>
409                                         <versionRange>[0,)</versionRange>
410                                         <goals>
411                                             <goal>prepare-agent</goal>
412                                         </goals>
413                                     </pluginExecutionFilter>
414                                     <action>
415                                         <ignore />
416                                     </action>
417                                 </pluginExecution>
418                             </pluginExecutions>
419                         </lifecycleMappingMetadata>
420                     </configuration>
421                 </plugin>
422             </plugins>
423
424         </pluginManagement>
425         <plugins>
426             <plugin>
427                 <groupId>org.apache.felix</groupId>
428                 <artifactId>maven-bundle-plugin</artifactId>
429             </plugin>
430             <plugin>
431                 <groupId>org.apache.maven.plugins</groupId>
432                 <artifactId>maven-jar-plugin</artifactId>
433                 <version>2.4</version>
434             </plugin>
435             <plugin>
436                 <groupId>org.apache.maven.plugins</groupId>
437                 <artifactId>maven-javadoc-plugin</artifactId>
438                 <version>2.8.1</version>
439                 <configuration>
440                     <stylesheet>maven</stylesheet>
441                     <failOnError>false</failOnError>
442                 </configuration>
443                 <executions>
444                     <execution>
445                         <goals>
446                             <goal>aggregate</goal>
447                         </goals>
448                         <phase>site</phase>
449                     </execution>
450                 </executions>
451             </plugin>
452         </plugins>
453     </build>
454     <reporting>
455         <plugins>
456             <plugin>
457                 <groupId>org.codehaus.mojo</groupId>
458                 <artifactId>findbugs-maven-plugin</artifactId>
459                 <version>2.4.0</version>
460                 <configuration>
461                     <effort>Max</effort>
462                     <threshold>Low</threshold>
463                     <goal>site</goal>
464                 </configuration>
465             </plugin>
466             <plugin>
467                 <groupId>org.codehaus.mojo</groupId>
468                 <artifactId>jdepend-maven-plugin</artifactId>
469                 <version>2.0-beta-2</version>
470             </plugin>
471         </plugins>
472     </reporting>
473 </project>