Merge "Bug 1372 - toString methods in generated classes"
[yangtools.git] / common / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>odlparent</artifactId>
16         <version>1.4.2-SNAPSHOT</version>
17         <relativePath></relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>yangtools-parent</artifactId>
22     <groupId>org.opendaylight.yangtools</groupId>
23     <version>0.6.2-SNAPSHOT</version>
24     <packaging>pom</packaging>
25     <prerequisites>
26         <maven>3.0.4</maven>
27     </prerequisites>
28
29     <properties>
30         <antlr4.version>4.0</antlr4.version>
31         <commons.io.version>2.4</commons.io.version>
32         <ctrie.version>0.2.0</ctrie.version>
33         <exam.version>3.0.0</exam.version>
34         <groovy.version>2.1.6</groovy.version>
35         <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
36         <ietf.inet.types.version>2010.09.24.4-SNAPSHOT</ietf.inet.types.version>
37         <ietf.yang.types.version>2010.09.24.4-SNAPSHOT</ietf.yang.types.version>
38         <ietf.restconf.version>2013.10.19.1-SNAPSHOT</ietf.restconf.version>
39         <junit.version>4.10</junit.version>
40         <karaf.version>3.0.1</karaf.version>
41         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
42         <opendaylight.l2.types.version>2013.08.27.4-SNAPSHOT</opendaylight.l2.types.version>
43         <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
44         <maven.javadoc.version>2.9.1</maven.javadoc.version>
45         <jsr305.version>2.0.1</jsr305.version>
46
47         <!-- Sonar config -->
48         <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
49         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
50         <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
51         <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
52         <sonar.profile>Sonar way with Findbugs</sonar.profile>
53     </properties>
54
55     <profiles>
56         <profile>
57             <id>jdk1.8</id>
58             <activation>
59                 <jdk>1.8</jdk>
60             </activation>
61             <build>
62                 <pluginManagement>
63                     <plugins>
64                         <plugin>
65                             <groupId>org.apache.maven.plugins</groupId>
66                             <artifactId>maven-javadoc-plugin</artifactId>
67                             <version>${maven.javadoc.version}</version>
68                             <configuration>
69                                 <stylesheetfile>stylesheet.css</stylesheetfile>
70                                 <additionalparam>-Xdoclint:none</additionalparam>
71                             </configuration>
72                             <executions>
73                                 <execution>
74                                     <id>attach-javadocs</id>
75                                     <goals>
76                                         <goal>jar</goal>
77                                     </goals>
78                                 </execution>
79                                 <execution>
80                                     <goals>
81                                         <goal>aggregate</goal>
82                                     </goals>
83                                     <phase>site</phase>
84                                 </execution>
85                             </executions>
86                         </plugin>
87                     </plugins>
88                 </pluginManagement>
89             </build>
90         </profile>
91     </profiles>
92
93     <dependencyManagement>
94         <dependencies>
95             <!-- Testing Dependencies -->
96             <dependency>
97                 <groupId>junit</groupId>
98                 <artifactId>junit</artifactId>
99                 <version>4.10</version>
100                 <scope>test</scope>
101             </dependency>
102             <dependency>
103                 <groupId>org.apache.maven.shared</groupId>
104                 <artifactId>maven-verifier</artifactId>
105                 <version>1.5</version>
106                 <scope>test</scope>
107             </dependency>
108             <dependency>
109                 <groupId>org.ops4j.pax.exam</groupId>
110                 <artifactId>pax-exam-container-native</artifactId>
111                 <version>3.0.0</version>
112                 <scope>test</scope>
113             </dependency>
114             <dependency>
115                 <groupId>org.ops4j.pax.exam</groupId>
116                 <artifactId>pax-exam-junit4</artifactId>
117                 <version>3.0.0</version>
118                 <scope>test</scope>
119             </dependency>
120             <dependency>
121                 <groupId>org.ops4j.pax.exam</groupId>
122                 <artifactId>pax-exam-link-mvn</artifactId>
123                 <version>3.0.0</version>
124                 <scope>test</scope>
125             </dependency>
126             <dependency>
127                 <groupId>equinoxSDK381</groupId>
128                 <artifactId>org.eclipse.osgi</artifactId>
129                 <version>3.8.1.v20120830-144521</version>
130                 <scope>test</scope>
131             </dependency>
132             <dependency>
133                 <groupId>org.codehaus.groovy</groupId>
134                 <artifactId>groovy</artifactId>
135                 <version>2.1.6</version>
136                 <scope>test</scope>
137             </dependency>
138             <dependency>
139                 <groupId>org.codehaus.groovy</groupId>
140                 <artifactId>groovy-xml</artifactId>
141                 <version>2.1.6</version>
142                 <scope>test</scope>
143             </dependency>
144             <dependency>
145                 <groupId>xmlunit</groupId>
146                 <artifactId>xmlunit</artifactId>
147                 <version>1.5</version>
148                 <scope>test</scope>
149             </dependency>
150             <dependency>
151                 <groupId>ch.qos.logback</groupId>
152                 <artifactId>logback-classic</artifactId>
153                 <version>1.0.9</version>
154             </dependency>
155             <dependency>
156                 <groupId>io.netty</groupId>
157                 <artifactId>netty-codec-http</artifactId>
158                 <version>4.0.10.Final</version>
159             </dependency>
160             <dependency>
161                 <groupId>org.opendaylight.yangtools</groupId>
162                 <artifactId>yang-data-util</artifactId>
163                 <version>0.6.2-SNAPSHOT</version>
164             </dependency>
165             <dependency>
166                 <groupId>org.opendaylight.yangtools</groupId>
167                 <artifactId>maven-sal-api-gen-plugin</artifactId>
168                 <version>0.6.2-SNAPSHOT</version>
169             </dependency>
170             <dependency>
171                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
172                 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
173                 <version>4.0</version>
174                 <scope>test</scope>
175             </dependency>
176             <dependency>
177                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
178                 <artifactId>xtend-lib-osgi</artifactId>
179                 <version>2.4.3</version>
180                 <scope>test</scope>
181             </dependency>
182             <dependency>
183                 <groupId>org.opendaylight.yangtools</groupId>
184                 <artifactId>concepts</artifactId>
185                 <version>0.6.2-SNAPSHOT</version>
186             </dependency>
187             <dependency>
188                 <groupId>org.opendaylight.yangtools</groupId>
189                 <artifactId>object-cache-api</artifactId>
190                 <version>0.6.2-SNAPSHOT</version>
191             </dependency>
192             <dependency>
193                 <groupId>org.opendaylight.yangtools</groupId>
194                 <artifactId>object-cache-guava</artifactId>
195                 <version>0.6.2-SNAPSHOT</version>
196             </dependency>
197             <dependency>
198                 <groupId>org.opendaylight.yangtools</groupId>
199                 <artifactId>object-cache-noop</artifactId>
200                 <version>0.6.2-SNAPSHOT</version>
201             </dependency>
202             <dependency>
203                 <groupId>org.opendaylight.yangtools</groupId>
204                 <artifactId>binding-model-api</artifactId>
205                 <version>0.6.2-SNAPSHOT</version>
206             </dependency>
207             <dependency>
208                 <groupId>org.opendaylight.yangtools</groupId>
209                 <artifactId>binding-generator-api</artifactId>
210                 <version>0.6.2-SNAPSHOT</version>
211             </dependency>
212             <dependency>
213                 <groupId>org.opendaylight.yangtools</groupId>
214                 <artifactId>binding-generator-spi</artifactId>
215                 <version>0.6.2-SNAPSHOT</version>
216             </dependency>
217             <dependency>
218                 <groupId>org.opendaylight.yangtools</groupId>
219                 <artifactId>binding-generator-util</artifactId>
220                 <version>0.6.2-SNAPSHOT</version>
221             </dependency>
222             <dependency>
223                 <groupId>org.opendaylight.yangtools</groupId>
224                 <artifactId>binding-generator-impl</artifactId>
225                 <version>0.6.2-SNAPSHOT</version>
226             </dependency>
227             <dependency>
228                 <groupId>org.opendaylight.yangtools</groupId>
229                 <artifactId>binding-java-api-generator</artifactId>
230                 <version>0.6.2-SNAPSHOT</version>
231             </dependency>
232             <dependency>
233                 <groupId>org.opendaylight.yangtools</groupId>
234                 <artifactId>yang-common</artifactId>
235                 <version>0.6.2-SNAPSHOT</version>
236             </dependency>
237             <dependency>
238                 <groupId>org.opendaylight.yangtools</groupId>
239                 <artifactId>yang-data-api</artifactId>
240                 <version>0.6.2-SNAPSHOT</version>
241             </dependency>
242             <dependency>
243                 <groupId>org.opendaylight.yangtools</groupId>
244                 <artifactId>yang-data-impl</artifactId>
245                 <version>0.6.2-SNAPSHOT</version>
246             </dependency>
247             <dependency>
248                 <groupId>org.opendaylight.yangtools</groupId>
249                 <artifactId>yang-model-api</artifactId>
250                 <version>0.6.2-SNAPSHOT</version>
251             </dependency>
252             <dependency>
253                 <groupId>org.opendaylight.yangtools</groupId>
254                 <artifactId>yang-model-util</artifactId>
255                 <version>0.6.2-SNAPSHOT</version>
256             </dependency>
257             <dependency>
258                 <groupId>org.opendaylight.yangtools</groupId>
259                 <artifactId>yang-binding</artifactId>
260                 <version>0.6.2-SNAPSHOT</version>
261             </dependency>
262             <dependency>
263                 <groupId>org.opendaylight.yangtools</groupId>
264                 <artifactId>yang-parser-api</artifactId>
265                 <version>0.6.2-SNAPSHOT</version>
266             </dependency>
267             <dependency>
268                 <groupId>org.opendaylight.yangtools</groupId>
269                 <artifactId>yang-parser-impl</artifactId>
270                 <version>0.6.2-SNAPSHOT</version>
271             </dependency>
272             <dependency>
273                 <groupId>org.opendaylight.yangtools</groupId>
274                 <artifactId>yang-maven-plugin</artifactId>
275                 <version>0.6.2-SNAPSHOT</version>
276             </dependency>
277             <dependency>
278                 <groupId>org.opendaylight.yangtools</groupId>
279                 <artifactId>yang-maven-plugin-spi</artifactId>
280                 <version>0.6.2-SNAPSHOT</version>
281             </dependency>
282             <dependency>
283                 <groupId>org.opendaylight.yangtools.model</groupId>
284                 <artifactId>ietf-inet-types</artifactId>
285                 <version>2010.09.24.4-SNAPSHOT</version>
286             </dependency>
287             <dependency>
288                 <groupId>org.opendaylight.yangtools.model</groupId>
289                 <artifactId>ietf-yang-types</artifactId>
290                 <version>2010.09.24.4-SNAPSHOT</version>
291             </dependency>
292             <dependency>
293                 <groupId>org.opendaylight.yangtools.model</groupId>
294                 <artifactId>ietf-restconf</artifactId>
295                 <version>2013.09.04.1-SNAPSHOT</version>
296             </dependency>
297             <dependency>
298                 <groupId>org.opendaylight.yangtools.model</groupId>
299                 <artifactId>ietf-ted</artifactId>
300                 <version>2013.10.21.2-SNAPSHOT</version>
301             </dependency>
302             <dependency>
303                 <groupId>org.opendaylight.yangtools.model</groupId>
304                 <artifactId>ietf-topology</artifactId>
305                 <version>2013.10.21.2-SNAPSHOT</version>
306             </dependency>
307             <dependency>
308                 <groupId>org.opendaylight.yangtools.model</groupId>
309                 <artifactId>ietf-topology-isis</artifactId>
310                 <version>2013.10.21.2-SNAPSHOT</version>
311             </dependency>
312             <dependency>
313                 <groupId>org.opendaylight.yangtools.model</groupId>
314                 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
315                 <version>2013.10.21.2-SNAPSHOT</version>
316             </dependency>
317             <dependency>
318                 <groupId>org.opendaylight.yangtools.model</groupId>
319                 <artifactId>ietf-topology-ospf</artifactId>
320                 <version>2013.10.21.2-SNAPSHOT</version>
321             </dependency>
322             <dependency>
323                 <groupId>org.opendaylight.yangtools.model</groupId>
324                 <artifactId>ietf-topology-l3-unicast</artifactId>
325                 <version>2013.10.21.2-SNAPSHOT</version>
326             </dependency>
327             <dependency>
328                 <groupId>org.opendaylight.yangtools</groupId>
329                 <artifactId>yang-data-composite-node</artifactId>
330                 <version>0.6.2-SNAPSHOT</version>
331             </dependency>
332             <dependency>
333                 <groupId>org.apache.maven</groupId>
334                 <artifactId>maven-core</artifactId>
335                 <version>3.0.5</version>
336             </dependency>
337             <dependency>
338                 <groupId>org.apache.maven</groupId>
339                 <artifactId>maven-plugin-api</artifactId>
340                 <version>3.0.5</version>
341             </dependency>
342             <dependency>
343                 <groupId>org.javassist</groupId>
344                 <artifactId>javassist</artifactId>
345                 <version>3.17.1-GA</version>
346             </dependency>
347             <dependency>
348                 <groupId>org.mockito</groupId>
349                 <artifactId>mockito-all</artifactId>
350                 <version>1.9.5</version>
351                 <scope>test</scope>
352             </dependency>
353             <dependency>
354                 <groupId>org.mockito</groupId>
355                 <artifactId>mockito-core</artifactId>
356                 <version>1.9.5</version>
357                 <scope>test</scope>
358             </dependency>
359             <dependency>
360                 <groupId>org.slf4j</groupId>
361                 <artifactId>slf4j-simple</artifactId>
362                 <version>1.7.2</version>
363                 <scope>test</scope>
364             </dependency>
365             <dependency>
366                 <groupId>org.slf4j</groupId>
367                 <artifactId>slf4j-api</artifactId>
368                 <version>1.7.2</version>
369             </dependency>
370             <dependency>
371                 <groupId>org.slf4j</groupId>
372                 <artifactId>slf4j-log4j12</artifactId>
373                 <version>1.7.2</version>
374             </dependency>
375             <dependency>
376                 <groupId>org.slf4j</groupId>
377                 <artifactId>log4j-over-slf4j</artifactId>
378                 <version>1.7.2</version>
379             </dependency>
380             <dependency>
381                 <groupId>xml-apis</groupId>
382                 <artifactId>xml-apis</artifactId>
383                 <version>2.0.2</version>
384             </dependency>
385             <dependency>
386                 <groupId>ch.qos.logback</groupId>
387                 <artifactId>logback-core</artifactId>
388                 <version>1.0.9</version>
389             </dependency>
390             <dependency>
391                 <groupId>com.google.guava</groupId>
392                 <artifactId>guava</artifactId>
393                 <version>14.0.1</version>
394             </dependency>
395             <dependency>
396                 <groupId>org.eclipse.xtend</groupId>
397                 <artifactId>org.eclipse.xtend.lib</artifactId>
398                 <version>2.4.3</version>
399             </dependency>
400             <dependency>
401                 <groupId>org.apache.commons</groupId>
402                 <artifactId>commons-lang3</artifactId>
403                 <version>3.1</version>
404             </dependency>
405             <dependency>
406                 <groupId>org.osgi</groupId>
407                 <artifactId>org.osgi.core</artifactId>
408                 <version>5.0.0</version>
409                 <scope>provided</scope>
410             </dependency>
411             <dependency>
412                 <groupId>commons-lang</groupId>
413                 <artifactId>commons-lang</artifactId>
414                 <version>2.6</version>
415             </dependency>
416             <dependency>
417                 <groupId>commons-codec</groupId>
418                 <artifactId>commons-codec</artifactId>
419                 <version>1.8</version>
420             </dependency>
421             <dependency>
422                 <groupId>com.google.code.findbugs</groupId>
423                 <artifactId>jsr305</artifactId>
424                 <version>2.0.3</version>
425             </dependency>
426             <dependency>
427                 <groupId>com.sun.jersey</groupId>
428                 <artifactId>jersey-client</artifactId>
429                 <version>1.17</version>
430             </dependency>
431             <dependency>
432                 <groupId>javax.ws.rs</groupId>
433                 <artifactId>javax.ws.rs-api</artifactId>
434                 <version>2.0</version>
435             </dependency>
436             <dependency>
437                 <groupId>javax.ws.rs</groupId>
438                 <artifactId>jsr311-api</artifactId>
439                 <version>1.1.1</version>
440             </dependency>
441
442             <dependency>
443                 <groupId>org.glassfish.jersey.ext</groupId>
444                 <artifactId>jersey-proxy-client</artifactId>
445                 <version>2.0</version>
446             </dependency>
447             <dependency>
448                 <groupId>org.glassfish.jersey.core</groupId>
449                 <artifactId>jersey-client</artifactId>
450                 <version>2.0</version>
451             </dependency>
452
453             <dependency>
454                 <groupId>commons-io</groupId>
455                 <artifactId>commons-io</artifactId>
456                 <version>2.4</version>
457             </dependency>
458
459             <dependency>
460                 <groupId>org.opendaylight.yangtools</groupId>
461                 <artifactId>restconf-client-api</artifactId>
462                 <version>${project.version}</version>
463             </dependency>
464             <dependency>
465                 <groupId>org.opendaylight.yangtools</groupId>
466                 <artifactId>restconf-common</artifactId>
467                 <version>${project.version}</version>
468             </dependency>
469             <dependency>
470                 <groupId>org.opendaylight.yangtools</groupId>
471                 <artifactId>restconf-util</artifactId>
472                 <version>${project.version}</version>
473             </dependency>
474             <dependency>
475                 <groupId>org.opendaylight.yangtools</groupId>
476                 <artifactId>restconf-test-service</artifactId>
477                 <version>${project.version}</version>
478             </dependency>
479             <dependency>
480                 <groupId>org.opendaylight.yangtools</groupId>
481                 <artifactId>restconf-client-impl</artifactId>
482                 <version>${project.version}</version>
483             </dependency>
484             <dependency>
485                 <groupId>org.opendaylight.yangtools</groupId>
486                 <artifactId>restconf-jaxrs-api</artifactId>
487                 <version>${project.version}</version>
488             </dependency>
489
490             <dependency>
491                 <groupId>org.opendaylight.yangtools</groupId>
492                 <artifactId>bug527-test-model</artifactId>
493                 <version>0.6.2-SNAPSHOT</version>
494                 <scope>test</scope>
495             </dependency>
496             <dependency>
497                 <groupId>org.opendaylight.yangtools</groupId>
498                 <artifactId>bug1196-test-model</artifactId>
499                 <version>0.6.2-SNAPSHOT</version>
500                 <scope>test</scope>
501             </dependency>
502
503             <dependency>
504                 <groupId>org.opendaylight.yangtools</groupId>
505                 <artifactId>websocket-client</artifactId>
506                 <version>${project.version}</version>
507             </dependency>
508
509             <dependency>
510                 <groupId>com.github.romix</groupId>
511                 <artifactId>java-concurrent-hash-trie-map</artifactId>
512                 <version>${ctrie.version}</version>
513             </dependency>
514             <dependency>
515                 <groupId>${project.groupId}</groupId>
516                 <artifactId>object-cache-api</artifactId>
517                 <version>${project.version}</version>
518             </dependency>
519             <dependency>
520                 <groupId>${project.groupId}</groupId>
521                 <artifactId>object-cache-guava</artifactId>
522                 <version>${project.version}</version>
523             </dependency>
524             <dependency>
525                 <groupId>${project.groupId}</groupId>
526                 <artifactId>object-cache-noop</artifactId>
527                 <version>${project.version}</version>
528             </dependency>
529             <dependency>
530                 <groupId>${project.groupId}</groupId>
531                 <artifactId>util</artifactId>
532                 <version>${project.version}</version>
533             </dependency>
534             <dependency>
535               <groupId>org.opendaylight.yangtools.model</groupId>
536               <artifactId>opendaylight-l2-types</artifactId>
537               <version>${opendaylight.l2.types.version}</version>
538             </dependency>
539             <dependency>
540               <groupId>org.opendaylight.yangtools.model</groupId>
541               <artifactId>yang-ext</artifactId>
542               <version>${yang.ext.version}</version>
543             </dependency>
544             <dependency>
545               <groupId>org.opendaylight.yangtools</groupId>
546               <artifactId>binding-type-provider</artifactId>
547               <version>${project.version}</version>
548             </dependency>
549             <dependency>
550               <groupId>org.opendaylight.yangtools</groupId>
551               <artifactId>yang-data-operations</artifactId>
552               <version>${project.version}</version>
553             </dependency>
554         </dependencies>
555     </dependencyManagement>
556
557     <dependencies>
558         <!-- Sonar -->
559         <dependency>
560             <groupId>org.codehaus.sonar-plugins.java</groupId>
561             <artifactId>sonar-jacoco-listeners</artifactId>
562             <version>${sonar-jacoco-listeners.version}</version>
563             <scope>test</scope>
564         </dependency>
565     </dependencies>
566
567     <build>
568         <pluginManagement>
569             <plugins>
570                 <plugin>
571                     <groupId>org.apache.maven.plugins</groupId>
572                     <artifactId>maven-jar-plugin</artifactId>
573                     <version>${maven.jar.version}</version>
574                     <configuration>
575                         <archive>
576                             <!--
577                                  Bundle OSGi Manifest created by maven-bundle-plugin
578                                  into a jar file
579                                  -->
580                             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
581                         </archive>
582                     </configuration>
583                 </plugin>
584                 <plugin>
585                     <groupId>org.apache.felix</groupId>
586                     <artifactId>maven-bundle-plugin</artifactId>
587                     <version>${maven.bundle.version}</version>
588                     <extensions>true</extensions>
589                     <executions>
590                         <execution>
591                             <id>bundle-manifest</id>
592                             <phase>process-classes</phase>
593                             <goals>
594                                 <goal>manifest</goal>
595                             </goals>
596                         </execution>
597                     </executions>
598                 </plugin>
599                 <plugin>
600                     <groupId>org.apache.maven.plugins</groupId>
601                     <artifactId>maven-failsafe-plugin</artifactId>
602                     <configuration>
603                         <!-- Specific to generate mapping between tests and covered code -->
604                         <argLine>${jacoco.agent.it.arg}</argLine>
605                         <properties>
606                             <property>
607                                 <name>listener</name>
608                                 <value>org.sonar.java.jacoco.JUnitListener</value>
609                             </property>
610                         </properties>
611                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
612                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
613                     </configuration>
614                 </plugin>
615                 <plugin>
616                     <groupId>org.apache.maven.plugins</groupId>
617                     <artifactId>maven-surefire-plugin</artifactId>
618                     <configuration>
619                         <!-- Specific to generate mapping between tests and covered code -->
620                         <argLine>${jacoco.agent.ut.arg}</argLine>
621                         <properties>
622                             <property>
623                                 <name>listener</name>
624                                 <value>org.sonar.java.jacoco.JUnitListener</value>
625                             </property>
626                         </properties>
627                     </configuration>
628                 </plugin>
629
630                 <plugin>
631                     <groupId>org.eclipse.m2e</groupId>
632                     <artifactId>lifecycle-mapping</artifactId>
633                     <version>1.0.0</version>
634                     <configuration>
635                         <lifecycleMappingMetadata>
636                             <pluginExecutions>
637                                 <pluginExecution>
638                                     <pluginExecutionFilter>
639                                         <groupId>org.apache.felix</groupId>
640                                         <artifactId>maven-bundle-plugin</artifactId>
641                                         <versionRange>[1.0,)</versionRange>
642                                         <goals>
643                                             <goal>manifest</goal>
644                                         </goals>
645                                     </pluginExecutionFilter>
646                                     <action>
647                                         <execute />
648                                     </action>
649                                 </pluginExecution>
650                                 <pluginExecution>
651                                     <pluginExecutionFilter>
652                                         <groupId>org.apache.maven.plugins</groupId>
653                                         <artifactId>maven-antrun-plugin</artifactId>
654                                         <versionRange>[1.0,)</versionRange>
655                                         <goals>
656                                             <goal>run</goal>
657                                         </goals>
658                                     </pluginExecutionFilter>
659                                     <action>
660                                         <execute/>
661                                     </action>
662                                 </pluginExecution>
663                                 <pluginExecution>
664                                     <pluginExecutionFilter>
665                                         <groupId>org.opendaylight.yangtools</groupId>
666                                         <artifactId>yang-maven-plugin</artifactId>
667                                         <versionRange>[0.5,)</versionRange>
668                                         <goals>
669                                             <goal>generate-sources</goal>
670                                         </goals>
671                                      </pluginExecutionFilter>
672                                      <action>
673                                          <ignore />
674                                      </action>
675                                  </pluginExecution>
676                                  <pluginExecution>
677                                     <pluginExecutionFilter>
678                                         <groupId>org.codehaus.mojo</groupId>
679                                         <artifactId>properties-maven-plugin</artifactId>
680                                         <versionRange>1.0-alpha-2</versionRange>
681                                         <goals>
682                                             <goal>write-project-properties</goal>
683                                         </goals>
684                                      </pluginExecutionFilter>
685                                      <action>
686                                          <ignore />
687                                      </action>
688                                  </pluginExecution>
689                                  <pluginExecution>
690                                     <pluginExecutionFilter>
691                                         <groupId>org.ops4j.pax.exam</groupId>
692                                         <artifactId>maven-paxexam-plugin</artifactId>
693                                         <versionRange>1.2.4</versionRange>
694                                         <goals>
695                                             <goal>generate-depends-file</goal>
696                                         </goals>
697                                      </pluginExecutionFilter>
698                                      <action>
699                                          <ignore />
700                                      </action>
701                                  </pluginExecution>
702                                  <pluginExecution>
703                                     <pluginExecutionFilter>
704                                         <groupId>org.jacoco</groupId>
705                                         <artifactId>jacoco-maven-plugin</artifactId>
706                                         <versionRange>[0.6,)</versionRange>
707                                         <goals>
708                                             <goal>prepare-agent</goal>
709                                         </goals>
710                                      </pluginExecutionFilter>
711                                      <action>
712                                          <ignore/>
713                                      </action>
714                                  </pluginExecution>
715                             </pluginExecutions>
716                         </lifecycleMappingMetadata>
717                     </configuration>
718                 </plugin>
719                 <plugin>
720                     <groupId>org.opendaylight.yangtools</groupId>
721                     <artifactId>yang-maven-plugin</artifactId>
722                     <version>0.6.2-SNAPSHOT</version>
723                     <executions>
724                         <execution>
725                             <goals>
726                                 <goal>generate-sources</goal>
727                             </goals>
728                             <configuration>
729                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
730                                 <codeGenerators>
731                                     <generator>
732                                         <codeGeneratorClass>
733                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
734                                         </codeGeneratorClass>
735                                         <outputBaseDir>
736                                             target/generated-sources/sal
737                                         </outputBaseDir>
738                                     </generator>
739                                     <generator>
740                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
741                                         <outputBaseDir>target/site/restconf</outputBaseDir>
742                                     </generator>
743                                     <generator>
744                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
745                                         <outputBaseDir>target/site/restconf</outputBaseDir>
746                                     </generator>
747                                 </codeGenerators>
748                                 <inspectDependencies>true</inspectDependencies>
749                             </configuration>
750                         </execution>
751                     </executions>
752                     <dependencies>
753                         <dependency>
754                             <groupId>org.opendaylight.yangtools</groupId>
755                             <artifactId>maven-sal-api-gen-plugin</artifactId>
756                             <version>0.6.2-SNAPSHOT</version>
757                             <type>jar</type>
758                         </dependency>
759                     </dependencies>
760                 </plugin>
761                 <plugin>
762                     <groupId>org.ops4j.pax.exam</groupId>
763                     <artifactId>maven-paxexam-plugin</artifactId>
764                     <version>1.2.4</version>
765                     <executions>
766                         <execution>
767                             <id>generate-config</id>
768                             <goals>
769                                 <goal>generate-depends-file</goal>
770                             </goals>
771                         </execution>
772                     </executions>
773                 </plugin>
774                 <plugin>
775                     <groupId>org.apache.maven.plugins</groupId>
776                     <artifactId>maven-javadoc-plugin</artifactId>
777                     <version>${maven.javadoc.version}</version>
778                     <configuration>
779                         <stylesheetfile>stylesheet.css</stylesheetfile>
780                     </configuration>
781                     <executions>
782                         <execution>
783                             <id>attach-javadocs</id>
784                             <goals>
785                                 <goal>jar</goal>
786                             </goals>
787                         </execution>
788                         <execution>
789                             <goals>
790                                 <goal>aggregate</goal>
791                             </goals>
792                             <phase>site</phase>
793                         </execution>
794                     </executions>
795                 </plugin>
796                 <plugin>
797                     <groupId>org.codehaus.mojo</groupId>
798                     <artifactId>build-helper-maven-plugin</artifactId>
799                     <version>1.8</version>
800                     <executions>
801                         <execution>
802                             <phase>generate-sources</phase>
803                             <goals>
804                                 <goal>add-source</goal>
805                             </goals>
806                             <configuration>
807                                 <sources>
808                                     <source>target/generated-sources/parser</source>
809                                     <source>target/generated-sources/sal</source>
810                                     <source>${basedir}/src/main/xtend-gen</source>
811                                 </sources>
812                             </configuration>
813                         </execution>
814                     </executions>
815                 </plugin>
816             </plugins>
817         </pluginManagement>
818
819         <plugins>
820             <!--
821             <plugin>
822                 <groupId>org.apache.maven.plugins</groupId>
823                 <artifactId>maven-enforcer-plugin</artifactId>
824                 <version>1.0</version>
825                 <executions>
826                     <execution>
827                         <id>enforce</id>
828                         <configuration>
829                             <rules>
830                                 <DependencyConvergence />
831                             </rules>
832                         </configuration>
833                         <goals>
834                             <goal>enforce</goal>
835                         </goals>
836                     </execution>
837                 </executions>
838             </plugin>
839             -->
840             <plugin>
841                 <groupId>org.eclipse.xtend</groupId>
842                 <artifactId>xtend-maven-plugin</artifactId>
843                 <version>${xtend.version}</version>
844                 <executions>
845                     <execution>
846                         <goals>
847                             <goal>compile</goal>
848                         </goals>
849                         <configuration>
850                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
851                         </configuration>
852                     </execution>
853                 </executions>
854             </plugin>
855             <plugin>
856                 <artifactId>maven-clean-plugin</artifactId>
857                 <version>2.5</version>
858                 <configuration>
859                     <filesets>
860                         <fileset>
861                             <directory>${basedir}/src/main/xtend-gen</directory>
862                             <includes>
863                                 <include>**</include>
864                             </includes>
865                         </fileset>
866                     </filesets>
867                 </configuration>
868             </plugin>
869             <plugin>
870                 <groupId>org.apache.maven.plugins</groupId>
871                 <artifactId>maven-jar-plugin</artifactId>
872             </plugin>
873             <plugin>
874                 <groupId>org.apache.felix</groupId>
875                 <artifactId>maven-bundle-plugin</artifactId>
876             </plugin>
877             <plugin>
878                 <groupId>org.apache.maven.plugins</groupId>
879                 <artifactId>maven-source-plugin</artifactId>
880                 <version>${maven.source.version}</version>
881                 <executions>
882                     <execution>
883                         <id>attach-sources</id>
884                         <goals>
885                             <goal>jar</goal>
886                         </goals>
887                     </execution>
888                 </executions>
889             </plugin>
890             <plugin>
891                 <groupId>org.apache.maven.plugins</groupId>
892                 <artifactId>maven-javadoc-plugin</artifactId>
893             </plugin>
894             <plugin>
895                 <groupId>org.jacoco</groupId>
896                 <artifactId>jacoco-maven-plugin</artifactId>
897                 <executions>
898                     <execution>
899                         <id>prepare-ut-agent</id>
900                         <phase>process-test-classes</phase>
901                         <goals>
902                             <goal>prepare-agent</goal>
903                         </goals>
904                         <configuration>
905                             <destFile>${sonar.jacoco.reportPath}</destFile>
906                             <propertyName>jacoco.agent.ut.arg</propertyName>
907                         </configuration>
908                     </execution>
909                     <execution>
910                         <id>prepare-it-agent</id>
911                         <phase>pre-integration-test</phase>
912                         <goals>
913                             <goal>prepare-agent</goal>
914                         </goals>
915                         <configuration>
916                             <destFile>${sonar.jacoco.itReportPath}</destFile>
917                             <propertyName>jacoco.agent.it.arg</propertyName>
918                         </configuration>
919                     </execution>
920                 </executions>
921             </plugin>
922         </plugins>
923     </build>
924
925     <reporting>
926         <plugins>
927             <plugin>
928                 <groupId>org.codehaus.mojo</groupId>
929                 <artifactId>findbugs-maven-plugin</artifactId>
930                 <version>${findbugs.maven.plugin.version}</version>
931                 <configuration>
932                     <effort>Max</effort>
933                     <threshold>Low</threshold>
934                     <goal>site</goal>
935                 </configuration>
936             </plugin>
937             <plugin>
938                 <groupId>org.codehaus.mojo</groupId>
939                 <artifactId>jdepend-maven-plugin</artifactId>
940                 <version>${jdepend.maven.plugin.version}</version>
941             </plugin>
942         </plugins>
943     </reporting>
944     <repositories>
945         <!-- OpenDayLight Repo Mirror -->
946         <repository>
947             <id>opendaylight-mirror</id>
948             <name>opendaylight-mirror</name>
949             <url>http://nexus.opendaylight.org/content/groups/public/</url>
950             <snapshots>
951                 <enabled>false</enabled>
952             </snapshots>
953             <releases>
954                 <enabled>true</enabled>
955                 <updatePolicy>never</updatePolicy>
956             </releases>
957         </repository>
958
959         <!-- OpenDayLight Snapshot artifact -->
960         <repository>
961             <id>opendaylight-snapshot</id>
962             <name>opendaylight-snapshot</name>
963             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
964             <snapshots>
965                 <enabled>true</enabled>
966             </snapshots>
967             <releases>
968                 <enabled>false</enabled>
969             </releases>
970         </repository>
971     </repositories>
972 </project>