Merge "BUG-509: use dedicated executor for notifications"
[controller.git] / opendaylight / md-sal / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.4.2-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11
12   <artifactId>sal-parent</artifactId>
13   <version>1.1-SNAPSHOT</version>
14   <packaging>pom</packaging>
15
16   <modules>
17     <!-- Common APIs & Implementation -->
18     <module>sal-common</module>
19     <module>sal-common-api</module>
20     <module>sal-common-impl</module>
21     <module>sal-common-util</module>
22
23     <!-- Binding Independent -->
24     <module>sal-dom-api</module>
25     <module>sal-dom-broker</module>
26     <module>sal-dom-spi</module>
27
28     <!-- Binding Aware -->
29     <module>sal-binding-api</module>
30     <module>sal-binding-config</module>
31     <module>sal-binding-broker</module>
32
33     <module>sal-binding-util</module>
34
35     <!-- Samples -->
36     <module>samples</module>
37
38     <!-- Base Models -->
39     <module>model</module>
40     <module>sal-remote</module>
41     <module>sal-restconf-broker</module>
42
43     <!-- Connectors -->
44     <module>sal-connector-api</module>
45     <module>sal-rest-connector</module>
46     <module>sal-netconf-connector</module>
47
48     <module>inventory-manager</module>
49     <module>statistics-manager</module>
50     <module>topology-manager</module>
51     <module>forwardingrules-manager</module>
52     <module>topology-lldp-discovery</module>
53
54     <!-- Compability Packages -->
55     <module>compatibility</module>
56
57     <!-- Clustering -->
58     <module>remoterpc-routingtable/implementation</module>
59     <module>sal-remoterpc-connector/implementation</module>
60     <!--module>clustered-data-store/implementation</module>
61          -->
62
63   </modules>
64
65   <properties>
66
67     <!-- Plugin Versions -->
68     <bundle.plugin.version>2.4.0</bundle.plugin.version>
69     <exam.version>3.0.0</exam.version>
70     <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
71
72     <!-- Dependency Versions -->
73     <mockito.version>1.9.5</mockito.version>
74     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
75     <sal.version>0.8.1-SNAPSHOT</sal.version>
76     <sonar.branch>${user.name}-private-view</sonar.branch>
77     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
78     <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
79     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
80     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
81
82     <!-- Sonar properties using jacoco to retrieve integration test results -->
83     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
84     <sonar.language>java</sonar.language>
85   </properties>
86
87   <dependencyManagement>
88     <dependencies>
89
90       <!-- SAL Dependencies -->
91       <dependency>
92         <groupId>${project.groupId}</groupId>
93         <artifactId>sal-connector-api</artifactId>
94         <version>${project.version}</version>
95       </dependency>
96       <dependency>
97         <groupId>org.opendaylight.controller</groupId>
98         <artifactId>sal</artifactId>
99         <version>${sal.version}</version>
100         <exclusions>
101           <exclusion>
102             <groupId>org.osgi</groupId>
103             <artifactId>org.osgi.compendium</artifactId>
104           </exclusion>
105         </exclusions>
106       </dependency>
107       <dependency>
108         <groupId>org.opendaylight.controller</groupId>
109         <artifactId>sal-binding-api</artifactId>
110         <version>${project.version}</version>
111       </dependency>
112       <dependency>
113         <groupId>org.opendaylight.controller</groupId>
114         <artifactId>sal-binding-util</artifactId>
115         <version>${project.version}</version>
116       </dependency>
117       <dependency>
118         <groupId>org.opendaylight.controller</groupId>
119         <artifactId>sal-remote</artifactId>
120         <version>${project.version}</version>
121       </dependency>
122       <dependency>
123         <groupId>org.opendaylight.yangtools</groupId>
124         <artifactId>binding-generator-impl</artifactId>
125         <version>${yangtools.version}</version>
126       </dependency>
127       <dependency>
128         <groupId>org.opendaylight.yangtools</groupId>
129         <artifactId>yang-parser-impl</artifactId>
130         <version>${yangtools.version}</version>
131       </dependency>
132
133       <dependency>
134         <groupId>org.osgi</groupId>
135         <artifactId>org.osgi.core</artifactId>
136         <version>${osgi.core.version}</version>
137       </dependency>
138
139       <!-- Supporting Libraries -->
140       <dependency>
141         <groupId>org.slf4j</groupId>
142         <artifactId>slf4j-api</artifactId>
143         <version>${slf4j.version}</version>
144       </dependency>
145       <dependency>
146         <groupId>xml-apis</groupId>
147         <artifactId>xml-apis</artifactId>
148         <version>1.4.01</version>
149       </dependency>
150       <!-- Testing Dependencies -->
151       <dependency>
152         <groupId>org.mockito</groupId>
153         <artifactId>mockito-all</artifactId>
154         <version>${mockito.version}</version>
155         <scope>test</scope>
156       </dependency>
157     </dependencies>
158   </dependencyManagement>
159   <build>
160     <pluginManagement>
161       <plugins>
162         <plugin>
163           <groupId>org.apache.felix</groupId>
164           <artifactId>maven-bundle-plugin</artifactId>
165           <version>${bundle.plugin.version}</version>
166           <extensions>true</extensions>
167           <!--executions> <execution> <id>bundle-manifest</id>
168                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
169                         </executions -->
170           <configuration>
171             <instructions>
172               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
173             </instructions>
174             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
175           </configuration>
176         </plugin>
177         <!--This plugin's configuration is used to store Eclipse
178                     m2e settings only. It has no influence on the Maven build itself. -->
179         <plugin>
180           <groupId>org.eclipse.m2e</groupId>
181           <artifactId>lifecycle-mapping</artifactId>
182           <version>1.0.0</version>
183           <configuration>
184             <lifecycleMappingMetadata>
185               <pluginExecutions>
186                 <pluginExecution>
187                   <pluginExecutionFilter>
188                     <groupId>org.opendaylight.yangtools</groupId>
189                     <artifactId>yang-maven-plugin</artifactId>
190                     <versionRange>[0,)</versionRange>
191                     <goals>
192                       <goal>generate-sources</goal>
193                     </goals>
194                   </pluginExecutionFilter>
195                   <action>
196                     <ignore></ignore>
197                   </action>
198                 </pluginExecution>
199                 <pluginExecution>
200                   <pluginExecutionFilter>
201                     <groupId>net.alchim31.maven</groupId>
202                     <artifactId>scala-maven-plugin</artifactId>
203                     <versionRange>[0,)</versionRange>
204                     <goals>
205                       <goal>compile</goal>
206                       <goal>testCompile</goal>
207                     </goals>
208                   </pluginExecutionFilter>
209                   <action>
210                     <ignore></ignore>
211                   </action>
212                 </pluginExecution>
213                 <pluginExecution>
214                   <pluginExecutionFilter>
215                     <groupId>org.jacoco</groupId>
216                     <artifactId>jacoco-maven-plugin</artifactId>
217                     <versionRange>[0,)</versionRange>
218                     <goals>
219                       <goal>prepare-agent</goal>
220                     </goals>
221                   </pluginExecutionFilter>
222                   <action>
223                     <ignore></ignore>
224                   </action>
225                 </pluginExecution>
226               </pluginExecutions>
227             </lifecycleMappingMetadata>
228           </configuration>
229         </plugin>
230         <plugin>
231           <groupId>org.eclipse.xtend</groupId>
232           <artifactId>xtend-maven-plugin</artifactId>
233           <version>${xtend.version}</version>
234         </plugin>
235         <plugin>
236           <groupId>org.jacoco</groupId>
237           <artifactId>jacoco-maven-plugin</artifactId>
238           <version>${jacoco.version}</version>
239         </plugin>
240       </plugins>
241
242     </pluginManagement>
243     <plugins>
244       <plugin>
245         <groupId>org.apache.felix</groupId>
246         <artifactId>maven-bundle-plugin</artifactId>
247       </plugin>
248       <plugin>
249         <!-- FIXME: BUG-272: remove this configuration override -->
250         <groupId>org.apache.maven.plugins</groupId>
251         <artifactId>maven-checkstyle-plugin</artifactId>
252         <version>${checkstyle.version}</version>
253         <executions>
254           <execution>
255             <phase>none</phase>
256           </execution>
257         </executions>
258       </plugin>
259       <plugin>
260         <groupId>org.apache.maven.plugins</groupId>
261         <artifactId>maven-jar-plugin</artifactId>
262         <version>2.4</version>
263       </plugin>
264     </plugins>
265   </build>
266   <reporting>
267     <plugins>
268       <plugin>
269         <groupId>org.codehaus.mojo</groupId>
270         <artifactId>findbugs-maven-plugin</artifactId>
271         <version>2.4.0</version>
272         <configuration>
273           <effort>Max</effort>
274           <threshold>Low</threshold>
275           <goal>site</goal>
276         </configuration>
277       </plugin>
278       <plugin>
279         <groupId>org.codehaus.mojo</groupId>
280         <artifactId>jdepend-maven-plugin</artifactId>
281         <version>2.0-beta-2</version>
282       </plugin>
283     </plugins>
284   </reporting>
285   <scm>
286     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
287     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
288     <tag>HEAD</tag>
289     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
290   </scm>
291
292   <profiles>
293     <profile>
294       <id>integrationtests</id>
295       <activation>
296         <activeByDefault>false</activeByDefault>
297       </activation>
298       <modules>
299         <module>sal-binding-it</module>
300         <module>sal-binding-dom-it</module>
301         <!--module>clustered-data-store/integrationtest</module -->
302         <!--module>zeromq-routingtable/integrationtest</module -->
303         <!--module>sal-remoterpc-connector/integrationtest</module -->
304         <!--module>test/sal-rest-connector-it</modulei -->
305       </modules>
306     </profile>
307   </profiles>
308 </project>