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                             </pluginExecutions>
605                         </lifecycleMappingMetadata>
606                     </configuration>
607                 </plugin>
608                 <plugin>
609                     <groupId>org.codehaus.mojo</groupId>
610                     <artifactId>build-helper-maven-plugin</artifactId>
611                     <version>1.8</version>
612                 </plugin>
613                 <plugin>
614                     <groupId>org.opendaylight.yangtools</groupId>
615                     <artifactId>yang-maven-plugin</artifactId>
616                     <version>0.6.2-SNAPSHOT</version>
617                     <executions>
618                         <execution>
619                             <goals>
620                                 <goal>generate-sources</goal>
621                             </goals>
622                             <configuration>
623                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
624                                 <codeGenerators>
625                                     <generator>
626                                         <codeGeneratorClass>
627                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
628                                         </codeGeneratorClass>
629                                         <outputBaseDir>
630                                             target/generated-sources/sal
631                                         </outputBaseDir>
632                                     </generator>
633                                     <generator>
634                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
635                                         <outputBaseDir>target/site/restconf</outputBaseDir>
636                                     </generator>
637                                     <generator>
638                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
639                                         <outputBaseDir>target/site/restconf</outputBaseDir>
640                                     </generator>
641                                 </codeGenerators>
642                                 <inspectDependencies>true</inspectDependencies>
643                             </configuration>
644                         </execution>
645                     </executions>
646                     <dependencies>
647                         <dependency>
648                             <groupId>org.opendaylight.yangtools</groupId>
649                             <artifactId>maven-sal-api-gen-plugin</artifactId>
650                             <version>0.6.2-SNAPSHOT</version>
651                             <type>jar</type>
652                         </dependency>
653                     </dependencies>
654                 </plugin>
655                 <plugin>
656                     <groupId>org.ops4j.pax.exam</groupId>
657                     <artifactId>maven-paxexam-plugin</artifactId>
658                     <version>1.2.4</version>
659                     <executions>
660                         <execution>
661                             <id>generate-config</id>
662                             <goals>
663                                 <goal>generate-depends-file</goal>
664                             </goals>
665                         </execution>
666                     </executions>
667                 </plugin>
668                 <plugin>
669                     <groupId>org.apache.maven.plugins</groupId>
670                     <artifactId>maven-javadoc-plugin</artifactId>
671                     <version>${maven.javadoc.version}</version>
672                     <configuration>
673                         <stylesheetfile>stylesheet.css</stylesheetfile>
674                     </configuration>
675                     <executions>
676                         <execution>
677                             <id>attach-javadocs</id>
678                             <goals>
679                                 <goal>jar</goal>
680                             </goals>
681                         </execution>
682                         <execution>
683                             <goals>
684                                 <goal>aggregate</goal>
685                             </goals>
686                             <phase>site</phase>
687                         </execution>
688                     </executions>
689                 </plugin>
690             </plugins>
691         </pluginManagement>
692
693         <plugins>
694             <!--
695             <plugin>
696                 <groupId>org.apache.maven.plugins</groupId>
697                 <artifactId>maven-enforcer-plugin</artifactId>
698                 <version>1.0</version>
699                 <executions>
700                     <execution>
701                         <id>enforce</id>
702                         <configuration>
703                             <rules>
704                                 <DependencyConvergence />
705                             </rules>
706                         </configuration>
707                         <goals>
708                             <goal>enforce</goal>
709                         </goals>
710                     </execution>
711                 </executions>
712             </plugin>
713             -->
714             <plugin>
715                 <groupId>org.eclipse.xtend</groupId>
716                 <artifactId>xtend-maven-plugin</artifactId>
717                 <version>${xtend.version}</version>
718                 <executions>
719                     <execution>
720                         <goals>
721                             <goal>compile</goal>
722                         </goals>
723                         <configuration>
724                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
725                         </configuration>
726                     </execution>
727                 </executions>
728             </plugin>
729             <plugin>
730                 <artifactId>maven-clean-plugin</artifactId>
731                 <version>2.5</version>
732                 <configuration>
733                     <filesets>
734                         <fileset>
735                             <directory>${basedir}/src/main/xtend-gen</directory>
736                             <includes>
737                                 <include>**</include>
738                             </includes>
739                         </fileset>
740                     </filesets>
741                 </configuration>
742             </plugin>
743             <plugin>
744                 <groupId>org.apache.maven.plugins</groupId>
745                 <artifactId>maven-jar-plugin</artifactId>
746             </plugin>
747             <plugin>
748                 <groupId>org.apache.felix</groupId>
749                 <artifactId>maven-bundle-plugin</artifactId>
750             </plugin>
751             <plugin>
752                 <groupId>org.apache.maven.plugins</groupId>
753                 <artifactId>maven-source-plugin</artifactId>
754                 <version>${maven.source.version}</version>
755                 <executions>
756                     <execution>
757                         <id>attach-sources</id>
758                         <goals>
759                             <goal>jar</goal>
760                         </goals>
761                     </execution>
762                 </executions>
763             </plugin>
764             <plugin>
765                 <groupId>org.apache.maven.plugins</groupId>
766                 <artifactId>maven-javadoc-plugin</artifactId>
767             </plugin>
768         </plugins>
769     </build>
770
771     <reporting>
772         <plugins>
773             <plugin>
774                 <groupId>org.codehaus.mojo</groupId>
775                 <artifactId>findbugs-maven-plugin</artifactId>
776                 <version>${findbugs.maven.plugin.version}</version>
777                 <configuration>
778                     <effort>Max</effort>
779                     <threshold>Low</threshold>
780                     <goal>site</goal>
781                 </configuration>
782             </plugin>
783             <plugin>
784                 <groupId>org.codehaus.mojo</groupId>
785                 <artifactId>jdepend-maven-plugin</artifactId>
786                 <version>${jdepend.maven.plugin.version}</version>
787             </plugin>
788         </plugins>
789     </reporting>
790     <repositories>
791         <!-- OpenDayLight Repo Mirror -->
792         <repository>
793             <id>opendaylight-mirror</id>
794             <name>opendaylight-mirror</name>
795             <url>http://nexus.opendaylight.org/content/groups/public/</url>
796             <snapshots>
797                 <enabled>false</enabled>
798             </snapshots>
799             <releases>
800                 <enabled>true</enabled>
801                 <updatePolicy>never</updatePolicy>
802             </releases>
803         </repository>
804
805         <!-- OpenDayLight Snapshot artifact -->
806         <repository>
807             <id>opendaylight-snapshot</id>
808             <name>opendaylight-snapshot</name>
809             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
810             <snapshots>
811                 <enabled>true</enabled>
812             </snapshots>
813             <releases>
814                 <enabled>false</enabled>
815             </releases>
816         </repository>
817     </repositories>
818 </project>