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