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