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