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